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

  1. Install OpenCode:
    npm install -g opencode-ai
  2. Configure — Set up your preferred model and API keys through the OpenCode settings.
  3. Select in Blueprint AI — Choose OpenCode from the agent dropdown. It runs as a standalone Go binary (no Node.js bridge required).

Key Details

TypeCLI (JSON-RPC over stdio)
ACP AdapterBuilt-in (no extra package)
Default ModelConfigured 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.