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 🙏

© 2026 – Pkg Stats / Ryan Hefner

agent88

v1.2.0

Published

Agent88 is an open source AI infrastructure framework designed to help developers build production-ready AI agents with ease.

Readme

Agent88

Think of it like Express.js—but for modular AI Agents.

Agent88 is an open-source AI infrastructure framework designed to help developers build production-ready AI agents with ease.


Why Agent88 Exists

The AI ecosystem today is fragmented. Building an agent involves wiring together API calls, manually tracking token usage, parsing raw tool invocations, and hacking together loops. Agent88 abstracts the heavy lifting so you can focus on building true intelligence and orchestrating your business logic.

We separate the execution layer, memory layers, and LLM models from your agent definition so you can swap out infrastructure without rewriting your app.


Features

  • Clean Agent API: Simple, developer-first orchestration of complex ML layers.
  • Execution Engine Loop: Automatically handles recursive LLM reasoning, detects intent, and controls iteration counts.
  • Tool Execution (Plugins): A strict Tool Registry enabling seamless multi-action capability execution natively via robust JSONSchemas.
  • Agent Graph Orchestration: Compose multiple agents into directed acyclic graphs via AgentGraph — chain specialized agents with add(), connect(), and run().
  • Model Adapter Abstraction: Decoupled from direct providers. Swap OpenAI for local models via the BaseModel interface.
  • Memory Layer Abstraction: Context-aware interactions via MemoryAdapter interfaces (In-Memory and Redis extensible).
  • Streaming Support: Real-time conversational text yielding via agent.stream().
  • Middleware Pipeline: Express/Koa style Onion routing using agent.use() to intercept, guardrail, modify, or observe executions.
  • Observability: Built-in Trace system for recording and extracting robust timings and model interaction metrics natively.

Installation

npm install agent88 openai @google/generative-ai

(Agent88 uses a pluggable adapter pattern. openai is required for OpenAIModel, and @google/generative-ai is required for GeminiModel.)


Quick Start

A complete agent execution in under 10 lines of code.

import { Agent, OpenAIModel, GeminiModel } from "agent88";

// You can use OpenAI...
const agent = new Agent({
  model: new OpenAIModel(process.env.OPENAI_API_KEY!)
});

// ...or Google Gemini!
const geminiAgent = new Agent({
  model: new GeminiModel(process.env.GEMINI_API_KEY!)
});

const result = await agent.run("Explain AI agents simply.");
console.log(result);

Examples

We firmly believe frameworks grow through examples. You can find ready-to-run agents in our repository's examples/ directory:

  • 🟢 examples/basic-agent/index.ts — The massive 10-line minimum viability implementation.
  • 🚀 examples/gemini-agent/index.ts — A basic agent utilizing Google's Gemini models.
  • 🛠️ examples/tool-agent/weather-agent.ts — An agent that detects when to trigger a weather-lookup tool to fulfill requests.
  • 🧠 examples/memory-agent/chat-agent.ts — A streaming, persistent conversational agent utilizing the In-Memory cache adapter.
  • 📋 examples/tool-agent/planner-agent.ts — A multi-iteration task tracking agent doing chain-of-thought tool execution.
  • 🔀 examples/graph-agent/graph-agent.ts — A multi-agent pipeline chaining research → analysis → summary via AgentGraph.

Run them instantly:

npx tsx examples/basic-agent/index.ts

For more details on what each does, read the Usage Examples Guide.


Documentation & Architecture

Explore our detailed guides:

  • 🚀 Getting Started — Installation, tools, and multi-turn sessions.
  • 📖 Architecture — Internals, Execution Engine, tool extraction, and Onion Routing middleware.

Roadmap

Agent88 is in active development.

| Version | Focus | Status | | ---------- | ----------------------------------------------------------------- | ------------- | | v1.0.1 | Single Agent Core (Execution, Tools, Memory, Middleware, Tracing) | ✅ Shipped | | v1.1.0 | Agent Graph Orchestration (AgentGraph) | ✅ Shipped | | v1.2.0 | Model Adapter Expansion (Gemini ✅, Anthropic 🔜, Ollama 🔜) | 🚧 In Progress | | v1.3.0 | Observability & Debugging | Planned | | v1.4.0 | Plugin Ecosystem | Planned |

View the full Engineering Roadmap.


Contributing

We welcome community contributions! Agent88 is designed to be highly modular. The easiest way to get involved is by building Tools, Model Adapters, or Memory Adapters.

Please see our Contributing Guide and Code of Conduct for details on setting up your local environment and submitting PRs.


Author

Victor Okon Development Practice Lead at Enbros | Founder, Maigie