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

hydraz

v2.1.0

Published

An opinionated CLI for autonomous, multi-process coding swarms

Downloads

507

Readme

EXPERIMENTAL: USE WITH CAUTION - This CLI is an active exploration of real multi-process coding swarms.

Stand in a repo, describe a task, walk away. A real multi-process swarm — powered by Claude Code CLI (Opus 4.6) — investigates, designs, plans, implements in parallel, merges, and runs an independent review panel. You get back a branch with committed work (and a PR in container/cloud mode).

How it works

Hydraz is a deterministic TypeScript orchestrator that drives a pipeline of independent Claude Code processes:

Investigate → Architect → Plan (with consensus loop) → Parallel Workers → Merge → Review Panel → Deliver
  1. An investigator explores the repo and documents its structure
  2. An architect designs the solution based on the investigation
  3. A planner decomposes the work into parallel tasks; the architect reviews the plan until both agree (up to 10 rounds)
  4. N parallel workers (default 3) implement their assigned tasks in isolated worktrees, each using strict TDD
  5. The orchestrator merges worker branches into an integration branch
  6. A review panel of 3 famous-engineer personas (Carmack, Metz, Torvalds) independently reviews the result
  7. If changes are needed, the right part of the pipeline re-runs automatically (up to 5 iterations)
  8. When the panel approves, work is delivered (PR in container/cloud mode; branch with commits in local mode)

Every stage produces durable artifacts. Every Claude invocation is stateless — fresh context, no shared conversation history. Communication between stages is entirely file-based.

Quickstart

Interactive mode

npm install -g hydraz
cd your-repo
hydraz

Non-interactive

hydraz run "fix the auth timeout regression"
hydraz run --workers 5 "build the user management system"
hydraz run --reviewers carmack,torvalds,pike "refactor the database layer"

CLI flags

| Flag | Description | Default | |------|-------------|---------| | --session <name> | Session name | Auto-generated from task | | --branch <name> | Branch name | Auto-generated from session | | --swarm | No-op (swarm pipeline always runs) | Always on | | --workers <N> | Number of parallel workers | 3 | | --reviewers <names> | Comma-separated reviewer persona names | carmack,metz,torvalds | | --local | Run locally (bare metal) | Default | | --container | Run locally in a Docker container | | | --cloud | Run on a cloud VM via DevPod | |

Commands

hydraz                 # interactive mode — start sessions, attach, review
hydraz run "<task>"    # launch a task directly
hydraz hello-world     # infrastructure sanity check (supports --local, --container, --cloud, --verbose, --branch)

hydraz sessions        # list all sessions in this repo
hydraz status          # show current session state and swarm phase
hydraz attach          # attach to an active session
hydraz stop            # stop an active session
hydraz resume          # resume a stopped/blocked/failed session (currently restarts from scratch)
hydraz review          # review a session's outcome and review panel output
hydraz events          # show structured event history

hydraz config          # configure defaults, auth
hydraz personas        # manage personas
hydraz mcp             # manage MCP server configuration
hydraz clean           # clean up orphaned DevPod workspaces

Review panel

Three independent reviewers evaluate the integrated result, each embodying a celebrated software engineer:

  • John Carmack — correctness, edge cases, error handling, subtle bugs
  • Sandi Metz — code organization, naming, abstraction quality, maintainability
  • Linus Torvalds — simplicity, rejecting unnecessary complexity, bloat detection

Reviewers categorize their findings as architectural or implementation. Both routes rewind through re-planning via the outer loop; architectural feedback additionally refreshes the architecture design. The orchestrator automatically determines the feedback route.

Configurable per-session via --reviewers.

Artifacts

Every session produces a full audit trail at ~/.hydraz/repos/<repo>-<hash>/sessions/<id>/swarm/:

swarm/
  investigation/brief.md          # what the investigator found
  architecture/design.md          # the architect's design
  plan/plan.md                    # the decomposed execution plan
  task-ledger.json                # task assignments, status, metrics
  ownership.json                  # file ownership per worker
  workers/worker-a/brief.md      # each worker's assignment
  workers/worker-a/progress.md   # what each worker did
  merge/report.md                 # merge results
  reviews/carmack.md              # each reviewer's independent review
  reviews/metz.md
  reviews/torvalds.md

Prerequisites

All modes:

Container mode (adds):

  • Docker or OrbStack
  • DevPod CLI
  • .devcontainer/devcontainer.json in the target repo (must include Claude Code CLI)
  • A git remote on the target repo

Cloud mode (adds):

  • A cloud provider configured in DevPod (GCP, AWS, Azure, etc.)
  • Cloud account with compute permissions and billing enabled

Container setup (one-time)

# Configure container auth (portable OAuth token for headless Claude Code)
claude setup-token
hydraz config                               # → Claude Code auth → Set OAuth token

# Configure GitHub delivery auth (container/cloud push/PR automation)
hydraz config                               # → GitHub push/PR auth → Set GitHub token

# For local containers
devpod provider add docker

# For cloud containers (e.g. GCP)
devpod provider add gcloud -o PROJECT=my-project -o ZONE=us-central1-a -o MACHINE_TYPE=e2-standard-8
devpod provider use gcloud

Cloud troubleshooting

ZONE_RESOURCE_POOL_EXHAUSTED: GCP doesn't have capacity for your machine type in the configured zone. Try a different zone: devpod provider set-options gcloud -o ZONE=us-west1-b

Stale DevPod workspaces: Failed sessions can leave orphaned DevPod workspaces that interfere with new runs. Run devpod list to check, and devpod delete --force <name> to clean them up.

INACTIVITY_TIMEOUT: The default DevPod gcloud provider timeout (5m) can be too short for cold container builds. Increase it: devpod provider set-options gcloud -o INACTIVITY_TIMEOUT=30m

Config

Global config lives at ~/.config/hydraz/. Session data and worktrees live at ~/.hydraz/repos/<repo>-<hash>/. No Hydraz-generated files are created in the target repository.

Development

npm install
npm test               # Vitest
npm run test:watch     # watch mode
npm run build          # compile TypeScript
npm run typecheck      # type-check without emitting

License

MIT