Animated Octomind icon — purple pixel-art octopus

Octomind 0.76 fixes three things you meet after the first day of use. A remote MCP server you had signed in to through OAuth could send you back to the browser after every restart. The global MCP tool allowlist did not hold for every role, or for a server switched on in the middle of a session. And every session, delegated run, schedule and background job carried a random hex ID that nobody could read back or put in order.

0.76.0 changes all three. Seven patch releases followed. 0.76.1 sends each tool call a code script makes to your client as it happens. 0.76.2 keeps a compressed conversation working toward your request instead of the step it stopped at. 0.76.3 makes sure that stopping an MCP server, plugin or agent also stops the programs it started. 0.76.4 keeps two MCP tools with the same name from sharing one output schema. 0.76.5 moves Gemini 4 Argon and Carbon to their standard price and fixes Gemini on Google's own endpoints. 0.76.6 gives a skill the tools its capabilities grant, even on a server the agent already runs. 0.76.7 keeps tool hints out of what a code script parses and keeps a sign-in that another Octomind process renewed. The config version stays at 36 in all eight releases, so nothing migrates on first start. Below: what each change does, what it does not do, and what to check before you update.

MCP OAuth: one dynamic client registration per server

Octomind is an MCP client. When a remote MCP server asks for authorization, Octomind runs the OAuth flow in your browser and keeps the access token and the refresh token on disk. After that, the refresh token renews access without you.

Before any of that, the authorization server has to know which client is asking. There are two ways. Some servers accept a client ID metadata document: the client ID is a fixed URL, the same on every start. Others use dynamic client registration (RFC 7591): the client asks the server for a client ID and gets a new one.

The second way had a bug. Octomind registered again in every new process, so every start had a new client ID. OAuth binds a refresh token to the client it was issued to (RFC 6749, section 10.4). A server that enforces the binding rejected the stored refresh token, because a different client presented it, and you signed in again. In a run with nobody at the keyboard there is no browser to sign in with, so the server could not be used at all.

In 0.76.0 the registration is saved per server in client-registrations.json, next to the token keystore in the Octomind data directory. Octomind reuses it for as long as the server's registration endpoint and the redirect URI stay the same. The refresh token now comes back from the client that received it.

What happens when a token refresh fails

A failed refresh used to mean one thing: sign in again. Now the answer from the token endpoint decides what happens to the stored credentials.

The token endpoint answersWhat 0.76.0 does
400 or 401 with invalid_grantDeletes the stored token, so it is never sent again. You sign in once.
400 or 401 with invalid_clientDeletes the token and the saved registration. The next sign-in registers one new client.
400 with invalid_scope or invalid_request, 429, a 5xxKeeps the token. Neither answer says the credential is dead, so a later attempt can renew it.
No answer: network error, unreadable responseKeeps the token.

The codes are the ones RFC 6749, section 5.2 defines. Only invalid_grant and invalid_client say that the token or the client is gone. A server that is briefly down no longer costs you a stored sign-in.

MCP security: the global tool allowlist is the outer limit

[mcp] allowed_tools in the config is the list of MCP tools a session may use at all. Until this release it was not applied everywhere. A role's own grants and a server activated at runtime, through the mcp tool, a capability or a skill, were not held to it.

In 0.76.0 the list is the outer limit for every role and every server enabled mid-session. A role can narrow it and cannot widen it.

toml
[mcp]
allowed_tools = ["core:*", "runtime:*", "orchestration:*", "filesystem:view", "github:list_*"]
EntryWhat it allows
server:*Every tool of that server
server:toolOne tool
server:prefix*Tools of that server whose names start with it
toolThat tool name on every server

Three things follow from "outer limit":

  • An empty list still means no restriction. That is the default, and nothing changes for you if you never set it.
  • A non-empty list is the whole list. A server with no matching entry never starts, and that includes the built-in servers. The example above lists core, runtime and orchestration for that reason.
  • An excluded server cannot be switched on later. The attempt fails with Server '<name>' is excluded by the global mcp.allowed_tools allowlist. A capability whose tools are all outside the list fails with Capability '<name>' activated no tools under the global mcp.allowed_tools allowlist.

The built-in code, search_tools and context tools and project-local tools are not affected by the list. For the per-role side of the same setting, see roles and the walkthrough in Lock Down AI Agent Permissions.

Readable IDs for sessions, runs, schedules and jobs

Octomind names many things for you: the session, each agent you delegate to, each schedule, each monitor. Those names were random hex. Now they are a word and a number, handed out in order.

WhatBefore0.76.0
Session261130-myapp-1042-9f3c261130-myapp-1042-session7
Delegated run (tap)tap-developer-a3f1c2tap-developer-run3
Workflow step sessionwf-release-test-1a2b3c4dwf-release-test-run4
Schedule8 hex charactersschedule1-2
Monitormon- + 8 hex charactersmonitor2
Background MCP taskmcp-task:<call id>job1-2
Archived block, for recallb:1a2b3c4dblock17
Approved remote skill manifesta digestmanifest3

