Octomind is an Apache-2.0 coding agent runtime written in Rust. It runs in a terminal, a CI job or as a background daemon, and speaks MCP. Its GitHub README claims it solved 24 of 25 held-out coding tasks, ahead of Claude Code with Opus 5, Codex with GPT-5.6 Sol and OpenCode with the same model. That number comes from the project itself. We read the repository and the Hacker News thread, and we did not reproduce the benchmark. This post explains what the tool does, how to try it safely, and how much weight the numbers deserve.
TL;DR: questions developers ask first
| Question | Answer |
|---|---|
| What is it? | A CLI coding agent runtime: one binary, any model, MCP-native |
| License | Apache-2.0 |
| Language | Rust (build needs Rust 1.95+ and protoc) |
| How do I install it? | Install script, Homebrew, Scoop, Cargo or Docker |
| Do I need its cloud? | No. Use octomind login for Octomind Cloud, or your own provider key |
| Is the benchmark verified? | No. Self-published on July 30, 2026; not reproduced by us |
| Main difference from Claude Code? | Guardrails as TOML and scripts, daemon and piped modes, spend thresholds |
| Traction | About 338 GitHub stars at the time we looked; a Show HN thread of 29 points |
What does Octomind do?
The README describes "a CLI-first AI coding agent runtime." It gives an LLM access to your repo to read and write files, run shell commands, search code and delegate to sub-agents, all through MCP tools. The same session engine is exposed five ways:
- Interactive CLI for daily work, using a plain line prompt with markdown rendering (no TUI, so it works over SSH, in tmux and in CI logs).
- Piped with
--format plainorjsonl, for scripts and CI. - Daemon plus
octomind send, to keep an agent alive and talk to it from another terminal. - WebSocket server for IDE plugins and dashboards.
- ACP (Agent Client Protocol), so it can run as a sub-agent inside another editor or agent.
A minimal piped run, from the README:
echo "Explain the auth module" | octomind run developer:general --format plain
developer:general is a packaged specialist pulled from a "tap," a registry repo of agent definitions (prompt, model, MCP servers and permissions). The README also lists specialists for other domains, such as a legal or blood-test one. We would not rely on those for professional advice, and the README does not suggest you should.
How do the guardrails work?
This is the feature that sets the project apart from many harnesses. The README calls it "policy as code, not approval popups." You drop a .agents/guardrails.toml file in your repo, and the runtime enforces it without compiling a plugin. Three layers:
| Layer | When it runs | What it does |
|---|---|---|
| Guards | Before a tool call | Deny by capability, argument regex and session history |
| Hooks | After a tool result | A non-zero exit injects output so lint failures become corrections |
| Validators | After a turn | Scripts the agent reads on its next turn |
The README's example blocks rm -rf and allows git push only after git status ran in the same session. For unattended work this is the useful idea: a daemon or a CI run has no human to click approve, so rules must be deterministic. Our post on loop engineering for coding agents makes the same case for unattended loops. And the wider question of what the harness around a model contributes is covered in agent harness engineering and Terminal-Bench.
One caution: a guard that matches regex on a shell command can be bypassed by an indirect command. Treat guardrails as one layer, and run agents in a sandbox. Octomind has a --sandbox flag that restricts filesystem writes to the working directory. For stronger isolation on agents that act without you watching, AgentBeam, the agent security platform from the explainx.ai team, stops AI agents before they take dangerous actions.
What does the benchmark claim, exactly?
The README reports results from "octobench against 25 tasks harvested from merged pull requests across Python, PHP, Rust, C++, and JavaScript." Each agent works in the pre-fix repo, and held-out tests from the merged fix decide pass or fail. The published July 30, 2026 table:
| Agent and model | Solved | Judge score (of 2500) | Cost | Wall time |
|---|---|---|---|---|
| Octomind + glm-5.2 | 24/25 | 2264 | $63.43 | 3.6 h |
| Claude Code + claude-opus-5 | 23/25 | 2262 | $81.79 | 6.7 h |
| Codex + gpt-5.6-sol | 21/25 | 2127 | $14.86 | 1.0 h |
| OpenCode + glm-5.2 | 19/25 | 2093 | $129.54 | 3.3 h |
These are the project's numbers, copied from its README. The authors make three points: the harness matters (same model and endpoint, OpenCode solved 19 against Octomind's 24 at about twice the cost), all four ran stock invocations with no tuning, and Octomind's run used GLM without prompt caching while Opus got cache rates.
Why this is a claim, not a verdict
- Small sample. 25 tasks means one task is 4 percentage points. The gap between 24 and 23 is a single task.
- Self-published. We found no independent reproduction. The README links a per-case table and a reproduction guide, which would let others check, but we could not open them in this run.
- Mixed cost picture. Codex finished in one hour for $14.86, far cheaper than the leader. "Lower cost than the closest competitor" depends on which competitor you pick.
- Judge score. The scores come from a judge, whose configuration matters.
- Model versions. It pairs different models per agent. That is realistic for a bring-your-own-model tool, but not a controlled harness-only test.
For context on how much agent choice matters against model choice, compare our Claude Code vs Codex vs Gemini CLI vs GLM-5.2 comparison and the GLM-5.2 planning benchmark post. The open-source alternative it measures itself against is covered in our OpenCode guide.
What are developers saying on Hacker News?
The Show HN thread is small but pointed. One commenter, tamimio, said they would try it but asked for installation through Linux package managers because curl-to-bash scripts are not secure. Another, jszymborski, asked to see it benchmarked against oh-my-pi, praising that tool's compaction and snapshotting. A commenter named unsloppable asked the question that matters most: whether token savings improve or worsen quality, since tokens are cheap and quality is what counts. the_duke said the README felt generic and asked what is actually special, and buster asked for a comparison with another harness. These are individual opinions, not tests, and none of the commenters we read reported a hands-on benchmark.
The install complaint has a partial answer in the README, which lists Homebrew, Scoop, Cargo and Docker alongside the curl script. Developers who dislike piping a script into bash can use cargo install octomind or build from source.
How to try Octomind safely
- Install through a package manager (Homebrew, Cargo or Docker) and check
octomind --version. - Use your own key first. Export a provider key and point the
model,supervisor.modelandcompression.modeltables inconfig.tomlat it. The default config uses Octomind's own gateway for all three, so update all three or requests still go there. - Run in a throwaway clone of a repo, with
--sandboxon. - Write a guardrails file first, denying destructive shell patterns and requiring a status check before push.
- Set spend thresholds. The README says a request over its threshold stops, and in a non-interactive run the session threshold stops it with exit code 75.
- Opt out of telemetry if you wish. The README says anonymous usage data is sent (commands, tools, models, timings, token counts, error kinds) and never code, prompts or file paths, and that
DO_NOT_TRACK=1turns it off. That is the project's statement, which we have not audited.
How does the cost control work, and does it matter?
A gauge with a green needle rising toward its limit, showing how Octomind coding agent spend thresholds stop a runaway session
Octomind lets you pick a model per role, and set spend thresholds per request and per session. A request over its threshold stops. At the session threshold, a terminal session asks for a y or n before continuing. This matters most for daemons and scheduled jobs, where a loop can burn money while nobody watches. The project's documentation site describes compression profiles that shrink long sessions while keeping task knowledge, which is where its "saves your tokens" tagline comes from.
The Hacker News question about quality remains open. Compression trades context for cost, and whether it hurts results on your code is something only your own tasks can show. A fair test: run the same five tasks from your backlog with compression on and off, using the same model, and compare test results and cost. Record failures, not only successes.
What are the limits?
- Only Linux and macOS on x86_64 and aarch64 for the install script, plus Windows through PowerShell.
- A young project: about 338 stars when we looked, though with a long commit history.
- Cloud sign-in is the fast path, which sends your requests through a gateway run by the maintainers. Check that against your data policy before using work code.
- Specialist agents from a tap run with tool permissions. Read a tap's manifest before you run it, as you would any package.
Bottom line
Octomind is worth a look if you run agents unattended and want rules in a file instead of approval prompts. The benchmark is a headline, not proof: one task separates first from second, the run is self-published, and cost depends on the model chosen. Try it on a sandboxed repo, write your own guardrails, and run your own tasks before you trust any score.
Details are accurate as of November 3, 2026, based on the project's README and a Hacker News thread. Versions, stars and benchmark results may change.
