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

agents-dojo

v0.1.11

Published

A2A-compatible Agent framework built on Claude Code SDK

Readme

AgentsDojo

A Claude Code SDK-based Agent framework with A2A protocol support and a pixel-art Monitor GUI.

Quick Start

npm install -g agents-dojo

# Create a project with a sample agent
mkdir my-project && cd my-project
agents-dojo init

# Start the server
agents-dojo

Creating Agents

Each agent lives in its own directory under agents/. The only required file is manifest.jsonc.

agents/my-agent/
├── manifest.jsonc          # required — agent identity, model, A2A card
├── context.md              # optional — custom system prompt
└── CLAUDE.md               # optional — extra rules and constraints

See agents/_template_echo/ for a complete manifest reference.

context.md — Custom System Prompt

context.md controls the agent's system prompt:

  • Without context.md: The agent uses Claude Code's built-in default system prompt. This is ideal for code-related agents — they get full programming capabilities (file editing, bash, code analysis, etc.) out of the box.

  • With context.md: The file content replaces the default system prompt entirely. Use this for agents whose role has nothing to do with coding — e.g. a chef, poet, or customer support agent. You define the persona, behavior rules, and output format from scratch.

CLAUDE.md — Extra Rules and Constraints

CLAUDE.md is loaded automatically by the Claude Code SDK (not by AgentsDojo). It appends to whatever system prompt is active — whether the default or a custom context.md.

Use CLAUDE.md for:

  • Project-specific rules ("always use TypeScript", "never delete files")
  • Coding conventions and style guides
  • Build/test commands the agent should know about
  • Safety constraints and guardrails
agents/code-reviewer/
├── manifest.jsonc          # identity
└── CLAUDE.md               # "Review for security issues. Run `npm test` after changes."

agents/poet/
├── manifest.jsonc          # identity
├── context.md              # "You are Poet Luna, a lyrical poet..."
└── CLAUDE.md               # "Always respond in English. Keep poems under 20 lines."

Monitor GUI

The Monitor GUI starts automatically when you run agents-dojo. It picks a free port for the WebSocket and launches the Vite dev server (installing dependencies on first run). The GUI URL is printed to the console.

agents-dojo                       # monitor starts automatically
agents-dojo --monitor-port=9000   # use a specific WS port
agents-dojo --no-monitor          # disable the monitor

Chat with Agents

Users can talk to agents via btw-style one-shot chat. This forks the agent's current session (preserving context), disables all tools (text-only reply), and discards the fork afterward — the main session is never affected.

# CLI
agents-dojo chat <agentId> <message>

# REST API
curl -X POST http://localhost:41241/btw/<agentId> \
  -H "Content-Type: application/json" \
  -d '{"message": "your question"}'

# Monitor GUI: click an agent sprite → Chat

Architecture

  • Framework (src/): A2A server, Claude Code SDK bridge, monitor event bus
  • Monitor (monitor/): React + Pixi.js GUI

Testing

npm test              # unit + component + integration
npm run test:e2e      # E2E (requires ANTHROPIC_API_KEY)

License

MIT