Reasoning and harness overview
A strategy decides how the agent works through a task. It drives the kernel, the one reasoning loop, one iteration (model call) at a time. The harness is everything that governs the model’s work inside a run: the strategy, the context the model sees, the tool surface, and the guards and gates. This group explains the strategies and shows how to set the harness. The terms are defined in How Reactive Agents fits together. Two pairs trip up readers of this group: a kernel capability is not a lifecycle phase, and a guard (inside the kernel) is not a gate or a guardrail. They are set apart in Terms that sound alike. The defaults and switches for Reactive Intelligence, and for the harness mechanisms that are on or off by default, are in Reactive Intelligence.
How-to guides
Section titled “How-to guides”- Plan Review: ask for a plan with
agent.plan(), review or edit it, then execute it. - Code Action: let the model write code that composes tools as function calls.
- Judgment Layer: ask typed yes/no, choice and score questions with
agent.judge(). - Harness Controls: set the harness per agent with
.withHarness().
Explanation
Section titled “Explanation”- Reasoning Strategies: what each strategy does and how to enable reasoning.
- Choosing a Strategy: which strategy fits which task.
- Context Engineering: how the context sent to the model is built and kept within budget.
- Context Synthesis: the optional pass that rewrites the transcript between iterations.
- Harness Control Flow: how the entropy sensor, the controller and calibration fit together.
- Reactive Intelligence: entropy sensing, adaptive control and local learning.
Reference
Section titled “Reference”- Reasoning, tools and skills: the builder methods and their options.
- Compose API and Harness Tag Reference: hooks into the harness.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases
Release notes, about once a month.