GitHub Copilot with Empryo
Already pay for GitHub Copilot? Empryo can drive its models from your existing subscription, no separate API bill. You get Empryo's graph-aware, AST-based agent loop running on Claude, GPT, and Gemini that are already included in your Copilot seat. It is an unofficial integration over the same internal API the IDE extensions use, so treat it as a convenience, not a supported contract.
Popular models
Setup
Empryo authenticates to Copilot with the OAuth token the IDE extension already wrote to disk, not a normal API key. There is no Copilot key to mint in a dashboard.
1. Sign in to Copilot in your IDE
Install the GitHub Copilot extension in VS Code or a JetBrains IDE and sign in. This writes your OAuth token to ~/.config/github-copilot/apps.json (~\AppData\Local\github-copilot\apps.json on Windows).
2. Copy the token
jq -r '."github.com".oauth_token' ~/.config/github-copilot/apps.json3. Save it to Empryo
empryo --set-key copilot <token>Or run /keys inside the TUI. The token lands in your OS keychain (Login Keychain on macOS, libsecret on Linux, DPAPI on Windows), with an encrypted file fallback.
4. Pick a model and run
Press Ctrl+L in the TUI to choose the copilot provider and a model, or go headless:
empryo --headless --model copilot/claude-sonnet-4 "explain this file"Optional: set it as the default and route per task
In ~/.empryo/config.json:
{
"defaultModel": "copilot/claude-sonnet-4",
"taskRouter": {
"ember": "copilot/claude-opus-4",
"spark": "copilot/claude-haiku-4-5",
"compact": "copilot/gemini-2.5-flash"
}
}The task router lets you spend a strong model on code edits (ember) while cheaper models handle research (spark) and compaction — all billed against the same Copilot seat. Verify what is live with empryo --list-models copilot.