octomind
Octomind is an open-source AI coding agent runtime you run as a single binary, under your own guardrails, on any model.
The Problem
Developers who want an AI coding agent for unattended work hit real limits with existing harnesses: a single vendor decides which model and tools you may use, and hitting a usage cap mid-task stops the work cold. Dangerous tool calls require click-through approval popups, which works at a keyboard but breaks when an agent runs in CI, cron, or any loop nobody is watching. Harnesses preload dozens of tools up front, cluttering context and making tool choice sloppier. Long sessions degrade because naive truncation drops needed decisions, forcing restarts, and some teams have faced surprise bills like $7K in daily overages with no per-task budget or kill switch.
The Solution
Octomind is an Apache 2.0 open-source agent runtime distributed as a single binary that works with any model provider (OpenRouter, Anthropic, OpenAI, Google, DeepSeek, Bedrock, Ollama) and lets you swap models mid-session if you hit a rate limit. Policy is deterministic and lives in a TOML file as pre-call guards, post-result hooks, and post-turn validators, replacing approval popups so agents can run safely unattended. Tools stay dormant and activate only when relevant, scored by an embedding model, keeping context small; sessions use adaptive, cache-aware compression that preserves decisions and errors while dropping noise, letting sessions resume across days. Spending caps are enforced per-request and per-session, and the same engine is exposed five ways: interactive CLI, piped jsonl for CI/scripts, a daemon plus send command for long-running background agents, a WebSocket server for IDEs and dashboards, and an ACP interface for use as a sub-agent. The company also publishes octobench, a benchmark of 25 real merged PR tasks, and a public registry of 186 prebuilt agent 'taps' across 34 domains plus 31 chainable workflows.
