Skip to main content
Back

GitHub Opens Copilot SDK to All Developers Across Six Languages

GitHub's Copilot SDK hits GA with six languages, MCP support, and BYOK — letting any app embed Copilot's full agent runtime

Repo, Full Access
  • GA release: The GitHub Copilot SDK is now generally available, announced at Microsoft Build 2026 on June 2.
  • Six languages: Node.js/TypeScript, Python, Go, .NET, and newly added Rust and Java are all supported at GA.
  • Production runtime: Exposes the same agent engine behind Copilot CLI, handling planning, tool invocation, file edits, streaming, and multi-turn sessions.
  • MCP + custom tools: Connect to any Model Context Protocol server or register your own tools for the agent to call autonomously.
  • BYOK support: Use your own OpenAI, Azure AI Foundry, or Anthropic keys with no GitHub Copilot subscription required.
  • Pricing: Free for Copilot subscribers (counts against premium request quota); BYOK users pay their own provider directly.

GitHub just made the Copilot SDK generally available, and the headline undersells it. This is not a thin wrapper around a chat API. The SDK gives you direct, programmatic access to the same agent runtime behind GitHub Copilot, including planning, tool invocation, file edits, streaming, and multi-turn sessions, so you do not have to build your own orchestration layer. In other words, the engine that powers Copilot CLI is now something you can drop into your own app in a few lines of code.

Six languages, one runtime

The SDK reached general availability across six languages: Node.js/TypeScript, Python, Go, and .NET (carried over from the January technical preview), plus Rust and Java, both new at GA. With Rust and Java added, the SDK now covers the language ecosystems that dominate enterprise development.

Installation is a single command per language:

  • npm install @github/copilot-sdk
  • pip install github-copilot-sdk
  • go get github.com/github/copilot-sdk/go
  • dotnet add package GitHub.Copilot.SDK
  • cargo add github-copilot-sdk
  • Java via Maven or Gradle: com.github:copilot-sdk-java

For Node.js, Python, and .NET SDKs, the Copilot CLI is bundled automatically and no separate installation is required. Go and Rust users still need to install the CLI separately or point to a custom binary.

What the runtime actually gives you

The runtime includes planning, tool invocation, file edits, streaming, multi-turn sessions, custom tool registration with autonomous invocation, fine-grained system-prompt customization, OpenTelemetry tracing with W3C trace-context propagation, and flexible authentication via GitHub OAuth, GitHub Apps, tokens, or bring-your-own-key.