Skip to content

Releases: aaronlab/conduit

v1.0.0 — Run Claude Code with Opus 4.7 on your Copilot subscription

17 Apr 09:17

Choose a tag to compare

First public release of Conduit — a local GitHub Copilot API reverse proxy that lets you run Claude Code (and any Anthropic SDK) on your existing Copilot subscription.

Highlights

  • 🚀 Run Claude Opus 4.7 in Claude Code — via your GitHub Copilot subscription, no Anthropic API account needed
  • 🔁 Native Anthropic Messages API passthrough — no translation loss; thinking, output_config.effort, cache_control, tool use, streaming, prompt caching all work
  • 🌐 Also supports GPT / Gemini via OpenAI Chat Completions translation
  • 📊 Local dashboard at :7023 — live stats, request log, model catalog
  • 🔐 GitHub OAuth Device Flow — one-time login, JWT auto-refreshes
  • 💾 SQLite request log — every call recorded with model, latency, tokens, strategy

Auto-fixes for Copilot quirks

Conduit transparently reshapes requests so you don't have to special-case models:

  • thinking: { type: "enabled" }adaptive + derived effort for Opus 4.7
  • Per-model effort clamping (Opus 4.7 only accepts medium, Haiku 4.5 doesn't support effort at all)
  • effort: "max" / "xhigh" → mapped to "high" for Copilot
  • Strips top-level fields Copilot rejects (context_management, etc.)

See docs/MODEL_COMPATIBILITY.md for the full per-model matrix.

Quick Start

git clone https://github.com/aaronagent/conduit.git
cd conduit
bun install
CONDUIT_API_KEY=$(openssl rand -hex 16) bun run dev

Then point Claude Code at it:

unset ANTHROPIC_API_KEY
export ANTHROPIC_BASE_URL=http://localhost:7033
export ANTHROPIC_AUTH_TOKEN=<your-key>
export ANTHROPIC_MODEL=claude-opus-4.7
claude

Full instructions in the README · 中文

Requirements

  • GitHub Copilot subscription (Individual / Business / Enterprise)
  • Bun ≥ 1.3
  • macOS / Linux / WSL

License

MIT