# GitHub Copilot SDK
GitHub Copilot SDK is [[GitHub]]'s multi-language SDK for embedding the [[GitHub Copilot]] agent runtime into any application or service. It exposes the same execution loop that powers [[GitHub Copilot CLI]] — planning, tool calls, file edits, command execution — as a programmable library. Technical preview launched January 22, 2026; entered public preview April 2, 2026.
The pitch: instead of building your own agent loop on top of raw model APIs, use the same production-tested runtime [[GitHub]] uses internally.
## Language Support
- Python
- TypeScript / Node.js
- Go
- .NET (C#)
- Java
## Core Capabilities
- **Production agent runtime** — plan, invoke tools, edit files, run commands as a programmable layer
- **Multi-model routing** — same model selection as Copilot CLI ([[Anthropic]], [[OpenAI]], Google models)
- **[[Model Context Protocol (MCP)]] integration** — connect to MCP servers for custom tools
- **Real-time streaming** — token-by-token and tool-call streaming
- **Fine-grained system prompt customization**
- **Blob attachments** — images and binary data as agent inputs
- **OpenTelemetry support** — observability for production deployments
- **Permission framework** — gate sensitive operations with custom approval logic
- **[[Bring Your Own Key (BYOK)]]** — supply your own model API keys instead of going through Copilot billing
## Integrations
- **Microsoft Agent Framework** — first-party integration with .NET and Python flavors; supports function tools, streaming, multi-turn conversations, permissions, and MCP servers
## Positioning
Where [[GitHub Copilot CLI]] is the end-user terminal product, the SDK is the underlying engine repackaged for embedding. It competes with:
- [[Claude Code SDK]] / [[Claude Managed Agents]] (Anthropic)
- [[OpenAI]] Agents SDK
- [[Vercel AI SDK]]
- Microsoft Agent Framework (which itself integrates this SDK as one provider)
The differentiation is the same as Copilot's broader play: enterprise distribution, GitHub-native tools, multi-provider model routing under one billing relationship.
## Use Cases
- Embedding an autonomous coding agent into custom IDEs, web apps, or internal developer tooling
- Background automation that needs Copilot's planning + tool-use loop without a human in front of a terminal
- Multi-agent systems where Copilot is one specialist among others (via Microsoft Agent Framework or similar orchestrators)
## References
- GitHub: https://github.com/github/copilot-sdk
- Public preview announcement: https://github.blog/changelog/2026-04-02-copilot-sdk-in-public-preview/
- GitHub blog launch: https://github.blog/news-insights/company-news/build-an-agent-into-any-app-with-the-github-copilot-sdk/
- Microsoft Agent Framework integration: https://devblogs.microsoft.com/semantic-kernel/build-ai-agents-with-github-copilot-sdk-and-microsoft-agent-framework/
- Microsoft Learn: https://learn.microsoft.com/en-us/agent-framework/agents/providers/github-copilot
## Related
- [[GitHub Copilot]]
- [[GitHub Copilot CLI]]
- [[GitHub]]
- [[AI Agents]]
- [[AI Agent Harness]]
- [[AI SDKs]]
- [[Claude Code SDK]]
- [[Vercel AI SDK]]
- [[Model Context Protocol (MCP)]]
- [[Bring Your Own Key (BYOK)]]
- [[Claude Code]]
- [[Kimi CLI]]