GGoesAI
DocsOpenClaw

OpenClaw

Connect OpenClaw to GoesAI via Anthropic compatibility for local Agent workflows.

Config Path

OpenClaw config is usually at ~/.openclaw/config.yml; if OPENCLAW_HOME is set, use $OPENCLAW_HOME/config.yml.

Config File

The Anthropic / Claude compatible Base URL should not include /v1.

yaml
apiProvider: goesai-claude
apiKey: sk-YOUR_KEY
baseUrl: https://api.goesai.com
model: claude-sonnet-4-6
compatibility: anthropic
providers:
  goesai-claude:
    type: anthropic
    baseUrl: https://api.goesai.com
    apiKeyEnv: ANTHROPIC_API_KEY
    models:
      - claude-sonnet-4-6

CLI

You can also write a custom provider via the onboarding command.

bash
export ANTHROPIC_API_KEY="sk-YOUR_KEY"
openclaw onboard --auth-choice custom-api-key \
  --custom-base-url https://api.goesai.com \
  --custom-api-key-env ANTHROPIC_API_KEY \
  --custom-compatibility anthropic \
  --custom-model claude-sonnet-4-6

openclaw config check

Troubleshooting

Model names follow the GoesAI console and pricing page. If a model is unavailable, check Key group, model restrictions and account credits.