The open-source coding agent OpenCode ships two built-in agents: 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, aimed at exploring unfamiliar codebases or planning changes. A Tab key switches between them, and a general subagent invoked with @general handles complex searches and multistep tasks. Installation spans a shell script, npm, brew, scoop, pacman, mise and nix, with a desktop application also available.
The open-source coding agent OpenCode ships two built-in agents: 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, aimed at exploring unfamiliar codebases or planning changes. A Tab key switches between them, and a general subagent invoked with @general handles complex searches and multistep tasks. Installation spans a shell script, npm, brew, scoop, pacman, mise and nix, with a desktop application also available.