How the numbers are counted:

  • Sessions and runs count across the whole data directory, not per project. Two Octomind processes that share the directory reserve different numbers, so names do not collide.
  • Monitors, manifests and blocks count inside one session. block17 names one archived block of that session, and a block folded again keeps its handle.
  • Schedules have two numbers. The first is a namespace the session reserves each time it is opened; the second counts schedules inside it. schedule1-2 is the second schedule of the first opening.
  • Background MCP tasks have a process number and a task number. Stop one from the session that started it, by passing its ID to monitor with the stop action.

Nothing old is renamed. Existing sessions keep their names, a run started before the update is still addressed by its hex ID, and recall accepts the b:<hex> IDs that older summaries cite. A --name you pass still replaces the generated session name.

The counters are files. They live in sessions/handles/ in the data directory, and the archived messages that block17 points to live in sessions/archive/. Both are state, not cache: include them when you back up or move sessions. The sessions guide and the compression guide have the details.

Session restore: a failed resume leaves nothing behind

Resuming a session brings back its plan, its schedules and its delegated runs. Octomind used to put them in place before the last step of opening the session had succeeded, so a resume that failed at that step could leave them loaded for a session that never opened. Now they are published only after the session has opened.

A resumed session keeps the schedule IDs it had. New schedules get a new namespace, and Octomind skips a namespace the saved session already uses, so a new schedule never takes the ID of an old one.

Other changes in 0.76.0

  • The local embedding service is separate per model revision. Octomind processes on one machine share one embedding service. Its endpoint file is now named after the model revision, so an older build left running no longer blocks a newer one. This matters right after an update such as 0.75.0, which changed the revision.
  • A failing tool no longer ends the useful part of a run. When one tool fails several times in a row, the loop guard tells the agent to try a different approach and, if none is left, to finish the work that does not need the tool and report the blocker in its final message.
  • Unattended runs do not wait. The rule from 0.75.1 said not to stop to ask. It now also covers waiting for confirmation, approval, clarification or guidance, and it overrides an agent's own instruction to ask. Deleting, deploying, sending, publishing and paying still stay undone unless the request names that exact step.

What 0.76.1 adds: each script tool call reaches your client

In code mode an agent calls tools from a script through one code tool (see MCP tools). Until 0.76.1 a client saw the code call and its final output, and none of the tool calls the script made in between.

Now WebSocket, JSONL and ACP clients get each of those calls as it happens: a tool_use frame when the script starts it, and a tool_result frame with the full output when it ends, the same frames a direct call produces. Its tool_id is <code call id>:<n>, where n counts the calls in the order the script started them. A client can use that ID to show each call under its code call, with its own result and its own failure.

What 0.76.2 fixes: compression keeps your request as the goal

When a conversation passes its compression threshold, Octomind replaces older messages with a summary, and the agent resumes from it (see the compression guide). The summary keeps the request the work serves and the step the agent was on.

Before 0.76.2 that step became the session's goal, and Octomind recited it back to the agent as the goal during later turns. One pending step could then read as the whole remaining job.

In 0.76.2 your request stays the goal, and the step is recorded only as the next step. The note the agent resumes with says which is which: the request is what the work serves, the summary says what is already done for it, so the agent does not redo that and finishes what the request still needs.

What 0.76.3 fixes: stopping a server stops what it started

Octomind starts other programs: MCP servers, plugins, ACP agents, workflow runs, monitors, and the commands behind local tools and hooks. Until 0.76.3 it stopped only the process it had launched. If that process had started programs of its own, they could keep running after Octomind was done with it, and after Octomind itself had exited.

Now each program Octomind starts gets its own process group on macOS and Linux, or its own job object on Windows, and stopping it ends the whole group. An MCP server's group gets SIGTERM and 200 ms to exit before the rest is killed. If Octomind is killed outright and has no chance to clean up, a small guard process in each group sees it go and kills the group anyway. On Windows the job closes with Octomind, and everything in it ends.

The same release changes how Octomind drives an ACP agent. Cancelling the run now stops the exchange at any point, including while Octomind is still writing a long prompt to an agent that has stopped reading. An agent that answers the new-session request without a session ID is now an error.

What 0.76.4 fixes: two MCP servers with a tool of the same name

An MCP tool can declare an output schema: the shape of the structured result it returns. In code mode Octomind shows that shape to the agent, and a call from a script returns the structured result instead of the tool's text.

Octomind filed those schemas under the tool name alone. Connect two servers that each have a tool with the same name, and one schema stood for both, in what the agent was shown and in how the call's result was read. A script could then expect structured output from the server that returns only text, and the call failed with it declares an output schema but returned no structured content. In 0.76.4 each schema belongs to its server and its tool.

Also in 0.76.3 and 0.76.4

Both releases update octolib, the library Octomind talks to model providers through, from 0.58.0 to 0.58.3:

  • Anthropic models through a gateway. With ANTHROPIC_API_URL pointing at an LLM gateway that forwards to Bedrock or Vertex, requests with adaptive thinking failed with 400 thinking.adaptive.block_binding: Extra inputs are not permitted. Octomind now leaves that field out for any URL other than Anthropic's own.
  • Embedding requests retry a transient HTTP failure.
  • Native JSON schema support is decided per model, not per provider, so Octomind no longer counts on schema enforcement that a model does not have.

