项目介绍
Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测
Octomind 是 Muvon 组织发布的开源编码 Agent harness(运行框架),README 将其描述为「open-source coding agent harness. One Rust binary, any model, every surface.」。它不是某一个具体的工作流文件,而是一套让大语言模型在代码仓库中读文件、改文件、执行 shell、搜索代码并调用子 Agent 的运行环境。
它通过 MCP 为模型提供工具,并可以把同一次会话以交互式 CLI、标准输入管道、守护进程、WebSocket 服务或在编辑器中作为 ACP Agent 的方式运行。README 强调其策略以 TOML 护栏形式落盘,并加入一个监督模型来规划与检查工作,从而支持无人值守的自动化场景。
核心能力
点击能力名称查看输入、输出和原文依据。
- 多种运行界面:交互式 CLI、非交互式
--format plain/jsonl、守护进程配合send、WebSocket 服务与 ACP 编辑器协议。 - 策略即代码:在
.agents/guardrails.toml中定义调用前 guard、结果后 hook 与回合后 validator,由程序确定性执行。 - 监督与学习:可选的监督模型负责维护计划、提醒目标、裁剪过大的工具结果并核验完成声明;
/done后在learning/<project>/<role>/下沉淀经验,后续会话按匹配召回。 - 模型与角色:可为不同角色分别选择模型,支持 Octomind Cloud 或自带 Provider Key;文档明确列出 OpenRouter、Anthropic、OpenAI、DeepSeek、Ollama 等来源。
- 专家与 tap:可通过 tap 注册表拉取打包好的专家 Agent(提示词、模型、MCP 服务器与工具权限)。
- 扩展机制:支持标准
SKILL.md技能、.agents/tools/本地脚本工具、插件与AGENTS.md。 - 沙箱与预算:
--sandbox在 Linux 使用 Landlock、macOS 使用 Seatbelt 限制写入范围;支持按请求和会话设置费用上限。
实际应用场景
适用场景
- 在终端或 SSH/tmux 环境中进行日常代码阅读、修改与命令执行。
- 在 CI、脚本或定时任务中以非交互方式运行编码 Agent,并通过退出码与结构化输出对接流水线。
- 需要长期驻留的监控型后台 Agent,通过守护进程与
send命令交互。 - 在支持 ACP 的编辑器(README 提到 Zed、JetBrains、VS Code、Neovim 等)中把 Octomind 作为 Agent 使用。
- 希望通过 TOML 集中管理模型、角色、工具与安全策略的团队。
安装与接入
README 给出的安装方式包括安装脚本、Homebrew、Scoop、Cargo、Docker 与源码构建。安装脚本在 macOS/Linux 上默认安装到 ~/.local/bin/,Windows PowerShell 脚本安装到 %LOCALAPPDATA%\octomind\bin。
原文提供的安装命令示例:
具体安装命令请参阅对应系统的原仓库说明。
具体安装命令请参阅对应系统的原仓库说明。
具体安装命令请参阅对应系统的原仓库说明。
具体安装命令请参阅对应系统的原仓库说明。
具体安装命令请参阅对应系统的原仓库说明。
从源码构建需要 protoc,原文命令为 git clone https://github.com/muvon/octomind.git && cd octomind && cargo build --release。安装后可通过 octomind --version、octomind config 与 octomind run 验证。
首次交互式运行会询问模型来源:Octomind hub、自己的 Provider 或跳过使用默认配置。脚本与非交互运行不会出现该选择界面,而是使用默认配置。配置位于 ~/.local/share/octomind/config/config.toml(macOS/Linux)或 %LOCALAPPDATA%/octomind/config/(Windows)。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
- 模型访问:使用 Octomind Cloud 时需要登录并购买 credits;README 未给出具体价格,费用需向官方核验。自带 Key 时费用由对应模型服务商计费。
- 默认配置依赖:默认配置使用
octohub:auto,监督与压缩配置也默认指向该来源,换用自有 Provider 时需同步修改三处。 - 权限范围:Agent 可读改文件、执行 shell 与调用 MCP 工具。可用 TOML 护栏与
--sandbox限制写入范围,但护栏规则本身需用户编写与维护。 - 遥测:默认上报匿名使用数据(命令、工具、模型、耗时、token 数与错误类型),README 声明不上传代码、提示词、文件路径、工具参数或环境变量值;可用
DO_NOT_TRACK=1、OCTOMIND_TELEMETRY=0或配置项关闭。 - 专家工具依赖:首次运行专家 Agent 时可能安装其工具并请求凭据,具体依赖需以实际专家清单为准。
- 基准数据:README 公布的基准基于特定时间与任务集,非对当前检出版本的实测,使用前应自行评估。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
仓库代码采用 Apache License 2.0,README 与 LICENSE 文件均已声明。该许可只覆盖本仓库代码;Octomind Cloud、第三方模型服务与专家 tap 中的内容可能有各自条款,需分别核验。
README 列出 DeepSeek、Ollama、OpenRouter 等模型来源,说明对国内模型并非完全未说明,但各服务在境内的可用性、账号注册与计费方式资料未涉及,需待核验。安装脚本和守护进程等网络访问是否受境内网络环境影响,资料未说明,也需自行验证。
项目资料与来源
字段依据与待核验事项
access:来源确认 · curl -fsSL https://raw.githubusercontent.com/muvon/octomind/master/install.sh | bash
project_type:来源确认 · Octomind is an open-source coding agent harness.
原始 README(折叠技术参考)
<div align="center">
<a href="https://octomind.run">
<img src="assets/logo.svg" width="560" alt="Octomind — open-source coding agent harness" />
</a>
<h3>Open-source coding agent harness. One Rust binary, any model, every surface.</h3>
<p>Interactive, stdin, daemon, WebSocket, or ACP — one binary, one config.<br />A supervising model plans and checks the work.<br />Policy lives in TOML guardrails, not approval prompts.</p>
[](https://github.com/Muvon/octomind/actions/workflows/ci.yml)
[](https://crates.io/crates/octomind)
[](https://github.com/muvon/octomind/actions/workflows/ci.yml)
[](LICENSE)
[](https://github.com/muvon/octomind/stargazers)
[Website](https://octomind.run) · [Docs](https://octomind.run/docs/) · [Tap Registry](https://github.com/muvon/octomind-tap) · [Benchmarks](#benchmarks) · [Issues](https://github.com/muvon/octomind/issues)
</div>
---
Octomind is an open-source coding agent harness. It gives any LLM the tools to work in a repository — read and edit files, run shells, search code, delegate to sub-agents — through [MCP](https://modelcontextprotocol.io), and runs the result as an interactive CLI, a stdin pipe, a daemon, a WebSocket server, or an ACP agent in your editor. Most agents stop and ask a human before each risky step, which works at a keyboard and blocks everything in CI. Octomind writes that policy down as TOML guardrails and adds a supervising model that plans and checks the work, so the same session can run with nobody watching. On 25 tasks taken from merged pull requests it solved 24; OpenCode solved 19 with the same model at about twice the cost ([benchmarks](#benchmarks)).
## How It Works
One diagram, the whole turn: what is assembled before the model sees the request, the tool loop, how a turn is allowed to end, and what carries over to the next session.
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/how-it-works-dark.svg">
<img src="assets/how-it-works-light.svg" width="100%" alt="Octomind turn flow: request, context assembly (AGENTS.md and skills, lesson recall, supervisor notes, compression), model, tool loop (guards, MCP tools, hooks, condense, detectors), verify gate, validators, response; lessons extracted after /done feed later sessions and, with evolution enabled, skill and guardrail candidates on trial">
</picture>
- **What the model sees** is built once per user message, not per tool round: `AGENTS.md`, the skills whose rules match the prompt (standard `SKILL.md` folders), the tool bundles those skills need (they start their own MCP servers on demand), and the few past lessons that match. [Skills](doc/usage/15-skills.md) · [Learning](doc/usage/13-learning.md)
- **Compression** folds older turns into a summary that cites content-addressed blocks; the raw messages stay in a per-session archive and the `recall` tool brings any block back verbatim as a normal tool result, so history is never rewritten and the prompt cache survives. [Compression](doc/usage/08-compression.md)
- **Guards, hooks, validators** are deterministic and live in `.agents/guardrails.toml` plus scripts; they run before any model opinion. The optional intent check (`[supervisor.authorizer]`, off by default) adds one supervisor-model look after the guards and blocks a call only when it independently conflicts with what you asked for. [Guardrails](doc/usage/18-guardrails.md)
- **The supervisor** is a second model (`[supervisor.model]`): it keeps the plan and reminds the model of the goal each turn, cuts oversized tool results down to the lines the task needs (copied, never retyped), and refuses a self-reported "done" until the evidence checks out. The loop check is a fixed heuristic: when the model repeats itself or stalls it gets one nudge, never a takeover. [Supervisor](doc/usage/14-supervisor.md)
- **The decision model** (`[decision]`) is optional: a classifier that answers typed yes/no questions with a probability instead of prose. When set, the supervisor sends its cheap questions there — which lessons to recall, which skill to activate, which lines to keep, whether a completion claim holds — and keeps chat calls for writing. [Calibrated decisions](doc/use-cases/23-calibrated-checks-with-evaluate.md)
- **Learning** extracts lessons after `/done` or at exit, in your own words, into files under `learning/<project>/<role>/`; later sessions recall the ones that match. With `[supervisor.learning.evolution]` enabled, recurring lessons become skill and guardrail candidates that run in shadow first, then an A/B trial against a control arm, and go active only when they beat it. [Learning](doc/usage/13-learning.md)
## Why Octomind?
Built for the work that keeps going after you leave:
- **Policy as code, not approval popups.** Deterministic [guardrails](doc/usage/18-guardrails.md) — 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](#benchmarks).
- **Ready-made specialists.** `octomind run developer:general` pulls a packaged agent (prompt, model, MCP servers, tool permissions) from a [tap](doc/integration/04-tap-system.md). Publish your own with one repo.
- **Sessions that stay sharp.** Adaptive [compression](doc/usage/08-compression.md) keeps long tasks moving without forgetting the task or your last few messages.
- **Learns the project as you work.** 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. Turn on [evolution](doc/usage/13-learning.md) and recurring lessons compile into skill and guardrail candidates, trialled against a control and kept only when they help.
- **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.
```bash
# Interactive
octomind run developer:general
# Non-interactive — CI, scripts, automation
echo "Explain the auth module" | octomind run developer:general --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):
```bash
curl -fsSL https://raw.githubusercontent.com/muvon/octomind/master/install.sh | bash
```
On Windows, in PowerShell:
```powershell
irm https://raw.githubusercontent.com/muvon/octomind/master/install.ps1 | iex
```
On macOS, you can also install with Homebrew:
```bash
brew install muvon/tap/octomind
```
**2. Choose where models come from.** Start octomind once in a terminal:
```bash
octomind
```
Before it writes a config, the first interactive run asks where to get models:
- **Octomind hub** (recommended): one browser sign-in, `auto` picks 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 the main agent, the supervisor, 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 a specialist** in your project:
```bash
cd ~/your/project
octomind run developer:general
```
You're now in a session with an agent that can read your code, run commands, and edit files. 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 a specialist, it may install its tools and ask for credentials.
> `developer:general` comes from the default tap [`muvon/tap`](https://github.com/muvon/octomind-tap), not your local config. Plain `octomind run` starts the config's default role, `assistant:concierge`.
Try the [recorded bug-fix demo](examples/fix-a-bug): two failing tests, an agent fix, and an independent test rerun.
## Benchmarks
Measured on [octobench](https://github.com/Muvon/octobench) against **25 tasks harvested from merged pull requests** across Python, PHP, Rust, C++, and JavaScript. Each agent works in the pre-fix repo; held-out tests from the merged fix decide pass or fail. These are the published July 30, 2026 results, not a measurement of this checkout.
| | solved | judge Σ / 2500 | cost | wall time |
|---|---|---|---|---|
| **octomind + glm-5.2** | **24/25** | **2264** | $63.43 | 3.6h |
| claude code + claude-opus-5 | 23/25 | 2262 | $81.79 | 6.7h |
| codex + gpt-5.6-sol | 21/25 | 2127 | $14.86 | 1.0h |
| opencode + glm-5.2 | 19/25 | 2093 | $129.54 | 3.3h |
- **The harness matters.** opencode used the same model and endpoint; octomind solved 24 vs 19 at roughly half the cost. All four agents ran stock invocations with no tuning, so this measures the whole harness, not individual features.
- **Worst-case pricing, still ahead.** glm-5.2 ran without prompt caching while Opus billed ~97% of context re-reads at cache rates — and octomind still led on solves, cost, and wall time.
- **Reproducible.** Per-case table, artifacts, and reproduction guide: [BENCHMARK.md](https://github.com/Muvon/octobench/blob/8aa39684ff6103782aacb1bd79ea98e96e50d6cf/BENCHMARK.md). Background: [blog post](https://octomind.run/blog/coding-agent-benchmark-real-prs).
## Guardrails: Policy as Code
Drop a `.agents/guardrails.toml` in your repo. Octomind enforces it deterministically, with no code to compile and no plugin to install.
```toml
# Pre-call deny — block a class of calls before they execute
[[guard]]
match = "shell(command=^rm\\s+-rf?)"
message = "rm -rf blocked."
# Conditional rule — only fires after the agent ran git status this session
[[guard]]
match = "shell(command=git push)"
when = ["+shell(command=git status)"]
message = "Review changes before pushing."
```
| Layer | When it runs | What it does |
|---|---|---|
| **Guards** | Before a tool call | Deny by capability, argument regex, and session history. A match returns a denial instead of executing the call. |
| **Hooks** | After a tool result | A non-zero exit injects stdout into the agent's inbox — lint and format failures become automatic corrections without restarting the turn. |
| **Validators** | After a turn | Scripts the agent reads on its next turn. This replaces "approve this change?" prompts in autonomous loops. |
If you know Claude Code hooks: guards are `PreToolUse` denies declared in TOML, hooks are `PostToolUse`, validators are `Stop` — no scripts required for the common cases.
Hook and validator script examples: [Guardrails guide](doc/usage/18-guardrails.md).
## One Harness, Five Surfaces
The same harness, exposed wherever your workflow needs it.
| Surface | Use it for | Docs |
|---|---|---|
| Interactive CLI | Daily work, any domain | [Sessions](doc/usage/05-sessions.md) |
| Non-interactive (`--format plain` / `jsonl`) | CI, scripts, scheduled jobs | [CLI reference](doc/reference/01-cli-reference.md) |
| Daemon + `send` | Background agents, continuous monitoring | [Daemon & hooks](doc/integration/03-daemon-and-hooks.md) |
| WebSocket (`octomind server`) | IDE plugins, dashboards, integrations | [WebSocket server](doc/integration/01-websocket-server.md) |
| ACP (`octomind acp`) | Agent inside Zed, JetBrains, VS Code, Neovim, or any ACP editor | [ACP protocol](doc/integration/02-acp-protocol.md) |
Need machine-readable results? Pass `--schema schema.json` to constrain the final response to a JSON Schema (requires a model with structured-output support). See [Structured output](doc/usage/11-structured-output.md).
## Features
| Feature | What you get | Learn more |
|---|---|---|
| **Specialists & taps** | Packaged agents with model, prompt, MCP servers, and permissions; installs their tool dependencies on first use | [Tap system](doc/integration/04-tap-system.md) |
| **Roles** | Per-role model, temperature, system prompt, tools | [Roles](doc/usage/06-roles.md) |
| **Workflows** | Multi-step pipelines, each step with its own model and toolset | [Workflows](doc/usage/09-workflows.md) |
| **MCP client** | stdio and Streamable HTTP servers, with OAuth; enable/disable servers mid-session | [MCP tools](doc/usage/07-mcp-tools.md) |
| **Agent Skills** | Standard `SKILL.md` skills from `.agents/skills/`, `~/.config/agents/skills/`, and taps; they activate on demand, so your context stays small | [Skills](doc/usage/15-skills.md) |
| **Local project tools** | Executable scripts in `.agents/tools/` auto-register as tools | [Local tools](doc/usage/17-local-tools.md) |
| **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](doc/usage/03-configuration.md) |
| **Supervisor & learning** | A second model plans, checks completion, and condenses tool output; lessons persist as files per project and role | [Supervisor](doc/usage/14-supervisor.md), [Learning](doc/usage/13-learning.md) |
| **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](doc/reference/03-config-reference.md) |
| **Token efficiency** | Cache-aware cost accounting and adaptive compression | [Token efficiency](doc/usage/16-token-efficiency.md) |
### Specialists
```bash
octomind run developer:general # general dev, language skills auto-activate
octomind run doctor:blood # blood-test interpretation specialist
octomind run lawyer:sg # legal specialist
```
Running a specialist 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:
```bash
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 and macOS on x86_64/aarch64) and installs to `~/.local/bin/`. Pass `--install-dir <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`:
```bash
export PATH="$HOME/.local/bin:$PATH"
```
Building from source requires `protoc`; see [Building from source](doc/dev/01-building-from-source.md) for per-OS prerequisites.
Verify:
```bash
octomind --version
octomind config # generate the default config
octomind run # start your first session
```
Shell completions: `octomind completion <bash|zsh|fish|elvish|powershell>`.
### Model access
Run `octomind configure` any time to switch between the hub and your own provider. It changes only the three model names (main, supervisor, 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](https://octomind.run/cloud).
**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 supervisor and compression profiles also default to `octohub:auto`, so update all three:
```toml
[model]
name = "anthropic:claude-sonnet-5-5"
[supervisor.model]
name = "anthropic:claude-haiku-5-5"
[compression.model]
name = "anthropic:claude-haiku-5-5"
```
Provider details and per-role overrides: [Providers & models](doc/usage/04-providers.md).
## 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.
```bash
octomind config --show # view current config
octomind config --validate # validate config
```
Override any value for a single run with `-c`:
```bash
octomind run -c supervisor.enabled=false
```
Full reference: [Configuration reference](doc/reference/03-config-reference.md) · [Environment variables](doc/reference/04-environment-variables.md).
### 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:general` | Switch to a configured role or tap tag |
| `/new Review auth` | Start a fresh session (title optional) |
| `/done` | Force context compression and start background learning extraction when enabled |
| `/exit` | Exit the session |
Full list: [Session commands](doc/reference/02-session-commands.md).
### 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:
```bash
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](doc/reference/04-environment-variables.md#telemetry).
## Documentation
| Start here | Go deeper | Integrate | Reference |
|---|---|---|---|
| [Installation](doc/usage/01-installation.md) | [Roles](doc/usage/06-roles.md) | [WebSocket server](doc/integration/01-websocket-server.md) | [CLI](doc/reference/01-cli-reference.md) |
| [Quickstart](doc/usage/02-quickstart.md) | [Workflows](doc/usage/09-workflows.md) | [ACP protocol](doc/integration/02-acp-protocol.md) | [Config](doc/reference/03-config-reference.md) |
| [Configuration](doc/usage/03-configuration.md) | [Compression](doc/usage/08-compression.md) | [Daemon & hooks](doc/integration/03-daemon-and-hooks.md) | [Session commands](doc/reference/02-session-commands.md) |
| [Providers & models](doc/usage/04-providers.md) | [Guardrails](doc/usage/18-guardrails.md) | [Editor integration](doc/usage/12-editor-integration.md) | [Environment variables](doc/reference/04-environment-variables.md) |
Full index: [doc/README.md](doc/README.md) · Hosted: [octomind.run/docs](https://octomind.run/docs/).
## Contributing
The most impactful contribution isn't code — **it's specialist agents.** A cardiologist publishing `doctor:medications`. A tax attorney publishing `lawyer:us`. A security researcher publishing `security:owasp`. One TOML file, and everyone with that problem gets an agent that knows the domain.
- [How to write a tap agent](https://github.com/muvon/octomind-tap)
- [Open issues](https://github.com/muvon/octomind/issues)
Code contributions are welcome too. Set up the hooks and run the gate before you push:
```bash
pip install pre-commit && pre-commit install
make dev # fmt + clippy + test
```
Commits follow [Conventional Commits](https://www.conventionalcommits.org). Full guide, architecture overview, and code conventions: [CONTRIBUTING.md](CONTRIBUTING.md) · internals: [Architecture](doc/dev/02-architecture.md).
Community participation follows our [Code of Conduct](CODE_OF_CONDUCT.md). Report vulnerabilities privately using the [security policy](SECURITY.md).
## License
Apache License 2.0 — see [LICENSE](LICENSE).
---
<div align="center">
<strong>Octomind</strong> by <a href="https://muvon.io">Muvon</a> · <a href="https://octomind.run">Website</a> · <a href="https://octomind.run/docs/">Documentation</a>
</div>
历史前置条件说明(补充参考)
操作系统:README 列出 macOS、Linux 与 Windows 的安装方式;源码构建需 Rust 1.95+ 与 protoc。模型:可使用 Octomind Cloud(需登录并购买 credits,价格待核验)或自带 OpenRouter、Anthropic、OpenAI、DeepSeek、Ollama 等 Provider Key。网络:安装脚本、tap 注册表与云服务需访问境外域名,境内可用性待核验。权限:Agent 默认可读写文件并执行 shell,建议配置护栏与沙箱。
项目来源与清单版权许可
https://github.com/Muvon/octomind
整理来源:https://github.com/slavakurilyak/awesome-ai-agents
清单版权与许可:
MIT License
Copyright (c) 2024 Slava Kurilyak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.