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

crewhaus

v0.3.0

Published

CrewHaus — the meta-harness compiler for AI agents. Compile one crewhaus.yaml spec into a CLI agent, channel bot, RAG pipeline, multi-agent crew, eval harness, voice or browser agent, and more.

Readme

crewhaus

The factory command line: compile, run, eval, and deploy agent harness specs (crewhaus.yaml).

CrewHaus compiles one spec into the shape each situation calls for — a CLI agent, channel bot, RAG pipeline, multi-agent crew, eval bundle, and more. Every factory workflow starts with a crewhaus subcommand.

This is the bare, unscoped crewhaus package. (The earlier @crewhaus/cli name is deprecated and points here; the supporting libraries remain scoped under @crewhaus/*.)

Install

The fastest path is the self-contained binary — one file, no Bun/Node required:

brew tap crewhaus/tap && brew install crewhaus          # macOS / Linux (Homebrew)
scoop install crewhaus                       # Windows (Scoop; see repo for the bucket)
winget install CrewHaus.CLI                   # Windows (winget)
# Debian / Ubuntu (apt): signed repo at https://crewhaus.github.io/apt

Or install from npm — this package runs on Bun ≥ 1.2:

npm install -g crewhaus        # global
bun add -d crewhaus            # project-local dev dependency

Confirm it:

crewhaus --version

Quickstart

# Scaffold a starter spec
crewhaus init my-agent
cd my-agent

# Inspect the lowered IR — a quick sanity check of what the compiler sees
crewhaus compile crewhaus.yaml --emit-ir

# Set a provider credential (the starter spec uses an Anthropic model;
# --model accepts other providers, e.g. openai/<m>, gemini/<m>, local/<m>@<url>)
export ANTHROPIC_API_KEY=sk-ant-...

# Compile in-memory and run the agent
crewhaus run crewhaus.yaml

To emit a runnable bundle on disk instead, use crewhaus compile crewhaus.yaml -o build.

Subcommands

Run crewhaus with no arguments for the full usage text, or any subcommand with --help for its flags.

| Subcommand | What it does | |---|---| | compile <spec.yaml> -o <out-dir> | Compile a spec to a runnable bundle; --emit-ir prints the lowered IR as JSON instead | | run <spec.yaml> | Compile in-memory and execute the agent (--model, --resume <id> / --continue, --prompt <text>, …) | | eval <spec.yaml> --dataset <data> --graders <graders.yaml> | Run the agent against a dataset and grade (deterministic graders + LLM-as-judge); every run is indexed and auto-diffed against the pinned baseline (--gate exits non-zero on regression, --no-promote keeps the pin); the per-spec <specName>-regressions suite is unioned in by default (--no-regressions skips) | | eval-report diff <prev> <new> | Compare two eval runs and emit a diff report; history lists recorded runs, baseline show\|set <runId> inspects or pins baselines | | optimize <spec.yaml> --dataset <data> --graders <graders.yaml> | Active eval-driven optimization; --write-back rewrites the spec in place; accepted patches pin their fail→pass recoveries into <specName>-regressions (--no-pin-regressions skips) | | init [name] | Scaffold a new crewhaus.yaml | | doctor | Check environment health | | context --bundle | Emit a single-markdown orientation manifest | | cost-summary --session <id> | Summarize cost-accrual events for a session | | secrets doctor / secrets rotate <name> | List or rotate secrets via the configured backend | | spec put\|list\|get\|pin\|alias … | Versioned spec storage | | deploy promote\|rollback … | Re-pin a spec for an environment | | migrate-all --from N --to N | Batch-migrate every spec in the registry | | build-image <target> --tag <tag> | Build the docker image for a target shape | | cloud deploy / cloud teardown | Deploy or tear down a managed CrewHaus cluster | | federation discover <deployment> | Resolve a federated peer's endpoint and cert fingerprint | | sandbox doctor | List registered sandbox images and healthcheck status | | compliance evidence | Collect SOC 2 / ISO 27001 / HIPAA evidence | | version | Print the CLI version (also --version, -v) |

Notes

Known limitations of the eval run-history features:

  • Baseline keys ignore spec identity beyond the name. Run-index entries and baselines key on (specName, datasetName); two different specs sharing a name: (or a spec whose instructions changed) share a lineage. The specHash is recorded in every index entry for forensics but does not partition baselines yet.
  • 1-sample matrix cells can misclassify a crash. eval --models flags a cell as "never really ran" when all of its samples errored; with a 1-sample dataset a single transient provider error is indistinguishable from a bad credential, so the cell is reported as crashed rather than as a result row.

Docs

Apache-2.0.