Setup

Configure OpenCode to use Geoff as your AI backend.

1. Set your API key

export GEOFF_API_KEY="your-api-key"

2. Configure OpenCode

Update your OpenCode settings to point to the Geoff API:
{
  "provider": {
    "type": "openai-compatible",
    "base_url": "https://geoff.ai/api/v1",
    "api_key": "${GEOFF_API_KEY}"
  },
  "model": "magma"
}

3. Start coding

OpenCode will now use Geoff for all AI-powered features.