← all repositories

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.

oc-go-cc
Velocity · 7d
+12
★ / day
Trend
steady
star history

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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.