Copilot for VS Code OSS


A simplified GitHub Copilot experience, unbundled.
Copilot for VS Code OSS brings the power of GitHub Copilot to your favorite open-source editors. Whether you use VS Code OSS, VSCodium, Cursor, Windsurf, Trae, or Google Antigravity, this extension provides a premium, native-feeling AI chat interface powered by the official GitHub Copilot SDK.
Run the same agentic engine behind the Copilot CLI directly in your sidebar—handling planning, tool invocation, and multi-model support with ease.
✨ Features
- 🤖 Multi-Model Support: Switch seamlessly between top-tier models like GPT-4, Claude 3.5 Sonnet, and others available via your Copilot subscription.
- 💬 Native Chat Experience: A meticulously crafted UI that follows VS Code's design guidelines. It looks and feels like it belongs in your editor.
- 📎 Context-Aware: Attach workspace files to your prompts. The agent understands your code structure and dependencies.
- ⚡ Streaming Responses: Real-time token streaming with visual progress indicators for "thinking" and tool execution steps.
- 🛠️ Agentic Capabilities: Powered by the @github/copilot-sdk, the agent can plan complex tasks, edit files, and run commands (coming soon).
- 🔒 Secure & Private: Uses your own GitHub Copilot subscription. Your code stays between you and GitHub.
🚀 Tested Environments
This extension is designed to be universal. It has been tested and verified on:
- Visual Studio Code (Official)
- VSCodium (Open Source)
- Cursor (AI Editor)
- Windsurf
- Trae
- Kiro
- Google Antigravity
📋 Prerequisites
Before you begin, ensure you have the following secure environment:
- Node.js 18+: Required to run the extension backend.
- GitHub Copilot Subscription: You need an active subscription (Individual, Business, or Enterprise).
- Copilot CLI: The extension relies on the
github-copilot-cli for authentication and model access.
# Install via npm
npm install -g @githubnext/github-copilot-cli
# Authenticate
github-copilot-cli auth
📦 Installation
From Marketplace (Coming Soon)
Search for Copilot for VS Code OSS in your editor's extension marketplace.
Manual Installation (VSIX)
- Download the latest
.vsix release from the Releases page.
- In VS Code, open the Command Palette (
Ctrl+Shift+P / Cmd+Shift+P).
- Type
Extensions: Install from VSIX... and select the downloaded file.
Building from Source
# 1. Clone the repository
git clone https://github.com/maxinne-dev/copilot-for-vscode-oss.git
cd copilot-for-vscode-oss
# 2. Install dependencies
npm install
cd webview && npm install && cd ..
# 3. Compile the extension
npm run compile
# This generates the compiled files in the dist/ directory
⚙️ Configuration
Customize your experience in VS Code Settings (Ctrl+,):
| Setting |
Default |
Description |
copilot-oss.defaultModel |
gpt-4.1 |
The default model to use for new sessions. |
🧭 Roadmap
- [ ] Slash commands (e.g.,
/fix, /explain)
- [ ] Terminal integration (run suggested commands directly)
- [ ] MCP Server Support (Model Context Protocol)
🤝 Contributing
We welcome contributions! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Make your changes and test them
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
📄 License
This project is licensed under the AGPL-3.0 License.
🤖 AI Usage
This was built with heavy assistance from AI tools. Most of it was implemented using Google Antigravity with various models, Claude Code VSCode plugin sometimes when AG quotas were exceeded, and GitHub Copilot for code review, analysis, and repository chores.
Made with ❤️ for the Open Source Community