microsoft /copilot-sdk
Multi-platform SDK for integrating GitHub Copilot Agent into apps and services
★ 10,721⑂ 1,542👁 116⑃ 0● 1,127▤ 285
-1
Daily
+23
Weekly
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
#1557Anthropic Bedrock request fails because SDK sends deprecated temperature parameter for Opus models7 comments · 2026-06-02#465[Request] Digitally sign .NET versions of binaries6 comments · 2026-02-13#2748BYOK `provider.maxOutputTokens` never reaches the upstream request body (chat completions & responses)5 comments · 2026-09-22#2571Gemini 3.8 Flash is missing from listModels() and silently falls back to Claude Sonnet 55 comments · 2026-09-08#1655API docs parity: Python5 comments · 2026-06-13#99Add Microsoft.Extensions.AI implementations for dotnet SDK5 comments · 2026-01-22#2903C# build targets duplicate the Copilot CLI bundle per source path: no shared cache, archive kept, payload copied twice4 comments · 2026-11-05#2897Linux x64 prebuild 1.0.29-preview.1: runtime.node now needs shared OpenSSL and aborts under VS Code snap RPATH (core20 glibc 2.31 vs host libcrypto.so.3 requiring GLIBC_2.38)4 comments · 2026-11-04
Discussions
#2930Is the support for skills over mcp coming soon ?1 comments · 2026-11-23#2880about polyglot development ?0 comments · 2026-10-29#2771Built a GitHub Shop checkout agent with the Copilot SDK + BYOK (because $74.26|104.93 AUD shipping)1 comments · 2026-09-24#2697Will native support for `previous_response_id` chaining be coming soon?0 comments · 2026-09-16#2508Gemini 3.8 Flash0 comments · 2026-09-03#2174GitHub MCP tool for interactive Copilot chat session (without PR creation)?1 comments · 2026-07-30#2044Topdogligo0 comments · 2026-07-21#1717Chip Configuration0 comments · 2026-06-18
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