Our take
- Activity
- 91
- Community
- 92
- Issues
- 89
- Pull requests
- 73
+1,490 stars in the last 8 days
- Releases more often than 93% of the projects we track
- Closes issues faster than 83% of the projects we track
- More contributors than 77% of the projects we track
Overview
OpenCode is an open source AI coding agent for software development. It provides a terminal-based way to work with an AI agent, with a full-access build agent for development and a read-only plan agent for exploring code and planning changes.
It suits developers looking for an agent they can install through familiar package managers or use as a beta desktop app. The project also includes a general subagent for complex searches and multistep tasks.
Key Features
- Terminal UI for working with the coding agent.
- Built-in build agent with full access for development work.
- Read-only plan agent for analysis and code exploration, with permission prompts before bash commands.
- General subagent for complex searches and multistep tasks, invokable with
@general. - Desktop app in beta for macOS, Windows, and Linux.
- Multiple installation routes, including npm, Homebrew, Scoop, and an install script.
- Documentation covering agent configuration and use.
Use Cases
- Developers can use the build agent while carrying out coding work.
- Engineers joining an unfamiliar codebase can use the read-only plan agent to explore before making changes.
- Teams planning a change can use the plan agent to analyze code while keeping edits disabled by default.
- Users who prefer a graphical interface can try the beta desktop app instead of the terminal UI.
Getting Started
Install the latest release with the install script:
curl -fsSL https://opencode.ai/install | bash
See the README and documentation for package manager options, configuration, and usage details.
Alternatives
- DeepSeek-Reasonix: DeepSeek-Reasonix emphasizes persistent, long-running terminal sessions and prefix-cache stability, rather than OpenCode’s build and read-only plan agents.
- Grok Build: Grok Build is a full-screen terminal coding agent centered on the xAI ecosystem, while OpenCode also offers desktop apps in beta.
- zero: Zero is a Go-based agent focused on scriptable use, local sessions, and explicit side-effect controls; OpenCode is a TypeScript agent with a terminal UI and desktop apps in beta.
- goose: Goose is a Rust-based extensible agent with a desktop app, CLI, and API, while OpenCode emphasizes build and read-only plan agents.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| opencode | TypeScript | MIT | 212k | Not checked yet |
| DeepSeek-Reasonix | Go | MIT | 35.7k | New |
| grok-build | Rust | Apache-2.0 | 27.3k | New |
| zero | Go | MIT | 1.7k | New |
| goose | Rust | Apache-2.0 | 54.9k | Active |
Considerations
The desktop application is marked beta, so it may be less mature than the command-line option. The build agent has full access, while the plan agent is read-only by default and asks permission before running bash commands. Review the project documentation and agent settings to understand permissions before use.
Found this useful?
Share it with someone who would like opencode.