AIAny
AI Client2025
GitHub

vscode-copilot-chat

Source code for the GitHub Copilot Chat extension in VS Code: inline chat, an agent mode that plans and edits files autonomously, next-edit suggestions, and MCP integration. Open-sourced so developers can study how Copilot connects to an editor.

Introduction

Microsoft rarely ships the full source of a flagship commercial extension, yet here is the entire Copilot Chat codebase, archived in May 2026 once development folded back into the main VS Code repo. The real value is not the feature list everyone already knows; it's the chance to read how a production AI coding assistant is actually wired into an editor, prompt construction and all, rather than guessing from a demo.

What Sets It Apart
  • The agent loop is in the open: planning, file edits, command execution, and self-correction are coded as concrete TypeScript orchestration, not hidden behind a service boundary, so you can trace exactly how a task becomes a sequence of tool calls.
  • It is model-agnostic in practice. Beyond Copilot's own service models, the code shows how Claude and Codex providers are slotted in, which means the context-assembly logic is decoupled from any single LLM.
  • MCP server integration and custom instructions are first-class, so the extension doubles as a worked example of grounding an editor agent in external tools and project-specific rules.
Who It's For

Great fit if you are building an editor-integrated coding agent and want a real reference for prompt assembly, context gathering, and tool dispatch at production scale. Look elsewhere if you want something runnable or forkable: the repo is archived, active work moved to microsoft/vscode, releases shipped lockstep with the editor, and using the extension itself still requires a Copilot subscription. Treat it as a reading codebase, not a maintained dependency.

Information

  • Websitegithub.com
  • AuthorsMicrosoft
  • Published date2025/06/27

Categories

More Items

GitHub
AI Agent2026

Coordinates multiple coding agents in one workspace: an assistant delegates tasks, tracks their progress, and reports back. Runs locally and uses the model plans or keys you already have.

GitHub
AI Client2026

Runs research, writing, code review, and cross-app tasks from your desktop, with controls over what its agents can do. It works with cloud or local models and pairs approvals with activity logs and sandboxing.

GitHub
AI Client2026

Continue using Harness and AI coding workspaces on your work computer from a browser, phone, or another PC. Connections prioritize end-to-end encrypted P2P, with no public port required on the Host.