OpenCode is an open-source coding agent centered on the terminal. It brings together a terminal text interface (TUI), desktop application, IDE extension and SDK/server, and can be connected to different model providers.
What it’s for
- Running multi-step coding tasks without leaving the command line
- Creating and editing repository files with change review
- Running commands, tests and builds and using the result to continue the task
- Exposing the agent as a server/SDK to integrate it into other tools through ACP
- Accessing models through external providers or the project’s own gateway
How it works
- You open the agent in the terminal and describe the task; it plans, executes actions and shows what changed
- The same engine covers TUI, desktop, IDE extension and server, with sessions and history
- The Agent Client Protocol (ACP) lets the agent attach to compatible editors
- Configuration lives in project files and environment variables, with per-provider model choice
Where it runs
- Terminal (TUI) on Linux, macOS and Windows
- Desktop application
- Extension for ACP-compatible editors
- Server/SDK mode for programmatic use
Availability and licensing
- MIT license
- Maintained by Anomaly (originally SST)
- Model access through your own providers or the project gateway
Strengths
- Agnostic to editor and model provider
- One base for interactive and programmatic use
- Open protocol (ACP) for editor integration
- Active community in the terminal agent ecosystem
Things to note
- The experience is terminal-centric; those who prefer a GUI use the app or the extension
- Capabilities and maturity differ across surfaces
- Cost depends on the model provider you choose
