Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>KitPilot Copilot BridgeNew to Visual Studio Code? Get it now.
KitPilot Copilot Bridge

KitPilot Copilot Bridge

KitPilot

|
3 installs
| (0) | Free
Lets the KitPilot CLI borrow GitHub Copilot's language models from this VS Code window over a local socket.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

KitPilot Copilot Bridge

Use GitHub Copilot's models from the KitPilot command-line agent.

KitPilot is a terminal AI coding agent. By default it uses your own API keys (Anthropic, OpenAI, Gemini, …). This companion extension is optional — install it only if you want KitPilot to use GitHub Copilot instead.

Why an extension? Copilot's model API (vscode.lm) only runs inside VS Code, so it can't be called from a standalone terminal. This extension runs inside your editor and securely bridges Copilot to the KitPilot CLI over a local socket on your machine — nothing leaves your computer beyond your normal Copilot requests.

Requirements

  • VS Code with GitHub Copilot installed and signed in (active subscription).
  • The KitPilot CLI:
    npm install -g @kitpilot/cli
    

Setup

  1. Install this extension. It starts automatically — the status bar shows 🚀 KitPilot bridge when it's listening. (You can also run “KitPilot: Start Copilot Bridge” / “…: Stop Copilot Bridge” from the Command Palette.)
  2. Open your project folder in VS Code.
  3. In a terminal in that same folder, run kit and choose GitHub Copilot in the connect picker — or run it directly:
    kit --copilot "explain this codebase"
    
  4. On the first request, approve the Copilot consent prompt in VS Code.

The terminal's folder must match the folder open in VS Code — both derive the same local socket from the path. (If you run kit from a different folder, they won't connect.)

Choosing a Copilot model

Copilot offers models from multiple vendors. In the KitPilot session, run /model to pick from the models your Copilot plan provides (GPT, Claude, Gemini, …). KitPilot remembers your choice.

Troubleshooting

  • CLI can't connect — make sure this extension is running (status bar) and that your terminal is in the same folder VS Code has open.
  • “No Copilot chat model available” — install and sign in to GitHub Copilot.
  • It used my API key instead — you didn't choose Copilot; pass --copilot or pick it via kit --login.

Privacy & license

The bridge only listens on a local socket and forwards requests to Copilot via VS Code's own API; it stores nothing and sends nothing to third parties. Apache-2.0. KitPilot is a derivative work of Roo Code / Cline — see NOTICE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft