Connect your Python AI agents to GitHub Copilot with a powerful local bridge inside VS Code
✨ Overview
Copilot Agent Bridge unlocks the full power of GitHub Copilot by allowing your external AI systems (like Python agents) to communicate with it via a local HTTP server.
Build advanced AI workflows, automate coding tasks, and create intelligent developer tools beyond the VS Code UI.
📸 Screenshots
🔹 Dashboard (Live Monitoring)

🔹 Sidebar (Quick Controls)

🔹 test consol

🔹 multi model test consol

🔹 live info

🚀 Features
🔗 Local HTTP Bridge
Run a secure local server to connect Python agents or external tools directly to Copilot.
🤖 Multi-Model Support
Access powerful models:
gpt-4ogpt-4o1o3-mini
And if you have any subscription of copilot so use all models.
🤖 Supported AI Models
✨ Copilot Agent Bridge supports a wide range of powerful AI models available through GitHub Copilot (depending on your subscription plan).
🔹 🧠 OpenAI Models
Harness cutting-edge intelligence for coding, reasoning, and multimodal tasks:
- 🚀
gpt-4o— Fast, multimodal flagship model - 🧩
gpt-4.1— Enhanced coding + reasoning (default in some environments) - ⚡
gpt-4-turbo— Optimized GPT-4 with improved speed - 🪶
gpt-3.5-turbo— Legacy model for basic tasks - 🆕
gpt-5(latest preview) - 🔹
gpt-5-mini— Lightweight & efficient - 🔥
gpt-5.1— Next-gen performance boost
🔹 🧮 Reasoning Models (OpenAI “o-series”)
Designed for deep thinking and complex problem-solving:
- 🧠
o1— Advanced reasoning powerhouse - ⚡
o1-mini— Lightweight reasoning model - 🚀
o3-mini— Fast & efficient reasoning
🔹 🤖 Anthropic Models (Claude)
Reliable, safe, and highly capable AI assistants:
- 🎯
claude-sonnet-4 - ✨
claude-sonnet-4.5 - 🏆
claude-opus-4.5 - 🚀
claude-opus-4.6 - ⚡
claude-haiku-4.5— Fast & lightweight
🔹 🌐 Google Models
Powered by Google's advanced AI research:
- 💡
gemini-2.5-pro— High-performance multimodal model
🔹 🛠️ Other / Agent Models
Specialized tools for coding and automation:
- 👨💻
codex— OpenAI coding agent - 🤖
copilot-agent— Built-in GitHub Copilot agent - 🧩 Custom Models (BYOM) — Bring Your Own Model
⚠️ Important Notes
💡 Keep in mind:
- 📦 Model availability depends on your Copilot plan (Free, Pro, Pro+, Business, Enterprise)
- 🖥️ Not all models appear in every environment (VS Code, CLI, GitHub, etc.)
- 🔄 GitHub may update (add/remove) models over time
✨ Stay updated and choose the model that best fits your workflow! 🚀
📊 Real-Time Dashboard
Track:
- Request latency
- Token usage
- Errors
- Live activity
📁 Agent Management
Connect and manage multiple AI agent directories seamlessly.
🧪 Built-in Testing
Test prompts directly inside VS Code before integrating into your agent.
📜 Request Logging
Full request/response history with debugging support.
⚙️ Advanced Configuration
Customize:
- Port & host
- Timeout settings
- Authentication tokens
- Default AI model
🛠️ How It Works
Python Agent → HTTP Request → VS Code Extension → GitHub Copilot → Response → Agent
- Start the bridge server
- Send request from your AI agent
- Extension forwards it to Copilot
- Response is returned instantly
⚡ Quick Start
1️⃣ Start the Bridge
Ctrl + Shift + P → "Copilot Bridge: Start Bridge Server"
2️⃣ Configure Your Agent
COPILOT_BRIDGE_URL=http://127.0.0.1:8765
3️⃣ Send a Request
POST /chat
{
"message": "Explain recursion simply"
}
🔌 Use Cases
- 🤖 Build custom AI coding assistants
- 🔄 Automate development workflows
- 🧠 Create autonomous AI agents
- 🧪 Experiment with LLM pipelines
- 🛠️ Build developer tools powered by Copilot
🔐 Security
- Runs locally (
127.0.0.1) - Optional Bearer token authentication
- No external API exposure
- Full local control
📦 Installation
🔹 From VS Code Marketplace
Search: Copilot Agent Bridge
🔹 Manual Installation
- Download
.vsix - Open VS Code
- Extensions →
...→ Install from VSIX
📌 Requirements
- VS Code 1.80+
- GitHub Copilot enabled
- Active Copilot subscription
💡 Why Use Copilot Agent Bridge?
GitHub Copilot is powerful — but limited to editor interactions.
This extension lets you:
✔ Build AI systems around Copilot ✔ Automate repetitive coding tasks ✔ Extend Copilot into APIs ✔ Integrate with external tools ✔ Create next-gen developer workflows
🧪 Development Setup
git clone https://github.com/Rishavdes/copilot-agent-bridge.git
cd copilot-agent-bridge
npm install
npm run package
📈 SEO Keywords
copilot, vscode extension, ai agent, python ai, gpt-4o, automation, llm, developer tools, copilot api, ai workflow, coding assistant
🤝 Contributing
Contributions are welcome!
- 🐛 Report bugs
- 💡 Suggest features
- 🔧 Submit pull requests
📄 License
MIT License
⭐ Support
If you like this project:
- ⭐ Star the repository
- 🔁 Share with others
- 🧠 Build amazing AI tools
🚀 Build smarter AI workflows with Copilot Agent Bridge
✅ Dashboard Upgrades (Latest)
This project includes an upgraded dashboard experience:
- 🧪 Multi-Model Test Console (parallel testing with live feed)
- 🧾 Full response display (no truncation in multi-model results)
- ♾️ Unlimited context window (no
max_tokens: 8000cap) - 🎚️ Advanced parameters are real (temperature + thinking)
- 🔍 Auto-detect models (filter-only view to show what VS Code Copilot exposes)
Note: “Free/Paid” labeling depends on what VS Code exposes for each model. If tier data isn’t available, the UI shows Unknown.
🧩 API (Bridge) Overview
The extension runs a local HTTP bridge so external tools can send prompts to Copilot.
Example request
POST /chat
{
"message": "Explain recursion simply"
}
Typical response shape
{
"content": "...",
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0
}
}
📝 Note about VS Code Marketplace publishing
Publishing/upload instructions are intentionally not included in this README.