engineering / agent
OpenCode
An open source AI coding agent with a terminal interface and a beta desktop app, installed with a script or a package manager.
At a glance
- Purpose
- An open source AI coding agent with a terminal interface and a beta desktop app, installed with a script or a package manager.
- Runs in
- Local agent with shell
- Operating systems
- Any
- Needs
- Runtime: Not stated; Needs internet: Not stated; Needs accounts or API keys beyond your agent: Not stated
- Files and data
- Reads files: Yes; Writes files: Yes; Sends data to other services: Not stated
- Tool type
- Agent
- Delivery
- From GitHub
- Version
- Latest on the dev branch
- Access
- Code on GitHub
- Compatibility
- According to the README, install routes cover macOS and Linux through Homebrew, Windows through Scoop and the choco command, Arch Linux through pacman and paru, any operating system through mise, and Nix. The beta desktop app has downloads for macOS on Apple Silicon and Intel, Windows, and Linux as .deb, .rpm or .AppImage.
- External costs
- The repository is MIT-licensed and states no pricing. The model provider you connect may charge for usage.
- Permissions
- The README offers a downloaded installer script piped into bash, global npm and mise installations, and package-manager routes including Homebrew, Scoop, Chocolatey and Arch Linux packages. The README says the install script chooses its path in this order: OPENCODE_INSTALL_DIR, XDG_BIN_DIR, $HOME/bin, then $HOME/.opencode/bin. The README also offers a beta desktop application. The repository's top-level file list includes a script/ folder; the README does not describe its contents. The README describes build as the default full-access agent for development work. The README describes plan as read-only, denying file edits by default and asking permission before running bash commands. The README points to its documentation for further configuration.
- Usage terms
- MIT License, as stated in the repository. See its LICENSE file for the exact terms.
Code on GitHub
anomalyco/opencode
MITThe open source coding agent.
Public GitHub data fetched · 0 days old
View on GitHub ↗What it does
The README describes OpenCode as an open source AI coding agent. The README shows a terminal interface and offers a desktop application labeled BETA, with downloads for macOS on Apple Silicon and Intel, Windows and Linux.The README says the built-in build and plan agents can be switched with the Tab key. The README describes build as the default full-access agent for development work. The README describes plan as read-only, denying file edits by default and asking permission before running bash commands. The README calls plan suitable for exploring unfamiliar codebases or planning changes.
The README describes a general subagent for complex searches and multistep tasks. The README says it is used internally and can be invoked with @general in messages. The README points to the project documentation for configuration.
Who it is for
Developers who want an open source AI coding agent for the terminal or the desktop.Example tasks
Install OpenCode with an install script or a package manager such as npm, Homebrew or Scoop.Switch between the build and plan agents with the Tab key.
Use the plan agent to explore an unfamiliar codebase.
Invoke the general subagent with @general in a message.
Download the beta desktop app for macOS, Windows or Linux.
Getting started
The README gives an install script and several package manager commands, for example:npm i -g opencode-ai@latest
brew install anomalyco/tap/opencode
scoop install opencode
choco install opencode
A comment next to the npm command says or bun/pnpm/yarn. The README says to remove versions older than 0.1.x before installing.
The beta desktop app can be downloaded from the releases page, or installed on macOS with brew install --cask opencode-desktop.
The README has the exact commands.
Limitations
The README labels the desktop app BETA. It tells readers to remove versions older than 0.1.x before installing. It does not name model providers, accounts or API keys, and it points to the project documentation for configuration. The README describes the default build agent as having full access for development work.The repository can change at any time; check its README before you install.