OpenCode puts a coding agent in the terminal: build and plan modes switch with the Tab key, and plan leaves files untouched by default
anomalyco released OpenCode, an open-source AI coding agent available through an install script, npm, bun, pnpm, yarn, Homebrew, Arch Linux's pacman and paru, mise and Nix, plus a desktop application. It ships two built-in agents that switch with the Tab key: build, the default full-access agent for development work, and plan, a read-only agent that denies file edits by default and asks permission before running bash commands, suited to exploring unfamiliar codebases or planning changes. A general subagent, invoked with @general in messages, handles complex searches and multistep tasks.