hn.today

Octomind – open-source AI harness that saves your tokens, static rust

github.com51 points34 comments
Screenshot of Octomind – open-source AI harness that saves your tokens, static rust

Octomind is an open-source, Rust-based runtime for AI coding agents, designed to work beyond an interactive chat window. A single binary can run a model-powered agent in a terminal, accept piped input for scripts and CI, operate as a background daemon, serve integrations over WebSocket, or act as a sub-agent through ACP. Agents can inspect and edit repository files, run shell commands, search code, and delegate work using MCP tools. Configuration for models, roles, tools, budgets, and safety rules is kept in TOML; users can choose hosted or self-managed model providers and set spending limits. Packaged “specialists” bundle prompts, models, MCP servers, and permissions, while adaptive context compression is intended to keep long-running tasks efficient.

A central design claim is that autonomous coding needs deterministic controls rather than approval prompts that assume a person is watching. Octomind’s guardrails can block tool calls before execution, run hooks after results to feed errors back to the agent, and use validators after turns. Its README also reports a benchmark on 25 held-out bug-fix tasks drawn from merged pull requests across five programming languages: Octomind with GLM-5.2 solved 24, versus 23 for Claude Code with Claude Opus 5, 21 for Codex with GPT-5.6-sol, and 19 for OpenCode using the same GLM model. Reported Octomind cost was $63.43 and wall time 3.6 hours; the results are presented as comparisons of complete agent setups, not isolated model performance.

Read on github.com34 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.