Copilot SDK Now Generally Available Across Six Languages

GitHub Copilot SDK hits general availability with stable APIs, production support, and six language SDKs. Embed Copilot's agentic engine directly into your apps with custom tools, MCP support, and flexible authentication.

Copilot SDK Now Generally Available Across Six Languages

TL;DR

  • GitHub Copilot SDK is now GA with stable APIs and production support
  • Available in Node.js, Python, Go, .NET, Rust, and Java
  • New Rust SDK, multi-client workflows, and improved diagnostics since preview

New

  • Rust and Java SDKs — Full language support added at GA; Rust bundles the Copilot CLI binary by default
  • Multi-client session workflows — Different clients can now contribute tools and permissions to the same session
  • Slash commands and interactive prompts — Available across all SDKs for richer user interactions
  • Custom tools and MCP support — Register autonomous tools, connect Model Context Protocol servers, or override built-in tools like grep and edit_file
  • Fine-grained system prompt customization — Edit individual prompt sections (identity, tone, tool instructions, safety rules) without full rewrites
  • OpenTelemetry tracing — W3C trace context propagation across CLI, JSON-RPC, sessions, and tool execution
  • Flexible authentication — GitHub OAuth, GitHub Apps, environment tokens, and BYOK for OpenAI, Microsoft Foundry, Anthropic
  • Cloud and remote sessions — Cloud-backed sessions with repo metadata or on-demand remote session URLs
  • Hook system — Intercept agent behavior at pre/post tool use, session start, MCP calls, and permission requests

Improved

  • API surface is now stable and production-ready after coordinated cleanup based on preview feedback
  • Better diagnostics for debugging slow or failing connections

Install: Node.js: npm install @github/copilot-sdk | Python: pip install github-copilot-sdk | Go: go get github.com/github/copilot-sdk/go | .NET: dotnet add package GitHub.Copilot.SDK | Rust: cargo add github-copilot-sdk | Java: Maven/Gradle. Available to all Copilot subscribers and non-Copilot users via BYOK. Get started here.

Source: GitHub Changelog