OpenCode
Type: full-code · Vendor: anomalyco / open-source community · Language: TypeScript · License: MIT · Status: active · Status in practice: mature
The open source AI coding agent for the terminal, model- and provider-agnostic.
Description. Terminal-native open-source coding agent with a dual-agent model: a build agent with full development access and a plan agent for read-only exploration, switchable via Tab, plus a general subagent for complex search and multistep tasks. Broad model-provider support, LSP integration and a beta desktop app. One of the most-starred open-source coding agents.
Agent loop shape. ReAct-style tool loop with a mode switch: the plan agent explores read-only; on switch the build agent edits files and runs commands. A general subagent handles isolated multistep search tasks.
Primary use cases
- terminal-native agentic coding across many model providers
- read-only planning then full-access execution
- delegating complex search/multistep work to a subagent
Key concepts
- Build / plan agents → plan-and-execute (docs) — Full-access build agent and read-only plan agent, switchable via Tab.
- General subagent → subagent-isolation — Isolated agent for complex search and multistep tasks.
Patterns this full-code implements —
Neighbourhood
Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.