Glossary
One line per term. The full definitions and the picture that ties them together are in How Reactive Agents fits together.
Product and building
Section titled “Product and building”- Reactive Agents: the open-source TypeScript framework for building agents; its core is the harness.
- Builder: the typed, chainable API (
ReactiveAgents.create().with*()) that produces an agent. - Agent: a built, runnable instance that runs tasks and chats.
- Runtime: the layer that executes agents and takes each run through its lifecycle; it hosts the harness.
Units of work
Section titled “Units of work”- Task: what the agent is asked to do.
- Run: one execution of a task, with exactly one outcome (success, partial, failed, aborted).
- Session and turn: a chat session is a sequence of turns; a turn is one user message and the agent’s reply.
- Pass: one execution of the kernel loop inside a run; plan-execute runs one pass per plan step.
- Iteration: one model turn inside a pass;
maxIterationscounts iterations across all passes. - Step: the recorded observation of one iteration (
ReasoningStep); not a plan step.
Runtime lifecycle
Section titled “Runtime lifecycle”- Lifecycle phase: one of the 12 ordered phases of the run lifecycle; lifecycle hooks attach here.
Harness
Section titled “Harness”- Harness: everything that governs the model’s work inside a run: strategy, kernel, context, tools, guards and gates, Reactive Intelligence, verification.
- Harness hooks: named points (tags) where you observe and adjust harness behavior.
Kernel
Section titled “Kernel”- Kernel: the one reasoning loop every looping strategy runs on.
- Kernel step: the contract for one iteration, state in and state out (
ThoughtKernel). - Kernel step function: one pluggable piece of a kernel step.
- Kernel capability: one of the ten things an iteration is built from (sense, comprehend, attend, recall, reason, decide, act, verify, reflect, learn).
Strategy
Section titled “Strategy”- Strategy: the policy over the kernel: how many passes and in what shape.
Context and tools
Section titled “Context and tools”- Context profile: per-model-tier defaults for context and tools (
local,mid,large,frontier). - Context assembly: building the prompt for one iteration from the run’s state.
- Compaction: shrinking older history into digests when the window fills.
- Tool surface: the tools offered to the model on one iteration.
- Tool disclosure: how permitted tools are presented (
auto,all,discover); never changes what may run. - Tool schema allocator: sizes the tool surface to
schemaBudget. - Built-in tools and meta tools: built-in tools do work; meta tools steer the run.
Guards and gates
Section titled “Guards and gates”- Guard: a kernel check that can block or redirect an action on one iteration.
- Gate: a decision point that holds a run until a condition holds.
- Approval gate: waits for a person to approve a risky action.
- Exit gate: the single place that decides a pass is done and with what outcome.
- Guardrails: safety checks on inputs and outputs (injection, PII, toxicity); not kernel guards.
- Run envelope: the resolved, read-only settings a run carries.
- Run posture: the run’s stance toward finishing.
Reactive Intelligence
Section titled “Reactive Intelligence”- Reactive Intelligence: the harness layer that watches run signals and intervenes through the RI controller; on by default, experimental.
Quality
Section titled “Quality”- Verification: checks the final output before the exit gate accepts it.
- Judgment: pluggable judges (rule, LLM, local model) that verification and evals call.
- Grounding: whether a claimed result or action is backed by tool evidence from this run.
Observability
Section titled “Observability”- Events: the typed stream every layer publishes.
- Trace: the recorded, replayable event log of one run.
- Receipt: a signed summary of what a run did and why it ended.
- rax diagnose: the command that explains a recorded run.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases
Release notes, about once a month.