OpenAdapterOpenAdapter
Integrations

OpenCode

Open-source AI coding agent for the terminal.

OpenCode is a CLI coding agent. Run the one-liner from inside your project root — it installs OpenCode (if needed), writes opencode.json with your API key and the available models, and you're ready.

One-liner install

macOS / Linux:

curl -sL "https://api.openadapter.in/api/setup/opencode?key=YOUR_API_KEY" | bash

Windows (PowerShell):

irm "https://api.openadapter.in/api/setup/opencode-ps?key=YOUR_API_KEY" | iex

Run from your project root — opencode.json is written in the current directory.

On this page