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

@ai-agencee/cli

v1.4.5

Published

CLI for AI Agencee

Readme

@ai-agencee/cli

npm license

CLI tool for the AI Agencee toolkit. Scaffold AI rule files, validate projects, run multi-lane DAG agent workflows, launch the MCP server, plan features interactively, and benchmark LLM providers — all from a single ai-kit command.


Installation

npm install -g @ai-agencee/cli
# or run without installing:
npx @ai-agencee/cli <command>

Node ≥ 20 required. CommonJS module.


Commands

ai-kit init

Scaffold AI rule files into the current project from the bundled template.

ai-kit init
ai-kit init --strict   # Enable ULTRA_HIGH strict standards (OWNER rules)

Creates the following structure (prompts before overwriting existing files):

.github/
├── copilot-instructions.md
└── ai/
    ├── manifest.xml
    ├── pipeline.xml
    ├── architecture-rules.xml
    └── quality-gates.xml
src/.ai/
├── bootstrap.md
├── rules.md
└── patterns.md

ai-kit sync

Sync AI rule files with the latest template version. Overwrites files that have diverged from the template; leaves customised files that are already up to date.

ai-kit sync

Output:

ok:       .github/copilot-instructions.md
synced:   .github/ai/quality-gates.xml
diverged: src/.ai/rules.md

| Status | Meaning | |--------|---------| | ok | Matches template — no change | | synced | Was missing — created | | diverged | Differed from template — updated |


ai-kit check

Validate project structure against ULTRA_HIGH rules. Exits with code 1 if any rule fails.

ai-kit check

Checks performed:

  • Every file in REQUIRED_FILES exists
  • All source file names are kebab-case
  • No forbidden patterns (class , any, useImperativeHandle) in .ts/.js files
pass: required-file:.github/copilot-instructions.md
pass: naming:kebab-case
fail: forbidden-pattern: class  — found in src/components/MyComponent.tsx

ai-kit agent:dag [dag-file]

Run a multi-lane supervised DAG execution. Defaults to agents/dag.json in the current directory.

ai-kit agent:dag
ai-kit agent:dag agents/my-workflow.json
ai-kit agent:dag --dry-run                     # Validate config, print execution plan
ai-kit agent:dag --verbose                     # Per-checkpoint output
ai-kit agent:dag --interactive                 # Pause at human-review checkpoints
ai-kit agent:dag --budget 0.50                 # Abort if spend exceeds $0.50
ai-kit agent:dag --provider openai             # Force a specific LLM provider
ai-kit agent:dag -p /path/to/project           # Specify project root

Options

| Flag | Description | |------|-------------| | [dag-file] | Path to dag.json (default: agents/dag.json) | | -p, --project <path> | Project root directory (default: cwd) | | -v, --verbose | Detailed per-checkpoint output | | --dry-run | Validate DAG and print execution plan — no LLM calls | | -i, --interactive | Pause at needs-human-review checkpoints | | --budget <usd> | USD spend cap — aborts when exceeded | | --provider <name> | Force provider: anthropic \| openai \| vscode \| mock |

Provider setup

| Provider | Requirement | |----------|-------------| | anthropic | ANTHROPIC_API_KEY env var | | openai | OPENAI_API_KEY env var | | vscode | Running inside VS Code with Copilot (no key needed) | | mock | No LLM calls — useful for CI and testing |


ai-kit agent:plan

Run the interactive 5-phase planning system. Guides a BA agent through discovery, synthesis, decomposition, dependency wiring, and execution.

ai-kit agent:plan
ai-kit agent:plan --start-from decompose       # Resume from a specific phase
ai-kit agent:plan --provider vscode            # Use VS Code Copilot — no API key
ai-kit agent:plan --skip-approval              # Non-interactive / CI mode
ai-kit agent:plan --verbose
ai-kit agent:plan --model-router-config agents/model-router.json

Phases

| Phase | What happens | |-------|-------------| | discover | BA ↔ User structured interview | | synthesize | BA produces plan skeleton; user approves | | decompose | Each specialist agent fills in tasks (parallel) | | wire | Dependency graph and alignment gates resolved | | execute | PlanOrchestrator runs the wired plan via DAG engine |

Options

| Flag | Description | |------|-------------| | -p, --project <path> | Project root (default: cwd) | | -a, --agents-dir <path> | Directory containing agent/supervisor JSON (default: <project>/agents) | | --start-from <phase> | Resume: discover \| synthesize \| decompose \| wire \| execute | | --skip-approval | Skip user approval gates | | -v, --verbose | Verbose DAG output during execution phase | | --provider <name> | LLM provider: anthropic \| openai \| vscode (auto-detects from env) | | --model-router-config <path> | Path to custom model-router.json |


ai-kit agent:benchmark

Benchmark registered LLM providers — measures latency, throughput, and cost per request.

ai-kit agent:benchmark
ai-kit agent:benchmark --providers anthropic,openai
ai-kit agent:benchmark --suite code-review --runs 3
ai-kit agent:benchmark --output results.json

Options

| Flag | Description | |------|-------------| | --providers <names> | Comma-separated providers to test (default: all registered) | | --suite <name> | Prompt suite: minimal \| code-review (default: minimal) | | --runs <n> | Repetitions per prompt (default: 1) | | --router-file <path> | Path to model-router.json (default: agents/model-router.json) | | -p, --project <path> | Project root | | --output <file> | Write JSON report to this file |


ai-kit visualize

Generate a visual summary of the DAG definition — lanes, dependencies, barriers, and supervisor assignments.

ai-kit visualize
ai-kit visualize agents/my-workflow.json
ai-kit visualize --format mermaid    # Output as Mermaid diagram
ai-kit visualize --output graph.md

ai-kit mcp

Start the MCP server (delegates to @ai-agencee/mcp) and print VS Code / Claude Desktop configuration snippets.

ai-kit mcp

ai-kit data

Manage persistent run data and tenant registry.

ai-kit data tenants                 # List all registered tenants
ai-kit data export --tenant <id>    # Export run data for a tenant
ai-kit data delete --tenant <id>    # Delete all run data for a tenant

Example: full workflow from scratch

# 1. Scaffold AI rules into your project
cd my-project
ai-kit init --strict

# 2. Validate everything is in order
ai-kit check

# 3. Dry-run to inspect the DAG before spending tokens
ai-kit agent:dag --dry-run

# 4. Run with VS Code Copilot — no API keys
ai-kit agent:dag --provider vscode --verbose

# 5. Interactive planning session
ai-kit agent:plan --provider vscode

Related Packages

| Package | Description | |---------|-------------| | @ai-agencee/core | File system utilities and project validation | | @ai-agencee/engine | Multi-lane supervised DAG execution engine | | @ai-agencee/mcp | MCP server for AI assistant integration |


License

MIT — see LICENSE