caozhiyuancopilot-api
GitHub Copilot, OpenAI Codex, OpenCode Go, and third-party AI provider gateway with OpenAI and Anthropic API compatibility.
- Repository stars
- 1,141 Star
- All-time
- #38,269 all time
- Fork
- 265 Fork
- Repository created
- since 2025
- Type
- APIs & connectors
- Language
- TypeScript
- License
- MIT
About
READMECopilot API is a local AI gateway that connects Claude Code, OpenCode, Codex, Antigravity CLI (agy), and other clients to GitHub Copilot, the built-in Codex and xAI providers, and third-party model providers through a unified API.
Getting started
Only the GitHub Copilot provider requires a Copilot subscription, and other configured providers can run independently.
Start it with npx @jeffreycao/copilot-api@latest start.
Limitations
- CVE-2026-111497: the Brotli decoder in affected Node.js and Bun runtimes can corrupt memory and allow remote code execution. Upgrade Node.js 22.x to 22.23.4 or later, 24.x to 24.22.1 or later, or 26.x to 26.12.1 or later; upgrade Bun to 1.4.4 or later. Restart the gateway after upgrading. For Docker deployments, rebuild and redeploy the image with a patched runtime.
- Before using GitHub Copilot, read the GitHub Copilot Security Notice.
Summarized by AI from the README · As of 2026-12-02, caozhiyuan/copilot-api had 1,141 stars. According to the 2026-12-02 record, caozhiyuan/copilot-api is catalogued under AI Development Platforms. A permissive license allows commercial use under its terms. The last push was on 2026-12-01. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data
README
View on GitHubRaw observations · 27
| Measured at | Repository stars | Source |
|---|---|---|
| 2026-12-02 00:48 UTC | 1,141 | Source |
| 2026-12-01 00:50 UTC | 1,140 | Source |
| 2026-11-30 00:45 UTC | 1,136 | Source |
| 2026-11-29 00:44 UTC | 1,136 | Source |
| 2026-11-28 00:44 UTC | 1,138 | Source |
| 2026-11-27 00:45 UTC | 1,138 | Source |
| 2026-11-26 00:46 UTC | 1,136 | Source |
| 2026-11-25 01:15 UTC | 1,135 | Source |
| 2026-11-24 01:13 UTC | 1,131 | Source |
| 2026-11-23 01:11 UTC | 1,129 | Source |
| 2026-11-22 01:12 UTC | 1,128 | Source |
| 2026-11-21 01:23 UTC | 1,128 | Source |
| 2026-11-20 01:10 UTC | 1,129 | Source |
| 2026-11-19 01:16 UTC | 1,129 | Source |
| 2026-11-18 01:15 UTC | 1,128 | Source |
| 2026-11-17 01:16 UTC | 1,126 | Source |
| 2026-11-16 01:06 UTC | 1,125 | Source |
| 2026-11-15 01:26 UTC | 1,125 | Source |
| 2026-11-14 01:26 UTC | 1,124 | Source |
| 2026-11-13 01:11 UTC | 1,124 | Source |
| 2026-11-12 00:49 UTC | 1,121 | Source |
| 2026-11-11 01:39 UTC | 1,118 | Source |
| 2026-11-10 00:50 UTC | 1,117 | Source |
| 2026-11-09 00:46 UTC | 1,116 | Source |
| 2026-11-08 00:45 UTC | 1,113 | Source |
| 2026-11-07 14:17 UTC | 1,113 | Source |
| 2026-11-06 10:19 UTC | 1,113 | Source |
Add a badge to your README
For project authors: paste it into the README. It updates daily and links back here.
[](https://github.day/resources/copilot-api-caozhiyuan?ref=badge)