npm install -g opencode-ai
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"anthropic": {
"options": {
"baseURL": "https://api.vectorengine.ai/v1"
}
}
}
}
~/.local/share/opencode/auth.json
{
"google": {
"type": "api",
"key": "1111111111111111111"
},
"anthropic": {
"type": "api",
"key": "sk-xxxxxxxxxxxxx"
}
}