A small compatibility bridge that lets any OpenAI- or Anthropic-compatible tool run on your GitHub Copilot subscription. Runs on your machine, with your own credentials.
A compatibility bridge that lets any OpenAI- or Anthropic-compatible tool run on your GitHub Copilot subscription. Sign in once, get a key, paste it into your editor.
export ANTHROPIC_BASE_URL=https://157-245-80-136.sslip.io export ANTHROPIC_AUTH_TOKEN=cpb_…your key… claude
# approve the device code in your browser
npx copilotbridge auth
localhost:4141.
npx copilotbridge start
export ANTHROPIC_BASE_URL=https://157-245-80-136.sslip.io export ANTHROPIC_AUTH_TOKEN=copilot claude
OpenAI Chat Completions and Anthropic Messages, from one bridge. Use whichever your tool speaks.
Full streaming, tool calling, tool results, and image inputs, translated faithfully in both directions.
Your Copilot token never leaves your machine. No third-party proxy sits in the middle.
Each person signs in with their own GitHub. Tokens are encrypted at rest and keys are stored only as hashes.
Pure Node.js. No build step, no framework, nothing to install beyond Node 20+.
Claude Code · Codex CLI · Cline · Kilo Code · Aider · the OpenAI SDK · the Anthropic SDK · anything that accepts a custom base URL.
Copilot Bridge is unofficial community software. It is not affiliated with, endorsed by, or official software from GitHub or Microsoft. It runs on your own machine and uses your own Copilot credentials. Use it responsibly and in accordance with the GitHub Copilot terms of service.