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

openbot

v0.4.0

Published

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="logo-white.svg"> <img src="logo-black.svg" width="200" alt="OpenBot Logo" /> </picture> </p>

Readme

OpenBot is a local-first harness for running AI agents. It is built around a small event API, local file storage, and a Melony-powered runtime that routes events to agents and plugins.

What It Does

  • Runs a local agent server.
  • Stores channels, threads, agents, plugins, config, and variables under ~/.openbot.
  • Ships with a built-in system agent named OpenBot (orchestrator, includes the LLM runtime).
  • Ships with a built-in state agent for deterministic, non-LLM handling (e.g. /api/state defaults).
  • Loads custom agents from ~/.openbot/agents/<agent-id>/AGENT.md.
  • Loads shared plugins from ~/.openbot/plugins.
  • Streams events to clients with Server-Sent Events.

Quick Start

Requires Node.js >=20.12.0.

npm i -g openbot
openbot start

The server listens on http://localhost:4132 by default. Set a different port with:

openbot start --port 3000

For local development:

npm install
npm run dev

API

OpenBot intentionally keeps the public API small:

  • GET /api/events opens an SSE stream for a channel or thread.
  • POST /api/publish publishes an event into the harness (defaults to the built-in system agent with the OpenBot / LLM runtime).
  • GET /api/state runs an event and returns the resulting events without opening a stream (defaults to the built-in state agent: storage-oriented plugins, no LLM).

You can override the agent with agentId (header, query, or body where applicable).

Example:

curl -X POST http://localhost:4132/api/publish \
  -H "content-type: application/json" \
  -d '{"type":"agent:invoke","data":{"role":"user","content":"hello"}}'

Useful context can be passed as headers, query params, or body fields:

  • channelId
  • threadId
  • agentId
  • runId

Configuration

OpenBot reads config from ~/.openbot/config.json.

{
  "port": 4132,
  "baseDir": "~/.openbot",
  "model": "openai/gpt-4o-mini"
}

Variables are read from ~/.openbot/variables.json and applied to the server process environment on startup.

Agents

The built-in system agent is always available. Add a custom agent by creating ~/.openbot/agents/<agent-id>/AGENT.md:

---
name: Researcher
description: Helps collect and summarize information.
plugins:
  - id: openbot
    config:
      model: openai/gpt-4o-mini
  - id: storage
---

You are a careful research assistant.
Summarize findings clearly and cite sources when available.

Agents are discovered from disk when the server starts.

Plugins

Built-in plugins include:

  • storage-tools
  • delegation
  • openbot

Shared plugins can be placed in ~/.openbot/plugins and referenced by agents.

Project Layout

  • src/app: CLI, server, event types, and app config.
  • src/harness: orchestration and process helpers.
  • src/plugins: built-in plugin implementations.
  • src/services: local storage service.
  • src/registry: plugin registry.
  • docs: architecture, agents, and plugin notes.

Learn More

Need help or want to share feedback? Join the community on Discord: https://discord.gg/XYYXvN2ebB