npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@fragola-ai/agentic-sdk-core

v0.2.2-a

Published

Fragola is a 100% OpenAI-compatible library for building AI-first software with minimal abstractions. Fragola help you create software such as programming assistants, vertical AI SaaS products, and automation workflows through an event-driven architecture

Readme

Fragola Agentic SDK

Build AI Agents Your Way

Fragola is an event‑driven SDK for building AI‑first software and custom agents. It focuses on composable primitives, predictable state, and production‑ready patterns for orchestrating AI tools and workflows.

Status: Under construction 🚧 – first public beta releases coming soon. 🧪

  • 🌐 Website: https://fragola.ai
  • 📚 Docs: https://docs.fragola.ai

Key Features

  • [x] ⚙️ Core primitives: Define agents, tools, events, and state transitions as first‑class building blocks instead of ad‑hoc prompts and handlers.
  • [x] 📡 Event‑driven model: Drive your agents through explicit events (user messages, tool results, system triggers) for easier debugging and observability.
  • [x] 🧩 Lightweight and extensible: Bring only what you need; extend primitives to match your product’s architecture and domain.
  • [x] 🏭 Production‑ready focus: Built for long‑running agents, real‑world error handling, and integration into existing backends and UIs.

Built‑in Hook Presets 🔌

Fragola ships with ready‑made “hook presets” for common patterns:

  • mcpClient: Connect to remote or local MCP servers and expose their tools to your agents.
  • orchestration: Coordinate multiple specialized agents that can communicate and collaborate on a task.
  • guardrail: Validate user messages against unwanted or unsafe content and reject them with a clear reason.
  • fileSystemSave: Persist conversations and state to the filesystem on Node.js‑like runtimes.

Getting Started 📦

The SDK is not yet publicly released. We’re finalizing APIs and examples and will publish:

  • An installable package: @fragola-ai/agentic-sdk-core
  • Full quickstart guides and recipes
  • Integration examples for popular runtimes and frameworks

Quickstart Example

Install the SDK:

npm install @fragola-ai/agentic-sdk-core

Create a simple agent that responds to user messages:

import { Fragola } from "@fragola-ai/agentic-sdk-core";

const fragola = new Fragola({
	apiKey: process.env.OPENAI_API_KEY, // Can also be set in your environment
	model: "gpt-4o-mini"
});

const agent = fragola.agent({
	name: "QuickstartAgent",
	description: "My first Fragola agent",
	instructions: "You are a helpful and concise assistant."
});

const state = await agent.userMessage({
	content: "Hello! What can you do?"
});

console.log(state.messages); // Full conversation history