GitHub has released the Copilot SDK, a general-availability kit that exposes the agent runtime behind Copilot CLI to developers building their own applications.
Coverage: AI Insiders (reviewed GitHub copilot-sdk repository documentation, July 17, 2026). Repository: github.com/github/copilot-sdk — MIT license; languages Python, TypeScript, Go, .NET, Java, Rust; latest release v1.0.7 (2026-07-16); last push ~2026-07-18.
Technical model:
- SDKs talk to a local Copilot CLI process over JSON-RPC; client manages process lifecycle or connects to an external CLI server.
- Runtime handles planning, tool invocation, and file edits; apps define agent behavior.
- First-party CLI tools exposed by default; permission handlers let apps approve/deny/customize tool calls.
- Custom agents, skills, and tools supported; any model available through Copilot CLI is available through the SDK.
Licensing / billing:
- Standard usage requires active GitHub Copilot subscription; prompts count against the same usage allowance as the CLI.
- BYOK (Bring Your Own Key) for OpenAI, Azure AI Foundry, and Anthropic — key-based auth only; no Microsoft Entra ID / managed identities / third-party IdPs.
- Positions against Anthropic Claude Agent SDK and OpenAI Agents SDK (usage-billed hosted APIs vs subscription-gated Copilot runtime).
Community: unofficial Clojure and C++ ports exist (unsupported by GitHub). Semantic versioning and changelog signal maintained platform intent.
Source: AI Insiders / GitHub copilot-sdk docs.