Transform stdio-based MCP servers into a first‑class CLI tool.
Octomind
By Muvon
Open-source AI coding agent and agent runtime: one binary, any model, MCP-native. Runs in terminal, CI, or as a daemon.
- Views
- 2
- Repository stars
- 659
- Platforms
- Windows, macOS, Linux
- Workspace
- CLI
Use cases
- Feature What you get Learn more --- --- --- Agents & taps Packaged agents with model, prompt, MCP servers, and permissions; installs their tool dependencies on first use Tap system Roles Per-role model, system prompt, and tools Roles Workflows Multi-step pipelines, each step with its own model and toolset Workflows MCP client stdio and Streamable HTTP servers, with OAuth; enable/disable servers mid-session MCP tools Agent Skills Standard SKILL.md skills from taps, project .agents/skills/ , and ~/.agents/skills/ in that order. They activate on demand, so your context stays small Skills Local project tools Executable scripts in .agents/tools/ auto-register as tools Local tools Plugins & AGENTS.md Agent Plugins ( plugin.json + skills + mcp.json ) from taps, .agents/plugins/ , or ~/.config/agents/plugins/ ; project AGENTS.md loads at session start Configuration Besydr The core of Octomind: a separate closed-source program, so far free with Octomind, that plans, checks completion, condenses tool output and keeps lessons per project and role; Octomind runs it as a plugin, and enabled = false turns it off besydr.com, How Octomind runs it, Learning Sandbox --sandbox locks writes to the working directory via Landlock (Linux) or Seatbelt (macOS), inherited by every shell, MCP server, and sub-agent Config reference Token efficiency Cache-aware cost accounting and adaptive compression Token efficiency
Platforms
Windows, macOS, Linux
Configuration guide
Config lives at ~/.local/share/octomind/config/config.toml on macOS and Linux, and under %LOCALAPPDATA%/octomind/config/ on Windows. Set OCTOMIND_DATA_DIR to override the data root.
octomind config --show # view current config
octomind config --validate # validate config
Override any value for a single run with -c:
octomind run -c max_identical_rounds=0
Full reference: Configuration reference · Environment variables.
Why Octomind?
Built for the work that keeps going after you leave:
- Policy as code, not approval popups. Deterministic guardrails — pre-call guards, post-result hooks, post-turn validators — live in TOML and scripts, so they work in CI, daemons, and scheduled runs.
- Measured, not claimed. All four agents ran stock on the same tasks with the same judge. Per-case table, artifacts, and a reproduction guide are in the benchmarks.
- Ready-made agents.
octomind run developerpulls a packaged agent (prompt, model, MCP servers, tool permissions) from a tap. An agent is one file,agents//default.toml, and its specialties are skills that load when your request matches them; a private tap can add variants such asacme:reviewer. Publish your own with one repo. - Sessions that stay sharp. Adaptive compression keeps long tasks moving without forgetting the task or your last few messages.
- Learns the project as you work. Through Besydr, corrections and rules you state become lessons, quoted from your own words and scoped to the project and role, and come back in later sessions. Learning
- Any model, any budget. Use Octomind Cloud or your own key (OpenRouter, Anthropic, OpenAI, DeepSeek, Ollama, and more), pick a model per role, and cap spend per request and per session. Over budget, a terminal session asks y/N; a non-interactive run stops with exit code 75.
- One config. Models, tools, roles, guardrails, budgets: all TOML, no framework code.
# Interactive
octomind run developer
# Non-interactive — CI, scripts, automation
echo "Explain the auth module" | octomind run developer --format plain
# Daemon — keep it alive, talk to it from another terminal
echo "watch the build" | octomind run --name watcher --daemon --format jsonl
octomind send --name watcher "run the test suite"
Quick Start
1. Install (macOS, Linux):
curl -fsSL https://raw.githubusercontent.com/muvon/octomind/master/install.sh | bash
On Windows, in PowerShell:
irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 | iex
On macOS, you can also install with Homebrew:
brew install muvon/tap/octomind
2. Choose where models come from. Start octomind once in a terminal:
octomind
Before it writes a config, the first interactive run asks where to get models:
- Octomind hub (recommended): one browser sign-in,
autopicks a model for each job, paid with credits you buy. - Your own provider: OpenRouter, OpenAI, Anthropic, DeepSeek, Ollama, and every other provider octomind supports. Octomind asks for the key with hidden input, saves it to its own
.env(readable only by you), and lists the provider's models to pick from. One model can serve both the main agent and compression, or you can pick each. - Skip: keep the shipped defaults (
octohub:auto).
Run octomind configure to change this later. Scripts, piped input, and --format runs never see the screen; they use the default config.
3. Run an agent in your project:
cd ~/your/project
octomind run developer
You're now in a session with the developer agent. It reads your code and runs commands itself. The interface is a plain line prompt with markdown rendering — no TUI to learn, so it works over SSH, in tmux, and in CI logs. The first time you run an agent, it may install its tools and ask for credentials.
> developer comes from the default tap muvon/tap, not your local config. Plain octomind run starts the config's default, assistant, the global assistant. A role in your config with the same name as a tap agent takes priority over the tap agent.
Try the recorded bug-fix demo: two failing tests, an agent fix, and an independent test rerun.
Features
| Feature | What you get | Learn more |
|---|---|---|
| Agents & taps | Packaged agents with model, prompt, MCP servers, and permissions; installs their tool dependencies on first use | Tap system |
| Roles | Per-role model, system prompt, and tools | Roles |
| Workflows | Multi-step pipelines, each step with its own model and toolset | Workflows |
| MCP client | stdio and Streamable HTTP servers, with OAuth; enable/disable servers mid-session | MCP tools |
| Agent Skills | Standard SKILL.md skills from taps, project .agents/skills/, and ~/.agents/skills/ in that order. They activate on demand, so your context stays small |
Skills |
| Local project tools | Executable scripts in .agents/tools/ auto-register as tools |
Local tools |
Plugins & AGENTS.md |
Agent Plugins (plugin.json + skills + mcp.json) from taps, .agents/plugins/, or ~/.config/agents/plugins/; project AGENTS.md loads at session start |
Configuration |
| Besydr | The core of Octomind: a separate closed-source program, so far free with Octomind, that plans, checks completion, condenses tool output and keeps lessons per project and role; Octomind runs it as a plugin, and enabled = false turns it off |
besydr.com, How Octomind runs it, Learning |
| Sandbox | --sandbox locks writes to the working directory via Landlock (Linux) or Seatbelt (macOS), inherited by every shell, MCP server, and sub-agent |
Config reference |
| Token efficiency | Cache-aware cost accounting and adaptive compression | Token efficiency |
Agents
octomind run developer # engineering work
octomind run doctor # health questions
octomind run lawyer # legal questions; jurisdiction procedures are skills
OCTOMIND_SKILLS=doctor-blood-tests octomind run doctor # preload one specialty skill
octomind run developer --readonly # only tools marked read-only can run
Running an agent fetches its manifest from the tap registry, installs any required binaries, resolves credentials, starts the right MCP servers, and then opens the session.
Build and register your own:
octomind tap init yourteam/my-tap # scaffold, validate, git-init, and register locally
octomind tap yourteam/my-tap # on another machine, after publishing to GitHub
The octomind- prefix is added automatically: yourteam/my-tap maps to the repository
yourteam/octomind-my-tap.
Installation
| Method | Command |
|---|---|
| Install script (recommended) | curl -fsSL https://raw.githubusercontent.com/muvon/octomind/master/install.sh \| bash |
| Install script (Windows PowerShell) | irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 \| iex |
| Homebrew (macOS) | brew install muvon/tap/octomind |
| Scoop (Windows) | scoop bucket add muvon https://github.com/Muvon/scoop-bucket then scoop install muvon/octomind |
| Cargo (Rust 1.95+) | cargo install octomind |
| Docker | docker run --rm ghcr.io/muvon/octomind --help |
| From source | git clone https://github.com/muvon/octomind.git && cd octomind && cargo build --release |
The install script detects your OS and architecture (Linux on x86_64/aarch64, macOS on Apple Silicon) and installs to ~/.local/bin/. Pass --install-dir or set OCTOMIND_INSTALL_DIR to override. On Windows (x86_64/aarch64), install.ps1 installs to %LOCALAPPDATA%\octomind\bin and adds it to your user PATH; it honors OCTOMIND_INSTALL_DIR and OCTOMIND_VERSION too. install.sh still works from Git Bash or MSYS2.
Command not found? Add the install directory to your PATH:
export PATH="$HOME/.local/bin:$PATH"
Building from source requires protoc; see Building from source for per-OS prerequisites.
Verify:
octomind --version
octomind config # generate the default config
octomind run # start your first session
Shell completions: octomind completion.
Model access
Run octomind configure any time to switch between the hub and your own provider. It changes only the two model names (main, compression) and keeps the rest of your config and its comments.
Octomind Cloud — choose the hub in octomind configure, or run octomind login (device-code sign-in, like gh auth login). Either stores a gateway key locally. The default config already uses octohub:auto. Learn more.
Bring your own key — choose your provider in octomind configure. To set it up by hand instead, set the provider's environment variable (OPENROUTER_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, DEEPSEEK_API_KEY, …) and point the model tables at it. The compression profile also defaults to octohub:auto, so update both:
[model]
name = "anthropic:claude-sonnet-5-5"
[compression.model]
name = "anthropic:claude-haiku-5-5"
Provider details and per-role overrides: Providers & models.
Configuration
Config lives at ~/.local/share/octomind/config/config.toml on macOS and Linux, and under %LOCALAPPDATA%/octomind/config/ on Windows. Set OCTOMIND_DATA_DIR to override the data root.
octomind config --show # view current config
octomind config --validate # validate config
Override any value for a single run with -c:
octomind run -c max_identical_rounds=0
Full reference: Configuration reference · Environment variables.
Session commands
| Command | Description |
|---|---|
/help |
Show all commands |
/info |
Token usage and costs |
/model anthropic:claude-sonnet-5-5 |
Switch model mid-session |
/role developer |
Switch to a configured role or tap agent |
/new Review auth |
Start a fresh session (title optional) |
/done |
Force context compression (with the Besydr plugin, also starts lesson extraction) |
/exit |
Exit the session |
Full list: Session commands.
Telemetry
Octomind reports anonymous usage: which commands, tools, and models are used, plus timings, token counts, and error kinds. It never sends your code, prompts, file paths, tool arguments, or environment values. Opt out in any of three ways:
export DO_NOT_TRACK=1 # the cross-tool standard, honored first
export OCTOMIND_TELEMETRY=0 # for subsequent commands in this shell
# or set `telemetry = false` in config.toml
Exact field list: Telemetry.
Documentation
| Start here | Go deeper | Integrate | Reference |
|---|---|---|---|
| Installation | Roles | WebSocket server | CLI |
| Quickstart | Workflows | ACP protocol | Config |
| Configuration | Compression | Daemon & hooks | Session commands |
| Providers & models | Guardrails | Editor integration | Environment variables |
Full index: doc/README.md · Hosted: octomind.run/docs.
OpenSeek - 广度求索: open-source TUI coding agent with multi-provider routing, MCP, LSP, and Plan/Agent/YOLO modes.
AdaL is an AI agent for video: launch films, product demos and UGC ads. This is the community home for the AdaL CLI. adalagent.ai
Open-source terminal coding agent. Use 15+ model providers, local models or your own key. Plan mode before edits. Imports your Codex, Cursor, Claude Code…
