AI Briefing
KO

GitHub Copilot SDK

·2026.07.17 09:00

Key point

GitHub officially launched the Copilot SDK, which supports 6 programming languages.

Details

The GitHub Copilot SDK is a production-grade SDK that lets you embed Copilot's agentic workflows into your applications. It supports 6 languages—Node.js/TypeScript, Python, Go, .NET, Java, and Rust—and allows programmatic invocation of the same proven agent runtime used by the Copilot CLI.

The SDK communicates with the Copilot CLI server via JSON-RPC, and the SDK automatically manages the CLI process lifecycle. For the Node.js/Python/.NET SDKs, the CLI is automatically bundled, but for Go/Java/Rust, the CLI must be installed separately or set in the PATH.

Key features include exposing Copilot CLI's first-party tools by default, with apps able to approve/reject/customize tool calls. Custom agents, skills, and tool definitions are also supported.

Authentication supports multiple methods: GitHub-logged-in users, OAuth GitHub App, environment variables (COPILOT_GITHUB_TOKEN, GH_TOKEN, GITHUB_TOKEN), and BYOK (using your own API key). With BYOK, you can use the SDK with API keys from supported LLM providers such as OpenAI, Azure AI Foundry, and Anthropic without GitHub authentication.

A subscription is required for standard usage but not needed in BYOK mode. Billing works the same as Copilot CLI, with each prompt counting toward usage limits. The SDK is in GA (General Availability) status and follows semantic versioning.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.