Build overview
An agent is built from a model, a prompt, tools and memory. It returns text, a typed object or a stream. This group has one page per building block. If you have not built an agent yet, do the Quickstart first.
How-to guides
Section titled “How-to guides”- LLM Providers: pick a provider and a model, and set provider options.
- Local Models: choose a local model and configure the agent for it.
- Prompt Templates: write versioned prompt templates with variables.
- Tools: let the agent act. Start with the overview, then built-in tools, custom tools, MCP tools, MCP OAuth and scoping and policy.
- Typed Structured Output: get a schema-validated object from a run.
- Multimodal Input: send images, audio and files to an agent.
- Streaming: stream tokens and run events as they happen.
- Chat & Sessions: hold a multi-turn conversation with
agent.chat()andagent.session().
Explanation
Section titled “Explanation”- Memory: how agent memory works and what each memory type stores.
- Local Model Performance: how the harness tunes itself to a local model’s tier.
- Tool execution and results: how tool calls run and what comes back.
Reference
Section titled “Reference”- Builder API: every builder method and its options.
- Configuration Reference: options, defaults and environment variables.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases
Release notes, about once a month.