v0.19 release notes
Archived release notes. The latest release and what is on dev are on What’s New. The harness, CLI, gateway, security and Cortex detail for this release is on v0.19 release details.
v0.19.1 (patch) - Code Action and sandbox fixes (November 2026)
Section titled “v0.19.1 (patch) - Code Action and sandbox fixes (November 2026)”A patch for npm installs of 0.19.0. No API change; upgrade if you use Code Action or the Docker sandbox.
- Security: the Docker sandbox applies its seccomp profile on npm installs. The published
@reactive-agents/toolsshipped withoutsandbox-image/(the seccomp profile and hardened-image Dockerfiles), so every npm install of 0.19.0 and earlier ran the Docker sandbox without syscall filtering, silently, andbuildSandboxImage()always returnedfalse. The build now ships them indist/sandbox-image/, and a missing profile fails the sandbox run with aToolExecutionErrornaming the expected path instead of running unfiltered. SetuseSeccomp: falseto opt out explicitly. See code-execute. - Code Action runs from an npm install. 0.19.0 shipped without the sandbox worker, so every Code Action run failed with
ModuleNotFoundfordist/sandbox-worker.ts. The worker is now built todist/sandbox-worker.jsand loads on Bun and on Node 22.5+. See Code-Action. - No peer warnings under Bun.
@opentelemetry/apiis pinned to~1.9.0, because 1.10.0 is outside the peer range of the stable OpenTelemetry SDK 2.x packages. - Cortex Settings · Voice controls the local speech server: Start and Stop, the port, a CPU / GPU (NVIDIA) / Auto choice, and model pickers that download on select. The local server is always called on
127.0.0.1. See Voice.
v0.19.0 - Opt-in defaults, honest outcomes, and billed costs (November 2026)
Section titled “v0.19.0 - Opt-in defaults, honest outcomes, and billed costs (November 2026)”This release makes an agent quiet and private unless you ask otherwise, makes every finished run say plainly how it ended and what it cost, adapts to models it has never seen, routes messaging channels to any agent, and lets any durable run be stopped and continued. Read the defaults first: several change an existing agent with no code change.
New defaults and breaking changes
Section titled “New defaults and breaking changes”Other changes you may notice with no code change:
- The last turn a budget allows is an answer turn. When a run holds tool evidence and only the answer is missing, its last model call ships with no tools, so the model writes the answer instead of a tool call nobody answers. Such runs now end
completedwithterminatedBy: "final_answer"instead ofmax_iterations. The harness never writes the answer. Off:.withHarness({ budgetAnswerTurn: false })orRA_BUDGET_ANSWER_TURN=0. See Harness Control. - The parallel tool hint is on. For models whose calibration rates parallel calls
reliable, the system prompt asks for independent tool calls in one reply (the default mid, large and frontier prompts already said so). Off:.withHarness({ parallelToolHint: false }). - Approval policies gate tools added after
build(). Under.withApprovalPolicy(), MCP tools the server marks as writing,.withAgentTool()sub-agents andagent.registerTool()tools withrequiresApproval: truenow wait for approval. Before, they ran unasked. See Durable HITL. - xAI’s default model is
grok-4.7.grok-4left xAI’s price list; it still works but its cost is unknown. .withModel("id", { numCtx })applies its settings. The second argument used to be dropped silently. A setting.withModel()cannot apply (num_ctx,provider, a non-object) now throwsModelOptionError, and a declarednumCtxapplies only to that agent, not every agent on the same model id.- A failed
run()rejects withAgentRunError. Uncaught, it prints one line; the full error is onerr.cause. - Strategies honor the configured cap. Tree-of-thought uses your
maxIterations(it stopped at a tier cap of 6 to 12), anddirectwith tools defaults to 3 iterations, so a tool-calling first turn no longer fails at 1. timeoutAfter()andwatchdog()clocks are per run. A timeout covers the whole run, continuation passes included, and no longer fires on the next run once spent.- Chat takes the tool loop when the agent has tools.
agent.chat()andsession.chat()run the kernel whenever the agent has a capability tool (custom, MCP, sub-agent, terminal, opted-in built-in or documents), instead of guessing from the message wording..withToolIntent("message")restores the old wording heuristic; a per-call{ useTools }still wins. See Chat and sessions. - Small tool sets are visible from turn 1. When the permitted tool set has 15 or fewer tools, every tool is shown on the first turn instead of being narrowed by keyword relevance. Such agents send more schema tokens per turn; larger sets are unchanged. See Disclosure.
- The to-do wrap-up turn is opt-in. With
RA_TODO_WRAPUP=1, if the model answers with opentodoitems, the harness holds the answer for one turn and names them. Off by default because it costs a model call that no ablation has measured. See Tools. - The harness no longer writes the answer for an unfinished run. The “handoff synthesis” LLM call is removed. A run that wrote a draft ends
partialwith anUnfinished:list; a run that never answered endsfailedwithOutstanding: …onerror. - Unknown token counts are absent, not 0.
TokenUsage.inputTokensandoutputTokensare optional, and a run result omits a half the provider did not report. Gemini thinking tokens now count inoutputTokens, so Gemini thinking-model totals and cost rise to the honest figure. - Anthropic
completeStructured()enforces the schema by forcing one tool call whoseinput_schemais your schema (calls with extended thinking keep the prompt path). - Judgment auto-shadow is opt-in. Before, any
build()that could reach Ollama silently wired animblejudge and wrote~/.reactive-agents/judgment-shadow.db. Opt in with.withJudgment({ shadow: true })orREACTIVE_AGENTS_AUTO_SHADOW=1. See Judgment layer. - Off a terminal, warnings and errors go to stderr. Stdout carries only the answer.
ToolBuilderhandlers that return an Effect now produce its value as the tool result. Before, the observation was theEffectorExitobject. See Custom tools.- The facade exports the
ProviderNametype.
Upgrading from 0.18
Section titled “Upgrading from 0.18”Each line keeps the 0.18 behavior or adapts code to the new shape.
- Telemetry:
.withReactiveIntelligence({ telemetry: true })orREACTIVE_AGENTS_TELEMETRY=1. - Calibration:
.withCalibration("auto", { learned: true, community: true }). - Log lines off a terminal:
.withObservability({ verbosity: "normal" }). Builder notices are on stderr now. - To-do wrap-up turn:
RA_TODO_WRAPUP=1. - Judgment shadow (the old auto-wired
nimblejudge):.withJudgment({ shadow: true })orREACTIVE_AGENTS_AUTO_SHADOW=1. - Failed runs: read
result.errorand switch onresult.outcome; handle"abstained"wherever you switch on a status. - Token counts: treat
inputTokensandoutputTokensas possiblyundefined. - Costs: treat
estimatedCostandcostUsdas possiblyundefined, sum withaddCost/sumCosts, read the billed total fromawait result.totalCost?.(), and replacecalculateCostwithpriceForpluspriceUsage. - Hooks: narrow
think/act/observehandlers with"metadata" in ctx. withMinIterations(n): to keep the old number of continuation passes, add the turns your first pass usually takes ton.- Budget answer turn:
.withHarness({ budgetAnswerTurn: false }). Parallel tool hint:.withHarness({ parallelToolHint: false }). - xAI’s old default:
.withModel("grok-4")(unpriced). .withModel()errors: moveproviderto.withProvider()and spell the windownumCtx.- Git and GitHub writes:
.withTools({ terminal: true, builtins: ["git"] })instead ofgh-cli/git-cli. - Chat wording heuristic:
.withToolIntent("message"). - Open channels:
accessControl: { accessPolicy: "open" }, and prefix every sender (signal:+1555…,telegram:123…). - Public Cloud Run service:
rax deploy --target cloudrun --allow-unauthenticated. - SDK server clients: send
Authorization: Bearer <RAX_API_KEY>. - Cortex off loopback: set
CORTEX_TOKEN. - OTel spans you collect yourself: read
parentSpanContext?.spanIdinstead ofparentSpanId.
Framework
Section titled “Framework”- Multimodal input.
run(),runStream()andchat()takeTaskInput(a string or image, audio and file parts). Unsupported parts fail with a typedUnsupportedModalityError; others degrade to a visible placeholder. See Multimodal Input. - Ollama Cloud auth.
.withProvider("ollama", { apiKey })plus a per-agentbaseUrl; the env key is only sent to https (cloud) endpoints. See Local Models. - Typed sub-agent parameters.
withAgentTooltakesparametersso the parent model passes structured arguments. See Sub-Agents. withDebrief(). The post-run debrief has its own switch, independent of memory (it defaults to followingwithMemory()). See Debrief and Chat.- Approve and deny by gate id. Several approvals under one run are answered one by one; sub-agent approvals name the asking sub-agent. See Durable HITL.
MemoryRecalledevent and"guardrail"abort reason. Recalled memories are visible on the bus; a guardrail-blocked run aborts withreason: "guardrail". See Memory and Guardrails.- JSON Schema
outputSchemaand structured output reports. See Typed Structured Output. - Eval rubric graders. A case can carry a judgment
rubric; a grader that cannot decide gradesinconclusive, never a pass. See Eval. - Durable run retention.
.withDurableRuns({ retention })bounds the run store: by default the newest 50completedruns within 30 days are kept, with older checkpoints compacted. Resumable runs are never pruned. See Durable Execution.
Costs and models
Section titled “Costs and models”- Costs match the bill. Calls are priced from a committed snapshot of LiteLLM’s price list (2026-11-19, cross-checked against the providers’ price pages) for Anthropic, OpenAI, Gemini, Groq, xAI and Mistral: per-model input, output, cache read and write, long-context tiers and web search. The old keyword guesses are gone.
withModelPricingrows always win and acceptcacheRead,cacheWrite5mandcacheWrite1h. LiteLLM uses the proxy’s reported cost. See How calls are priced. - One billed total per run.
await result.totalCost?.()resolves to{ usd, complete }, including the background debrief and any structured-output extraction call;metadata.coststays the spend up to the result. The same value is on the newRunCostFinalizedevent, published once per run. A call cut in flight marks the total incomplete.chat()replies carrycostComplete, traces recordrun-cost-finalized, andrax runand scaffolded projects print a partial total as>= $x (some prices unknown). See Token tracking. - Unknown models adapt. A hosted model the framework does not list runs on a provisional 128,000-token window with native tool calling, not a 2,048-token window without tools. Gemini, Anthropic, LiteLLM and Ollama limits are discovered at build, and a context-limit error that states the real limit is remembered. See Models the framework does not list.
- Model lists fall back to known models. When a live model list fails,
resolveProviderModelsreturns the presets plus every model the PriceBook prices for that provider, each withlistedBy; an exhausted balance reads as reason"quota". See Live Model Discovery. - More pricing, Gemini and model fixes are on v0.19 release details.
Plans, stops and resumes
Section titled “Plans, stops and resumes”- Plan then execute as a primitive.
agent.plan(input)returns a typedPlan;agent.execute(plan)andagent.run(input, { plan })run it and report each step’s status onresult.plan. Chat sessions have a"plan"or"execute"mode (agent.session({ mode: "plan" })). Plans export to Markdown, JSON and HTML. Plan recon (.withHarness({ planRecon: true }), default off) lets the plan turn call read-only tools. See Plan then execute. - Continue any durable run.
agent.resumeRun(runId, { note?, extraIterations? })continues a run that a user stopped or paused, an error, a spent budget, a timeout, a loop guard or a crash ended. Newagent.pauseRun(runId)andagent.stopRun(runId). With{ newRun: true }the continuation is a new run with its own id and trace file, linked byresult.continuedFrom. A resume names the run’s still-open to-do rows. See Durable Execution. agent.stop()takes effect within about 100 ms, even inside a long reasoning loop or an in-flight model call.- Approvals without durable runs.
.withApprovalPolicy({ mode: "detach" })no longer needs.withDurableRuns(): a gated call waits in process untilapproveRunordenyRun, andrunStream()emitsApprovalRequestedon the same stream.request_user_inputtakes several typed questions in one call. See Durable HITL. - Approval rules for shell commands.
.withApprovalPolicy({ commands: ["git push"] })gates by command, not only by tool. Tools can declare a deterministicpreflight, and the gate asks it first, so a command the shell would refuse anyway is refused without an approval prompt. See Shell command rules.
Agents, tools and providers
Section titled “Agents, tools and providers”agent.memory()lists, searches, edits and deletes what an agent stored; semantic and procedural rows record thetaskIdandrunIdthat wrote them. See Memory.- Stored skills evolve. Used skills are promoted by confidence, regressions roll back only on evidence, and
agent.rollbackSkill(name)andagent.setSkillMode(name, mode)give manual control. See Agent Skills. - Config as code.
agentConfigToSource(config)prints theReactiveAgents.create()…build()source for anAgentConfig, with secrets left out, andtoConfig()now keeps thinking, skills, meta-tools, sub-agents, documents, calibration and more. See Configuration. - Read-only tools are declared.
defineTool({ mutatesExternalState: false })and MCPreadOnlymark a tool read-only;toolEffect()resolves"read" | "write" | "unknown". Channel senders and plan recon use it. See Custom Tools. - Per-agent web search keys.
.withTools({ webSearch: { apiKeys, providers } })sets keys and provider order for one agent; explicit keys win over the environment. See Web Search Configuration. .withProvider(p, { apiKey })works for every provider. Anthropic, Gemini and Ollama used to ignore it. Billing and quota failures classify as their own fatalquotaerror class, and malformed model output fails withLLMMalformedOutputError. See Typed provider errors.- Tools absorb common call mistakes. A lone string sent under the wrong key heals to the required parameter, a missing required parameter gets an error that names it and shows a valid call, a zero-argument call reaches the tool as
{}, andshell-executeallows2>&1and/dev/nullredirects. recall(key, full: true)returns the stored result. It used to come back compressed again. Content too large for the window comes in sections (recall(key, full: true, start: N)), and the segmented-read parameters work again. An exact repeat of a call that already succeeded replays its result instead of being refused.code-executeruns Python 3 withlanguage: "python"(hostpython3, not isolated, like the JavaScript path). See code-execute.- To-do lists follow the evidence. A successful tool call ticks the open row that names it, and rows still open at the end are listed as
unresolvedonmetadata.extensions.checklist. Off:.withHarness({ autoTick: false }).
CLI, channels, harness, security and Cortex
Section titled “CLI, channels, harness, security and Cortex”The full lists are on v0.19 release details. CLI: rax runs on Node 22.5+ without Bun (Bun stays recommended), scaffolds ship an AGENTS.md, a failed run() prints one line, and rax-diagnose ships a sample failed run. Channels: .withChannels({ adapters, routes, agents }) routes each conversation to any agent, with native Signal and Telegram adapters and durable schedules. Harness: honest declines end abstained, multi-pass strategies (reflexion, plan-execute, code-action) keep their evidence and their last tool batch, and code-action no longer reports an error object as success. Security: the SDK server now needs a bearer key (RAX_API_KEY), Cortex off loopback needs CORTEX_TOKEN, file tools refuse secret paths, shell escapes and SSRF forms are closed, before act hooks can stop a parallel batch, and new files are owner-only. Cortex: a live card for every reasoning strategy, model prices in every picker, Continue starts a linked run, risky tools ask for approval by default and durable runs are on by default. See Security Hardening and Cortex.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases
Release notes, about once a month.