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

@agent-compose/cli

v0.3.4

Published

Command-line interface for agent-compose — register, invoke, and monitor workflows from your terminal.

Readme

agentc

CLI for agent-compose — register workflows, dispatch runs, manage secrets, and stream live execution logs.


Install

From npm (recommended):

npm install -g @agent-compose/cli
agentc init                   # install Claude Code skills (~/.claude/skills/)

Requires Node ≥ 20. Published via npm Trusted Publishing — every release is OIDC-authenticated by GitHub Actions; no long-lived publish tokens involved.

From a clone of this repo (contributor / dev install):

# Make sure ~/.bun/bin is on PATH (add to ~/.zshrc / ~/.bashrc)
export PATH="$HOME/.bun/bin:$PATH"

cd cli && bun link            # makes `agentc` available globally
agentc init --dev             # install Claude Code skills, including dev-only ones

The --dev flag installs additional skills (/ac:dev-setup, /ac:release) that live in cli/skills-dev/ and ship only with the source repo — not the npm tarball.

Or, without installing:

alias agentc="bun /path/to/agent-compose/cli/src/index.ts"

Authentication

Mint your first admin-scoped key from the dashboard (sign in via magic-link → Settings → API Keys → Create key), then save it locally:

agentc auth login ac_YOUR_KEY   # writes ~/.config/agentc/settings.json
agentc auth status              # show where the active key/url comes from
agentc auth logout              # remove the saved key

You can also set AGENT_COMPOSE_API_KEY directly as an env var.

The legacy ADMIN_KEY env-token bootstrap path has been removed entirely.


Commands

agentc register <workflow>      Bundle and register a workflow (-n NAME, -v VERSION,
                                --schedule CRON, --build to capture a snapshot environment)
agentc invoke   <template>      Dispatch a run; --follow to stream logs until settle
agentc list                     List registered templates (name + version per row)
agentc logs     <run-id>        Stream live events for a run (re-attaches via SSE)

agentc secrets list   <workflow>           List secret keys (metadata only)
agentc secrets set    <workflow> <key>     Set a secret value (prompts; stored in GCP)
agentc secrets delete <workflow> <key>     Delete a secret

agentc usage                    Current calendar-month usage rollup
agentc snapshot list            List the team's saved sandbox snapshots
agentc snapshot delete <run-id> Delete a saved snapshot

agentc auth login <key>         Save API key persistently
agentc auth logout              Remove the saved key
agentc auth status              Show where the active key/url is coming from

agentc keys create <name>       Mint a new ac_… key (requires admin-scoped caller key
                                via --admin-key or AGENT_COMPOSE_ADMIN_KEY).
                                --scopes read,invoke,admin   --expires-in 30d
agentc keys list                List your team's keys (same admin requirement)

agentc init                     Install Claude Code skills (~/.claude/skills/)
agentc init --dev               Also install developer-only skills from cli/skills-dev/
                                (clone install only — not bundled with the npm tarball)

To mint your FIRST admin key, sign in at <server-url>/login and use the dashboard's create-key dialog (one-time reveal). The CLI's keys subcommands then work against --admin-key <that-ac_…>.


Claude Code skills

After agentc init, the following slash-commands are available in any Claude Code session running inside this repo:

Public skills (shipped with both npm and clone installs — cli/skills/):

| Skill | What it does | |---|---| | /ac:setup | Walks first-time setup against an existing server | | /ac:tutorial | Hands-on tutorial — register, invoke, schedule, emit events, capture snapshots (~10 min) | | /ac:register | Bundle + register the current workflow | | /ac:invoke | Dispatch a registered workflow with input | | /ac:register-invoke | Register-then-invoke combo for fast iteration | | /ac:schedule | Create / list / delete cron schedules on a registered workflow | | /ac:logs | Tail logs for a running run | | /ac:events | Send / list run events | | /ac:snapshots | List / inspect / delete captured sandbox snapshots | | /ac:secrets | Manage per-workflow secrets | | /ac:generate-workflow | Scaffold a new workflow from a plain-English description | | /ac:generate-agent | Scaffold an agent prompt + iteration logic | | /ac:generate-runtime | Scaffold a custom runtime for an exotic model/API |

Dev-only skills (clone install only — cli/skills-dev/, install with agentc init --dev):

| Skill | What it does | |---|---| | /ac:dev-setup | Bootstrap the local Docker server + dashboard | | /ac:release | Cut a tagged release for the server, SDK, or CLI and watch CI deploy / publish |


Environment variables

| Variable | Description | Default | |---|---|---| | AGENT_COMPOSE_URL | Server base URL | https://api.agentcompose.ai | | AGENT_COMPOSE_API_KEY | Bearer key for everyday calls | — | | AGENT_COMPOSE_ADMIN_KEY | Admin-scoped ac_… key for keys create / keys list | — |

All commands also accept --url, --api-key, --admin-key flags. Flag values win over env vars; env vars win over ~/.config/agentc/settings.json; the global config wins over the built-in defaults.

Project-level overrides live in .agentc/settings.json (committed) and .agentc/settings.local.json (gitignored, per-developer). Both can pin the active environment via { env: "local" | "prod" | … } and a map of named env definitions.