caozhiyuan/copilot-api

Universal local AI gateway & desktop app for Claude Code, Codex, OpenCode, and Antigravity (AGY) — unify GitHub Copilot, Codex, xAI, Gemini & third-party providers via OpenAI, Anthropic, and Gemini APIs.

About the project

caozhiyuan/copilot-api is a local AI gateway that exposes OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages interfaces for multiple providers. It lets clients such as Claude Code, OpenCode, and Codex connect through one endpoint to GitHub Copilot, the built-in Codex provider, and other configured services.

This repository also configures its own agents. See what copilot-api tells them →

1.1kStars on the repository
14Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown