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

@reactive-agents/cli

v0.10.6

Published

rax — the Reactive Agents CLI for scaffolding, running, and inspecting AI agents

Downloads

897

Readme

@reactive-agents/cli — rax

The Reactive Agents eXecutable — CLI for scaffolding, running, and inspecting AI agents.

npm downloads

Installation

# Global install
bun add -g @reactive-agents/cli

# Or run without installing
bunx @reactive-agents/cli --help

Commands

rax init <name> [--template minimal|standard|full]
  Scaffold a new Reactive Agents project

rax create agent <name> [--recipe basic|researcher|coder|orchestrator]
  Generate an agent file in your project

rax run <prompt> [--provider anthropic|openai|ollama|gemini|litellm|test] [--model <model>] [--name <name>] [--stream] [--cortex]
  Run an agent with a prompt and print the result. `--cortex` calls `.withCortex()` so events stream
  to a local Cortex studio. Launch the studio with `rax cortex` (after `bun add @reactive-agents/cortex`)
  or, in the source repo, with `bun cortex`. Override the ingest base URL with `CORTEX_URL` (default
  `http://127.0.0.1:4321`).

rax cortex [--port <n>] [--no-open] [--help]
  Launch the Cortex companion studio (UI + API for visual agent inspection). Requires
  `@reactive-agents/cortex` to be installed (lazy peer dep — `bun add @reactive-agents/cortex`).

rax dev [--entry src/index.ts] [--no-watch]
  Run your local agent entrypoint in watch mode

rax eval run --suite <name>
  Run an evaluation suite

rax playground
  Launch an interactive agent REPL session

rax inspect <agent-id> [--logs-tail 200] [--json]
  Inspect local deployment signals and recent matching logs

rax deploy up [--target local|fly|railway|render|cloudrun|digitalocean] [--mode daemon|sdk] [--dry-run]
  Build + deploy agent container through provider adapters

rax deploy down [--target <target>]
  Stop deployment (target auto-detected from config)

rax deploy status [--target <target>]
  Show deployment status (target auto-detected from config)

rax deploy logs [-f] [--target <target>]
  Tail deployment logs (target auto-detected from config)

rax version
  Print version

Deploy Provider Contracts

Deploy adapters are validated with CLI contract tests so upstream CLI changes can trigger early patches.

bun test apps/cli/tests/cli-contracts.test.ts
RUN_SLOW_TESTS=1 bun test apps/cli/tests/cli-contracts.test.ts

Baseline contract checks include:

  • Docker >= 20, Compose >= 2
  • gcloud >= 380.0.0
  • doctl >= 1.72.0
  • Fly/Railway/Render command and flag availability for adapter-invoked subcommands

Containerized fallback CLIs (flyctl, gcloud, doctl) are supported when Docker is available.

Examples

# Scaffold a new project with all features
rax init my-ai-app --template full
cd my-ai-app
bun install

# Generate a research agent
rax create agent researcher --recipe researcher

# Run a one-off prompt
export ANTHROPIC_API_KEY=sk-ant-...
rax run "Summarize the state of fusion energy" --provider anthropic

# Cortex studio: visual UI + API for inspecting agents. Two ways:
# (a) From any project — install once, run anywhere:
bun add @reactive-agents/cortex
rax cortex
# (b) From the source repo — server + Vite UI in dev mode:
# git clone https://github.com/tylerjrbuell/reactive-agents-ts && cd reactive-agents-ts && bun install && bun cortex
# Then in another terminal, stream run events into the studio:
rax run "Research topic X" --cortex --provider anthropic

Documentation

Full documentation at docs.reactiveagents.dev/reference/cli/