Tool setup
Claude Code
Claude Code speaks Anthropic's API — use a local proxy to reach co/core.
Claude Code calls Anthropic's /v1/messages endpoint. co/core implements OpenAI's /v1/chat/completions, so you need a local proxy that translates between the two protocols.
One option is claude-code-proxy:
# Terminal 1 — start the proxy export OPENAI_BASE_URL="https://console.cocore.dev/api/v1" export OPENAI_API_KEY=cocore-your-key-here python start_proxy.py # Terminal 2 — point Claude Code at the proxy export ANTHROPIC_BASE_URL=http://localhost:8082 export ANTHROPIC_API_KEY=unused claude
Adjust the port to match your proxy. For native OpenAI-compatible tooling without a proxy, see the OpenCode setup page.