What is OpenCode (Rust)?
An open-source AI coding agent written in Rust, shipping three interfaces from one codebase: a CLI for terminal workflows, a TUI for interactive sessions, and an HTTP server for embedding in other tools. The headline: it runs locally with no Docker required — a single binary.
It’s in the family of terminal coding agents (the Aider/Codex-CLI/opencode lineage): your editor stays where it is, the agent operates on files and git.
Who uses it and why
- Terminal-first developers who want a coding agent that’s a normal Unix tool.
- Self-hosters who refuse container-based dev tooling.
- Tool builders who want an HTTP endpoint to drive coding agents from their own apps.
Key capabilities
- Rust single binary — fast, low memory, no runtime dependencies.
- CLI + TUI + HTTP — one codebase, three surfaces.
- Local-first — bring your own model endpoint (OpenAI-compatible or local).
Pricing
Free, open source. Model costs are separate.
China accessibility
ok — binary runs locally; pair with any reachable model endpoint.
Limitations
- Very new and small (73 stars) — expect rough edges and breaking changes.
- Ecosystem (plugins, community workflows) is minimal so far.
- Rust rewrite lineage: some features may lag the TypeScript original it’s based on.
Alternatives
- Aider — the most mature terminal coding agent (Python).
- Codex CLI — OpenAI’s official terminal agent.
- Claude Code — Anthropic’s agent; cloud-first.
Best for
Rust fans and no-Docker self-hosters who want a terminal coding agent with an HTTP surface, and who accept early-stage software.
No comments yet. Be the first to share.