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

@alexkroman1/aai-cli

v17.0.0

Published

The `aai` command — scaffold, run, test, and publish voice agents built with the AssemblyAI Agent SDK.

Downloads

4,331

Readme

@alexkroman1/aai-cli

The aai command — scaffold, run, test, and publish voice agents built with the AssemblyAI Agent SDK.

npm i -g @alexkroman1/aai-cli

Commands

| Command | What it does | | --- | --- | | aai init [dir] | Scaffold a new agent project (--template <name>, --yes) | | aai templates | List the shipped project templates | | aai dev | Local dev server: loads agent.ts, rebuilds on change, serves the browser client (--port) | | aai test | Run the project's vitest suite | | aai eval | Run the project's behaviour evals (agent.eval.test.ts) — a real session, a live model with a key, a scripted one without | | aai build | Bundle without deploying (type-checks first; --skipTypecheck opts out) | | aai list | List your studio projects | | aai pull <project> | Pull a studio project into a local directory, ready for aai dev | | aai push | Sync this project's source to its studio workspace (fast-forward-checked; --force overwrites) | | aai publish | Push, then deploy to production — the studio's Publish button from the terminal (.env syncs as agent secrets) | | aai start | Serve the built agent from a plain Node process — no platform account | | aai delete | Remove a deployed agent | | aai login | Link the account the CLI acts as | | aai secret put\|delete\|list | Manage a deployed agent's secrets | | aai logs | Read the deployed agent's log ring (--follow polls it) | | aai workflow list\|runs\|show\|cancel | Inspect the deployed agent's durable workflow runs |

Every command accepts --json for machine-readable output (auto-detected when stdout is not a TTY). aai <command> --help shows flags.

Typical flow

aai init my-agent --template pizza-ordering-agent
cd my-agent
# put ASSEMBLYAI_API_KEY=... in .env
aai dev            # talk to it at the printed URL
aai publish        # ship it; .env values become the agent's secrets

Every published agent is also a studio project: publishing prints a studio link where the same source can be edited in the browser (with the coding agent), and aai pull brings those edits back to your machine. push/pull are fast-forward-only — an edit made in the studio since your last pull surfaces as a conflict instead of being overwritten.

aai publish type-checks the project locally, then builds and deploys inside the project's sandbox — byte-for-byte the studio's Publish path. It preflights the credentials the agent declares, and prints the agent's public URL.

Notes

  • A bare aai in a project directory offers to publish (TTY-confirmed); outside one it runs init.
  • --server <url> targets a self-hosted platform; the origin is remembered in your user config after explicit approval.
  • aai login is the only way to authenticate — it links an account already signed in to the studio. An exported ASSEMBLYAI_API_KEY does not log you in; in a project that variable is a provider credential for aai dev.
  • The API key is stored 0600 in your user config dir (AAI_CONFIG_DIR overrides the location). Non-interactive callers point AAI_CONFIG_DIR at a config dir holding a key from an interactive aai login.

Documentation

SDK API reference: https://alexkroman.github.io/agent/