Overview Version History Q & A Rating & Review
Copilot Remote Bridge
Securely bridge Microsoft Teams or Slack to your local GitHub Copilot CLI.
Chat with your workspace from your phone, tablet, or any device.
Why?
GitHub Copilot CLI's agent mode is powerful but requires a terminal. This
extension lets you interact with it from any Teams or Slack client —
including mobile — while the agent runs locally in your VS Code workspace.
Architecture
┌─────────────┐ Cloud ┌──────────────┐ stdio ┌────────────┐
│ Teams/Slack │◄─────────────►│ ChatBackend │◄──────────►│ Copilot CLI│
│ (any device)│ │ (local VS Code)│ │ --acp │
└─────────────┘ └──────────────┘ └────────────┘
Supported Backends
Backend
Transport
Public Endpoint?
Credentials
Teams
Azure Bot → Dev Tunnel → HTTP
Yes (Dev Tunnel)
Entra App + SecretStorage
Slack
Socket Mode (WebSocket)
No
Bot Token + App Token in SecretStorage
Security
All credentials encrypted via VS Code SecretStorage (OS keychain)
No plaintext secrets in settings.json or source code
Single-tenant Entra enforced for Teams backend
Certificate auth supported (Teams) — no client secret needed
Socket Mode for Slack — no public endpoints exposed
See docs/SECURITY.md for the full security model
Features
💬 Chat with Copilot from Teams or Slack (including mobile)
🔄 Switch modes (/mode plan, /mode code) and models (/model gpt-4)
🔐 Permission system with auto-approve toggle
📋 View plans, session status, tool call progress
🆕 Create/switch sessions, view session list
🃏 Rich cards: Adaptive Cards (Teams) and Block Kit (Slack)
⌨️ 10 slash commands: /help, /mode, /model, /status, /new, /sessions, /cancel, /approve, /thinking, /viewplan
Quick Start
Install the extension from the VS Code Marketplace
Run Copilot Remote Bridge: Setup Credentials from the Command Palette
Choose Teams or Slack and enter your credentials
Run Copilot Remote Bridge: Start Bridge
Send a message from Teams or Slack!
Detailed Setup
Commands
Command
Description
Copilot Remote Bridge: Start Bridge
Start the bridge
Copilot Remote Bridge: Stop Bridge
Stop the bridge
Copilot Remote Bridge: Setup Credentials
Configure backend + credentials
Copilot Remote Bridge: Reset Tunnel
Reset Dev Tunnel URL
Slash Commands (in chat)
Command
Description
/help
Show all commands
/mode [name]
Switch or view Copilot modes
/model [name]
Switch or view AI models
/status
Show session metrics
/new
Start a new session
/sessions
List all sessions
/cancel
Cancel current operation
/approve
Toggle auto-approve permissions
/thinking
Toggle thinking display
/viewplan
Show the latest plan
Development
git clone https://github.com/raghusaripalli/copilot-remote-bridge.git
cd copilot-remote-bridge
npm install
npm run test # Run 139+ tests
npm run typecheck # TypeScript strict mode
npm run lint # ESLint with no-explicit-any
npm run compile # Build with esbuild
Tech Stack
Component
Choice
Language
TypeScript 5.x (strict)
Bundler
esbuild
Test runner
Vitest (139+ tests, 80% coverage target)
Teams SDK
Bot Framework v4
Slack SDK
Bolt SDK v4 (Socket Mode)
Credentials
VS Code SecretStorage
Documentation
License
MIT — see LICENSE