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

@katyella/legio

v0.3.6

Published

Multi-agent orchestration for Claude Code — spawn worker agents in git worktrees via tmux, coordinate through SQLite mail, merge with tiered conflict resolution

Readme

Legio

npm CI License: MIT Node GitHub release

Turn one Claude Code session into a multi-agent fleet.

Claude Code is powerful — but it works one task at a time. One agent, one context window, one thread of execution.

Legio changes that. It spawns specialized agents in isolated git worktrees, coordinates them through a typed SQLite messaging system, and merges their work back automatically. Your session becomes the orchestrator. The agents do the work in parallel.

  • Parallel execution — 5-10 agents working simultaneously, each in its own tmux session
  • Conflict-free isolation — every agent in its own git worktree with exclusive file ownership
  • Structured coordination — typed SQLite mail system with protocol-level message types, not ad-hoc prompts
  • Automatic merge pipeline — FIFO queue with 4-tier conflict resolution
  • Real-time visibility — browser dashboard shows every agent's status, cost, and output live
  • Tiered health monitoring — mechanical watchman catches stalls and crashes before you do

Heads up: Multi-agent swarms burn through tokens fast — a single session can push the limits of a 20x Max Claude subscription.

See It in Action

Quick Start

cd your-project

# Bootstrap everything — init, start server, open browser
legio up

# Verify setup is healthy
legio doctor

# When you're done, shut it all down
legio down

How It Works

CLAUDE.md + hooks + the legio CLI turn your Claude Code session into a multi-agent orchestrator:

  1. You chat with the Gateway agent, which decomposes your request into issues on the Task Board
  2. The Coordinator reads the board and dispatches Team Leads, who spawn specialist workers
  3. Each worker runs in an isolated git worktree — no file conflicts between agents
  4. Workers communicate via typed SQLite mail (worker_done, merge_ready, escalation)
  5. Completed work flows through the merge pipeline (4-tier conflict resolution) back to your main branch
  6. The Dashboard gives real-time visibility into the entire fleet

10 agent types: Coordinator, Lead, Gateway, Supervisor, Scout, Builder, Reviewer, Merger, Monitor, CTO — each with defined access levels and hierarchy constraints. See docs/architecture.md for details.

Key Features

  • Messaging system — SQLite-backed typed mail with protocol messages (worker_done, merge_ready, dispatch, escalation), broadcast groups (@all, @builders), and auto-nudge on high priority
  • Merge pipeline — FIFO queue with 4-tier conflict resolution, from fast-forward through AI-assisted merge
  • Web dashboard — Real-time agent monitoring, mail feed, cost tracking, terminal access, and setup wizard via browser UI (Preact + HTM, zero build step)
  • Health monitoring — Tier 0 mechanical daemon (tmux/pid liveness), Tier 1 AI-assisted failure triage, Tier 2 continuous monitor agent
  • Tool enforcement — PreToolUse hooks mechanically block dangerous operations per agent role
  • Task groups — Batch coordination with auto-close when all member issues complete
  • Session lifecycle — Checkpoint save/restore for compaction survivability, crash recovery handoffs

Installation

npm install -g @katyella/legio

From Source

git clone https://github.com/katyella/legio.git
cd legio
npm install
npm link

Requirements

Optional

  • sd (seeds) — issue tracking CLI (bun install -g @os-eco/seeds-cli) — requires Bun
  • mulch — structured expertise management CLI (bun install -g @os-eco/mulch-cli) — requires Bun
  • bd (beads) — legacy issue tracker (alternative to seeds)

Documentation

Development

npm test && npm run lint && npm run typecheck

License

MIT


Adopted from Overstory.