下载:v2.0.4v2.0.4 ↓2.0.42026-11-27
-1
日增长
+23
周增长
10,721
stars
1,542
forks
116
watchers
0
prs
1,127
issues
285
releases

README

Microsoft Copilot SDK

 [!IMPORTANT]
 GitHub Copilot SDK is becoming Microsoft Copilot SDK, the programmable interface for the Microsoft Copilot harness, the shared agent foundation used across Microsoft and GitHub products.

 The SDK repository will move to the Microsoft organization as part of a phased transition. Existing package names, namespaces, and some documentation may continue to reference GitHub Copilot SDK during the transition. No immediate changes are required for existing users. Learn more about the transition.
 
 Support for the Copilot SDK remains the same. For more information: SUPPORT.md








Agents for every app.

Embed Copilot's agentic workflows in your application with the Microsoft Copilot SDK for Python, TypeScript, Go, .NET, Java, and Rust.

The Microsoft Copilot SDK exposes the same engine behind Copilot CLI: a production-tested agent runtime you can invoke programmatically. No need to build your own orchestration—you define agent behavior, Copilot handles planning, tool invocation, file edits, and more.

 Available SDKs

| SDK                      | Location                                                                | Cookbook                                                                                              | Installation                                                                                                                                                                                                                               | API docs                                                                       |
| ------------------------ | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| Node.js / TypeScript | nodejs/                                                  | Cookbook | npm install @microsoft/copilot-sdk                                                                                                                                                                                                          |                                                                                |
| Python               | python/                                                  | Cookbook | pip install microsoft-copilot-sdk                                                                                                                                                                                                           |                                                                                |
| Go                   | go/                          

Top issues

Discussions

Latest release

v2.0.4 v2.0.4 2026-11-27
- Fixed prompt-cache diagnostics that incorrectly reported history_rewritten after a tool call or on the first request after resuming a session when the conversation history sent to the model hadn’t changed.
- Keep repaired lazy extensions dormant after an eager startup fails.
- Replace extension-permission-access with extension-launch; require approval before extension execution while preserving applicable reusable legacy grants.
- Keep the selected custom agent after a reload when agent files share a display name.
- Preserve the selected built-in agent during reload when a custom agent has t

Snapshot: 2026-11-28T10:06:57Z · Data license Apache-2.0 · JSON