OpenCode
A Go-based AI coding agent that runs directly as a binary with self-contained ACP support via its acp subcommand.
Prerequisites
- npm or bun available for installation (the binary is distributed via npm).
Setup
- Install OpenCode:
npm install -g opencode-ai - Configure — Set up your preferred model and API keys through the OpenCode settings.
- Select in Blueprint AI — Choose OpenCode from the agent dropdown. It runs as a standalone Go binary (no Node.js bridge required).
Key Details
| Type | CLI (JSON-RPC over stdio) |
| ACP Adapter | Built-in (no extra package) |
| Default Model | Configured in OpenCode settings |
Troubleshooting
- OpenCode runs directly as a binary, not through Node.js. If you see path errors, set the executable path in
Project Settings > Blueprint AI > BAI Agents > Path Overrides > OpenCode CLI Path.