The @theia/ai-copilot extension integrates GitHub Copilot language models with Theia AI.
This allows users to authenticate with their GitHub Copilot subscription and use Copilot models (e.g., GPT-4o, Claude Sonnet) through Theia's AI features.
Authentication
The extension uses GitHub's OAuth Device Flow for authentication:
Click the "Copilot" status bar item or run the Copilot: Sign In command
A dialog appears with a device code - click the link to open GitHub's device authorization page
Enter the code and authorize the application
The dialog updates to show "Authenticated" and the status bar reflects the signed-in state
Once authenticated, Copilot models become available in the AI Configuration for use with any Theia AI agent.
Note: This extension requires an active GitHub Copilot subscription.
Configuration
Available models can be configured via the ai-features.copilot.models preference: