Skip to content
DocsStar33Playground

v0.19 release notes

ReferenceLast updated 2026-12-02 · aafd31c7bQuickstart

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/tools shipped without sandbox-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, and buildSandboxImage() always returned false. The build now ships them in dist/sandbox-image/, and a missing profile fails the sandbox run with a ToolExecutionError naming the expected path instead of running unfiltered. Set useSeccomp: false to 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 ModuleNotFound for dist/sandbox-worker.ts. The worker is now built to dist/sandbox-worker.js and loads on Bun and on Node 22.5+. See Code-Action.
  • No peer warnings under Bun. @opentelemetry/api is 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.

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 completed with terminatedBy: "final_answer" instead of max_iterations. The harness never writes the answer. Off: .withHarness({ budgetAnswerTurn: false }) or RA_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 and agent.registerTool() tools with requiresApproval: true now wait for approval. Before, they ran unasked. See Durable HITL.
  • xAI’s default model is grok-4.7. grok-4 left 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 throws ModelOptionError, and a declared numCtx applies only to that agent, not every agent on the same model id.
  • A failed run() rejects with AgentRunError. Uncaught, it prints one line; the full error is on err.cause.
  • Strategies honor the configured cap. Tree-of-thought uses your maxIterations (it stopped at a tier cap of 6 to 12), and direct with tools defaults to 3 iterations, so a tool-calling first turn no longer fails at 1.
  • timeoutAfter() and watchdog() 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() and session.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 open todo items, 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 partial with an Unfinished: list; a run that never answered ends failed with Outstanding: … on error.
  • Unknown token counts are absent, not 0. TokenUsage.inputTokens and outputTokens are optional, and a run result omits a half the provider did not report. Gemini thinking tokens now count in outputTokens, so Gemini thinking-model totals and cost rise to the honest figure.
  • Anthropic completeStructured() enforces the schema by forcing one tool call whose input_schema is 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 a nimble judge and wrote ~/.reactive-agents/judgment-shadow.db. Opt in with .withJudgment({ shadow: true }) or REACTIVE_AGENTS_AUTO_SHADOW=1. See Judgment layer.
  • Off a terminal, warnings and errors go to stderr. Stdout carries only the answer.
  • ToolBuilder handlers that return an Effect now produce its value as the tool result. Before, the observation was the Effect or Exit object. See Custom tools.
  • The facade exports the ProviderName type.

Each line keeps the 0.18 behavior or adapts code to the new shape.

  • Telemetry: .withReactiveIntelligence({ telemetry: true }) or REACTIVE_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 nimble judge): .withJudgment({ shadow: true }) or REACTIVE_AGENTS_AUTO_SHADOW=1.
  • Failed runs: read result.error and switch on result.outcome; handle "abstained" wherever you switch on a status.
  • Token counts: treat inputTokens and outputTokens as possibly undefined.
  • Costs: treat estimatedCost and costUsd as possibly undefined, sum with addCost / sumCosts, read the billed total from await result.totalCost?.(), and replace calculateCost with priceFor plus priceUsage.
  • Hooks: narrow think / act / observe handlers with "metadata" in ctx.
  • withMinIterations(n): to keep the old number of continuation passes, add the turns your first pass usually takes to n.
  • Budget answer turn: .withHarness({ budgetAnswerTurn: false }). Parallel tool hint: .withHarness({ parallelToolHint: false }).
  • xAI’s old default: .withModel("grok-4") (unpriced).
  • .withModel() errors: move provider to .withProvider() and spell the window numCtx.
  • Git and GitHub writes: .withTools({ terminal: true, builtins: ["git"] }) instead of gh-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?.spanId instead of parentSpanId.
  • Multimodal input. run(), runStream() and chat() take TaskInput (a string or image, audio and file parts). Unsupported parts fail with a typed UnsupportedModalityError; others degrade to a visible placeholder. See Multimodal Input.
  • Ollama Cloud auth. .withProvider("ollama", { apiKey }) plus a per-agent baseUrl; the env key is only sent to https (cloud) endpoints. See Local Models.
  • Typed sub-agent parameters. withAgentTool takes parameters so the parent model passes structured arguments. See Sub-Agents.
  • withDebrief(). The post-run debrief has its own switch, independent of memory (it defaults to following withMemory()). 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.
  • MemoryRecalled event and "guardrail" abort reason. Recalled memories are visible on the bus; a guardrail-blocked run aborts with reason: "guardrail". See Memory and Guardrails.
  • JSON Schema outputSchema and structured output reports. See Typed Structured Output.
  • Eval rubric graders. A case can carry a judgment rubric; a grader that cannot decide grades inconclusive, never a pass. See Eval.
  • Durable run retention. .withDurableRuns({ retention }) bounds the run store: by default the newest 50 completed runs within 30 days are kept, with older checkpoints compacted. Resumable runs are never pruned. See Durable Execution.
  • 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. withModelPricing rows always win and accept cacheRead, cacheWrite5m and cacheWrite1h. 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.cost stays the spend up to the result. The same value is on the new RunCostFinalized event, published once per run. A call cut in flight marks the total incomplete. chat() replies carry costComplete, traces record run-cost-finalized, and rax run and 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, resolveProviderModels returns the presets plus every model the PriceBook prices for that provider, each with listedBy; an exhausted balance reads as reason "quota". See Live Model Discovery.
  • More pricing, Gemini and model fixes are on v0.19 release details.
  • Plan then execute as a primitive. agent.plan(input) returns a typed Plan; agent.execute(plan) and agent.run(input, { plan }) run it and report each step’s status on result.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. New agent.pauseRun(runId) and agent.stopRun(runId). With { newRun: true } the continuation is a new run with its own id and trace file, linked by result.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 until approveRun or denyRun, and runStream() emits ApprovalRequested on the same stream. request_user_input takes 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 deterministic preflight, and the gate asks it first, so a command the shell would refuse anyway is refused without an approval prompt. See Shell command rules.
  • agent.memory() lists, searches, edits and deletes what an agent stored; semantic and procedural rows record the taskId and runId that wrote them. See Memory.
  • Stored skills evolve. Used skills are promoted by confidence, regressions roll back only on evidence, and agent.rollbackSkill(name) and agent.setSkillMode(name, mode) give manual control. See Agent Skills.
  • Config as code. agentConfigToSource(config) prints the ReactiveAgents.create()…build() source for an AgentConfig, with secrets left out, and toConfig() now keeps thinking, skills, meta-tools, sub-agents, documents, calibration and more. See Configuration.
  • Read-only tools are declared. defineTool({ mutatesExternalState: false }) and MCP readOnly mark 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 fatal quota error class, and malformed model output fails with LLMMalformedOutputError. 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 {}, and shell-execute allows 2>&1 and /dev/null redirects.
  • 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-execute runs Python 3 with language: "python" (host python3, 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 unresolved on metadata.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-agents
Node 22.5+npm install reactive-agents

Get notified on new releases

Release notes, about once a month.