v0.20 other changes
The headline, breaking changes and upgrade checklist for v0.20.0 are on What’s New. These are more changes you may notice with no code change.
- Stored MCP logins are reused. An HTTP MCP server configured with only its URL now sends a login stored for that exact URL by
rax mcp loginormcpLogin(). Setauth: falseto connect without it. See Stored logins are reused automatically. - MCP logins from before this release sign out locally without revoking. Logout now revokes a token only at the authorization server the login was made with, and older logins did not record it.
rax mcp logoutdeletes them and says so; revoke at the provider if needed. Seerax mcp login/logout/status. rax servewarns when it exposes tools on a non-loopback bind;--expose-toolssilences it.rax serve --with-toolsnow enables the built-in tools (files, web, code), asrax run --toolsdoes; it used to enable none. See Tools on a non-loopback bind.- A tool schema budget.
disclosure: "auto"ships needed tools in full, relevant tools compact and the rest as index entries, withinschemaBudget(4,000 tokens by default). It is the new default on local and mid models; frontier and large keep"discover". See Disclosure. - Channel acks use the agent’s own words. A route with
ack: {}forwards the agent’s first sentence before a tool call, else"Still working on it…"after 20 s. No ack source makes a model call. See Acknowledging slow turns. - Spawned sub-agents get their parent’s tools. A
spawn-agentchild with notoolslist inherits the tools its parent may use, instead of meta tools only. See Which tools a spawned child gets. toConfig()hides MCP secrets. They read[redacted:NAME]; supply them again to build from the config. See Agent as Data.- Faster start. Importing
reactive-agentsno longer loads the OpenTelemetry SDK or the new MCP server stack; each loads the first time a.withOpenInference()agent builds oragent.serveMCP()runs. See OpenInference. - New stream events, and
StreamCancelledwaits for a terminate.runStream()carriesRunControlRequested/RunControlApplied; afterterminate(),StreamCancelledwaits (at most 1 s) for in-flight work to be interrupted; a durable tool effect can beinterrupted. Exhaustive switches and hand-builtRunHandledoubles need the new members. See How fast control takes effect. - A stopped run returns the model’s text, never a raw tool result; with no text the output is empty and the result says why. See Stop, pause and continue any run.
Install
Bun (recommended)bun add reactive-agentsNode 22.5+npm install reactive-agentsGet notified on new releases
Release notes, about once a month.