What 0.76.5 changes: Gemini 4 prices and Google's endpoints

0.76.5 updates octolib from 0.58.3 to 0.58.5 (octolib changelog). Four changes reach you when you run Gemini:

  • Gemini 4 Argon and Carbon cost $4 input and $20 output per million tokens, $0.20 for cached input. That is Google's standard rate, which replaces the introductory $2 / $10 from December 1. The cost Octomind reports uses the new rate from the moment you update.
  • Gemini 4 Argon on Google AI Studio no longer fails with a 400. Octomind sent AI Studio a thought_tag_marker field, which AI Studio rejects with Cannot find field. The field now goes only to Vertex AI, and Octomind reads Argon's thinking from the <thought> tag that AI Studio wraps it in.
  • A Gemini reply that calls tools runs them. On AI Studio and Vertex AI, Gemini's stream can end a reply that calls tools with the stop reason stop, and Octomind could take that as the end of the turn. It now reads such a reply as a tool call.
  • Thinking counts toward usage. Gemini reports its thinking tokens only inside the total. Octomind now adds them to the output tokens, the rate Google bills thinking at, so the reported cost includes thinking.

What 0.76.6 fixes: a skill gets the tools its capabilities grant

A skill can name capabilities in its frontmatter, for example capabilities: git memory, and activating the skill loads them (see skills). Until 0.76.6 activation only started the MCP servers those capabilities bring, and a server it started exposed every tool it had.

The capabilityBefore 0.76.60.76.6
Grants a tool on a server the agent already runs, hidden by the agent's own tool listThe skill did not get the toolThe tool is there while the skill is active
Installs a command instead of starting a serverNothing was installedIts install scripts run, as capability enable runs them. If they fail, the skill activates without that capability, and the activation result says Capability '<name>' install failed
Starts a server for the skillEvery tool of that server was exposedOnly the tools the capability allows

An example of the first row: an agent that runs octofs, Octomind's filesystem server, only to read files has no shell tool. A skill that names the shell capability now gets it. When two capabilities share one server, the server keeps the tools it already exposes and adds the ones the second capability allows.

Forgetting the skill removes the tools it added, except those that an active capability or another active skill still grants. An agent whose manifest grants exact server:tool pairs keeps exactly those, and a skill adds nothing to it.

What 0.76.7 fixes: script output and concurrent token refreshes

Some MCP servers add a hint to a tool result: a note for the model that is not part of the tool's output. octofs marks its hints with the io.muvon/hint metadata key. In code mode those hints reached the script inside the tool's text, so a script that ran JSON.parse on the result failed. In 0.76.7 the script gets only the output. Each hint goes to the model once, with the script's result.

Two OAuth fixes follow up on 0.76.0:

  • Two processes refreshing one token. Some servers issue single-use refresh tokens. When two Octomind processes renewed the same token at once, the server rejected the second request, and that process deleted the stored token, including the new one the first process had just saved. Now a process whose refresh is rejected checks the store first. If another process has replaced the token, it uses the new one and deletes nothing.
  • A sign-in nobody can answer is reported. In a piped or JSONL run, or a client without elicitation, there is nobody to open the browser, so the session goes on without that server's tools. Octomind now logs that once per server, so the missing tools have a visible reason.

Before you update

  • Expect one more sign-in per server that uses dynamic client registration. The registration is saved from the first 0.76 start on. A refresh token issued to an earlier client can still be rejected once.
  • Check [mcp] allowed_tools if you set it. Roles and runtime-enabled servers that used tools outside the list lose them. Add the built-in servers you rely on.
  • Update anything that matches ID shapes. A script or WebSocket client that expects tap-<role>-<6 hex>, mon-… or mcp-task:… needs the new forms. New run IDs end in runN.
  • Expect more tool frames after a code call. A client that pairs frames by tool_id handles them as they are. One that treats every tool_use as a top-level call should nest IDs of the form <code call id>:<n> under their code call.
  • Add sessions/handles/ and sessions/archive/ to your backups.
  • Check skills whose capabilities start a server. That server now exposes only the tools the capability allows. A skill that used another tool of the same server needs a capability that grants it.
  • If you build on the octomind crate, register_tool_output_schema and tool_output_schema now take the server name as their first argument. That is the breaking change the 0.76.4 changelog lists. The CLI needs nothing.
  • No config migration. The version stays at 36.

Update to Octomind 0.76.7

On macOS and Linux:

bash
curl -fsSL https://octomind.run/install.sh | bash -s -- --version 0.76.7
octomind --version

On Windows, in PowerShell:

powershell
$env:OCTOMIND_VERSION = "0.76.7"
irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 | iex

Or run scoop update octomind. See the installation guide for other methods, the full changelog, and the 0.75.1 notes for what came before.

Then try it: sign in to a remote MCP server that uses dynamic client registration, quit Octomind, and start it again. The server should connect without opening the browser.

— DK