Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

betaHi/copilot-api

Open more actions menu
 
 

Repository files navigation

copilot-api (DEPRECATED — use copilot-bridge)

Important

This repository is no longer maintained. Active development has moved to copilot-bridge, which supports both Codex CLI , Codex App and Claude Code out of the box.

What's new in copilot-bridge

  • Codex CLI support (auto-writes ~/.codex/config.toml)
  • Codex App support (same with codex cli)
  • Claude Code support (no flags needed)
  • Web Search support
  • End-to-end reasoning support
  • Tool call compatibility. Adapts MCP tool names and tool call payloads to each upstream model's constraints
  • End-to-end tested with the real Codex / Claude CLIs

Migration

Replace any old commands:

# old
npx betahi-copilot-api@latest start

# new
npx betahi-copilot-bridge@latest start

For Claude Code, set ANTHROPIC_BASE_URL to the bridge port (default 4142) in ~/.claude/settings.json. For Codex CLI or Codex App, just run start once — the bridge writes a managed block into ~/.codex/config.toml for you.

See the new README: https://github.com/betaHi/copilot-bridge#readme

Archive

The original README has been preserved as README_DEPRECATED.md for reference.

About

Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 82.0%
  • HTML 11.5%
  • JavaScript 5.8%
  • Other 0.7%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.