vscode-copilot-bridge

A VS Code extension that exposes GitHub Copilot through a local interface using the official Language Models API. It lets local tools and scripts talk to Copilot without a separate service.

Share on XLicense: Apache-2.0

Overview

Copilot Bridge is a VS Code extension that lets local tools talk to your own GitHub Copilot session through an OpenAI-style HTTP interface. It relies only on the public VS Code Language Model API, not on private Copilot endpoints. You run it inside the editor and point CLI tools, scripts or agents at the local address to experiment with Copilot models.

Key features

  • Local HTTP server bound to 127.0.0.1
  • OpenAI-style chat completions, models and health endpoints
  • Streaming responses over SSE
  • Bearer token authentication is required
  • Concurrency and rate limits keep VS Code responsive

Best for

Developers who want to try agents or CLI tools against their own Copilot subscription on one machine. It is meant for personal, single-user use, not shared servers, CI or public hosting.

Upstream
larsbaunwall/vscode-copilot-bridge
Fork on GitHub
Guo-astro/vscode-copilot-bridge
Upstream stars
129
Category
AI agents and LLM tools
License
Apache-2.0
Forked
2025-11-29
Sync status
In syncLast synced 2026-09-29