OpenCode is an open-source AI coding agent for helping with development, planning, and code exploration from the command line and, in beta, as a desktop app.
OpenCode is presented as an open-source AI coding agent. The README shows it can be installed through several package managers and also offers a beta desktop application. It includes built-in agent modes for different kinds of work, including a default development-oriented mode and a read-only planning mode.
It addresses the need for an AI assistant that can support coding tasks, codebase exploration, and planning without forcing users into a single workflow. The README suggests it is meant to help both with active development and with safer, read-only analysis of unfamiliar projects.
At a high level, OpenCode works as an AI coding agent that users interact with directly, with the ability to switch between built-in agent modes using the Tab key. The README indicates one mode is optimized for hands-on development, while another focuses on reading, exploration, and asking permission before shell commands, which implies different levels of autonomy depending on the task. It also mentions a general subagent for more complex searches and multi-step work, but does not describe the underlying implementation in detail.
It is gaining attention because it combines the current interest in AI coding agents with a strong open-source and multi-platform installation story. The repository also reports very large star growth, and the presence of a desktop beta, multiple agent modes, and broad language and platform support likely makes it appealing to a wide audience. Beyond that, the README itself does not provide benchmark claims or deeper adoption data.
The README does not name direct competitors, so only broad comparisons are possible. Based on its description, OpenCode belongs to the same general category as other AI coding agents and code-assistance tools, but the specific alternatives are not stated in the provided material.
AI-explained · grounded in each repo's README