samueltuyizere/oc-go-cc
A Go CLI proxy that transforms Claude Code API requests and routes them through OpenCode to use open-source coding models.

The tool intercepts Anthropic-format requests from Claude Code and translates them to OpenAI, Responses, or Gemini API formats for OpenCode’s endpoints. It includes model routing, fallback chains, circuit breakers, token counting via tiktoken, hot-reload configuration, and background daemon mode. This enables using Claude Code’s interface with affordable open-source coding models via OpenCode Go or Zen subscriptions instead of Anthropic directly.