Open Interpreter
OpenInterpreter / openinterpreter
让模型在本机写并执行代码的终端 agent:把自然语言任务拆成 shell/Python 步骤,读文件、跑命令、看输出再修正;2026 版本转向 Kimi K3.1、GLM 5.3 等开放权重模型。A terminal agent that writes and runs code on your machine: it turns natural-language tasks into shell or Python steps, reads files, runs commands, inspects output and corrects itself; the 2026 version moves toward open-weight models such as Kimi K3.1 and GLM 5.3.
为什么选Why choose it
- 本地文件与命令直接可操作,适合一次性脚本、数据清理与机器巡检。Runs real code instead of only describing steps.
- 可换开放模型,减少对单一 API 的依赖。Reads local files and observes command output.
- 终端交互简单,能把“模型会写代码”变成可观察的执行轨迹。Supports open-weight models in the 2026 line.
不适合Not for
默认拥有本机执行权限,误删/越权风险高;生产必须容器化与只读挂载。You cannot run generated code in a sandbox.
它不是沙箱产品,安全边界要自己搭。You need deterministic, auditable workflows.
复杂任务仍会写出不可维护的脚本,需要人审 diff。复杂任务仍会写出不可维护的脚本,需要人审 diff。
最小上手Minimum setup
- 在容器或一次性 VM 里 pip install open-interpreter,接一个模型。Run it in a disposable container with no credentials.
- 先让它只读列目录、统计 CSV,再给一个临时目录写权限。Ask for a read-only file inspection first.
- 检查每一步命令与 diff,别直接对 home 目录或生产仓库跑。Add a command allowlist and a hard timeout before write operations.
依赖与成本Dependencies and cost
Python 3.10+;模型 API 或本地 OpenAI 兼容端点;Docker/VM 做隔离。Check runtime, model weights and external service dependencies in the README.
许可与使用边界License and usage boundaries
Apache-2.0;模型权重、执行环境与第三方工具另计。Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.
开源不等于可商用:GPL / AGPL 有传染性;代码许可、模型许可、生成内容许可要分开看。上线前读仓库 LICENSE 与模型卡,必要时让法务确认。Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
替代与相邻Alternatives and neighbors
- OpenHands — 生产可用Production,能读代码、改代码、跑命令的软件工程 agent,提供 CLI、Web 界面与沙箱运行时,可接本地或云端模型。A software-engineering agent that can read code, edit it and run commands, with CLI, web UI and a sandboxed runtime.
- Aider — 先试这个Start here,终端里的结对编程 agent,直接读写本地 git 仓库、生成 diff、自动提交,并用 repo map 控制上下文。A pair-programming agent in the terminal that reads and writes a local git repo, produces diffs, commits automatically and uses a repo map to control context.
- Codex CLI — 生产可用Production,OpenAI 的本地 coding agent:Rust 实现、OS 级沙箱、MCP 与云任务交接,适合终端里改代码。OpenAI’s local coding agent: Rust binary, OS-level sandbox, MCP and cloud-task handoff, built for editing code in the terminal.
下一步Next steps
- 打开 GitHub,先读 README、LICENSE、最近 release 与 issue。Open GitHub and read the README, LICENSE, latest release and issues first.
- 按“部署依赖 / 显存 / 数据 / 网络 / 权限”列一张上手清单。Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- 用一个小样本跑通,再决定是否进生产;不要直接上生产数据。Run a small sample first, then decide on production; never start with production data.
GitHub 仓库 ↗GitHub repository ↗ 文档 ↗Docs ↗ 加入对比Add to compare