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.
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.
Latest release v2.10.1 · 29 Nov 2026
7 files for Codex, OpenCode and Claude Code: copilot-api AGENTS.md, copilot-api-code-review, copilot-api-imagegen, copilot-api-videogen and 3 more — 710 tokens loaded in every session.
AGENTS.md A 710 tok .agents/skills/copilot-api-code-review/SKILL.md A 93 tok .agents/skills/copilot-api-imagegen/SKILL.md A 155 tok .agents/skills/copilot-api-videogen/SKILL.md A 159 tok .agents/skills/copilot-api-web-search/SKILL.md A 134 tok .agents/skills/desktop-screenshots/SKILL.md A 43 tok .agents/skills/desktop-promo-media/SKILL.md A 96 tok These files are caozhiyuan/copilot-api's own configuration — they tell Codex, OpenCode and Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.