create-reactive-agent
v0.18.0
Published
Scaffold a new Reactive Agents project in seconds. Run `npm create reactive-agent`.
Maintainers
Readme
create-reactive-agent
Scaffold a new Reactive Agents project in seconds.
npm create reactive-agent my-agent
# or
bun create reactive-agent my-agent
# or
pnpm create reactive-agent my-agentTemplates
| Name | Description |
| --- | --- |
| minimal | Single-file agent, no tools. Best starting point. |
| with-tools | Agent with built-in tools (web search, HTTP, file I/O, and code execution; shell is separately gated). |
| streaming | Token-by-token streaming via agent.runStream(). |
| with-structured-output | Typed result.object from a supplied schema. |
| with-approval-gates | Human approval before sensitive tools execute. |
| with-memory | SQLite-backed cross-session memory. |
| cloudflare-worker | Deployable Cloudflare Worker (edge) agent on OpenAI. |
cloudflare-workernote: the generated project ships awrangler.tomlwithcompatibility_flags = ["nodejs_compat"](required — the framework uses Node built-ins the edge runtime must polyfill) and a.dev.varssecret stub. The agent is pinned to OpenAI (fetch-based, edge-safe); persistent memory and shell/filesystem tools are not available on the edge. Runbun run dev(wrangler dev) locally andbun run deploy(wrangler deploy) to ship.
Providers
anthropic · openai · google · groq · xai · ollama (local, no key).
The cloudflare-worker template always uses openai.
Non-interactive
npm create reactive-agent my-agent -- \
--template=streaming \
--provider=anthropic \
--pm=bun \
--yesFlags
| Flag | Description |
| --- | --- |
| --template=<name> | minimal | with-tools | streaming | with-structured-output | with-approval-gates | with-memory | cloudflare-worker |
| --provider=<name> | anthropic | openai | google | groq | xai | ollama |
| --pm=<manager> | bun | npm | pnpm | yarn |
| --yes | Skip prompts, accept defaults |
| --help | Show help |
| --version | Print version |
License
MIT
