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

openswarm

v0.3.9

Published

OpenSwarm multi-agent coding CLI: one agent is a tool, N coordinated agents are the product. Built on Anthropic's Claude Agent SDK with swarm/team orchestration, multi-provider support, and a Bun-native interactive TUI.

Readme


OpenSwarm is a multi-agent-first coding CLI: launch a team of agents on one task, watch every member work in a live board, and steer them mid-run — all from your terminal. One agent is a tool; N coordinated agents is the product.

Installation

npm install -g openswarm      # global `openswarm` command
npx openswarm "explain this codebase"   # or run on demand

Requires Node.js >= 22. Installing pulls a self-contained, prebuilt binary for your platform (macOS arm64/x64, Linux x64) that bundles the interactive TUI — no Bun install needed. Other platforms still run every headless, swarm, ACP, and API path. Prefer a single file? Grab a standalone binary from GitHub Releases. Build from source with Bun >= 1.3.8: bun install && bun run build.

Authentication

OpenSwarm stores zero credentials — it reads what's already in your environment or keychain.

export ANTHROPIC_API_KEY=sk-ant-...   # API billing
claude auth login                     # Claude Max subscription (via Anthropic's own CLI)
claude setup-token                    # CI / headless → CLAUDE_CODE_OAUTH_TOKEN

Other providers use plain API-key env vars — OpenAI, xAI, Google, DashScope. ChatGPT Plus/Pro works via --framework codex-native. Team members can mix providers, so peers on Claude Max, ChatGPT Plus, and direct API keys collaborate in one team.

Quickstart

# Single agent, interactive
openswarm "explain this codebase"

# A team of agents — no YAML, built-in presets (review | fix | refactor)
openswarm team start review --detach

# Watch the swarm live, then steer it mid-run (from another shell)
openswarm team watch review
openswarm team send review "also check error handling"
openswarm team stop review            # graceful drain when done

team watch renders a live multi-pane board: every member gets a [role] lane with inline edit diffs, per-member tok · $, and a running Σ team cost ledger, while a shared task board flips ◐→● as work lands.

Multi-agent teams

Beyond the built-in presets, teams are defined as OpenTeams YAML templates or inline TeamSpec files, across six topologies:

fanout · pipeline · peer-team · coordinator · committee · critic-loop

openswarm topology peer-team --spec ./team.yaml --git-cascade

--git-cascade gives each member its own git worktree so parallel agents edit files without stomping each other, then auto-merges to a target branch. Full topology catalog, TeamSpec schema, and daemon commands (team list/logs/status/stop) are in docs/25-team-orchestration.md.

Editor integration (ACP)

OpenSwarm speaks the Agent Client Protocol, so it runs as an agent inside editors like Zed. Add to Zed's settings.json:

{ "agent_servers": { "openswarm": { "command": "openswarm", "args": ["acp"] } } }

Each ACP session is a coordinator team: you converse with a long-lived lead that spawns peers, and every member's tool calls surface [role]-attributed with inline diffs. Details in docs/36-meta-swarm-convention.md.

Tools & extensibility

Fourteen built-in Tier-0 tools (bash, read_file, edit_file, multi_edit, apply_patch, glob, grep, shell sessions, memory, and more), plus swarm tools for team members (agent, send_message, task graph, commit_changes). Extend via plugins, MCP servers, skills, and hooks. Run openswarm --help for all flags, or openswarm doctor for a health check. Full flag, model-routing, tool, and provider reference is in docs/USAGE.md.

Documentation

Full CLI reference (flags, models, tools, limitations, architecture) is in docs/USAGE.md. Design docs live in docs/ — start with the vision, architecture, team orchestration, and tool tiers.

Contributing

bun install          # install dependencies
bun run build        # type-check + bundle
npm test             # vitest suite (3,500+ tests)

Both lockfiles are tracked deliberately: package-lock.json is canonical (CI uses npm ci); bun.lock feeds the compiled-binary build — resync with bun install --lockfile-only after any dependency change. See CONTRIBUTING.md and CLAUDE.md. File issues at github.com/alexngai/openswarm/issues.

License

MIT © Alex Ngai