AI product Open source

GitHub Copilot SDK

The GitHub Copilot SDK is a multi-platform SDK from GitHub for embedding the agent runtime behind Copilot CLI in applications and services. It provides SDKs for Node.js/TypeScript, Python, Go, .NET, Java, and Rust, allowing applications to invoke Copilot agent workflows while the runtime handles planning, tool invocation, file edits, and related orchestration. Applications can also define custom agents, skills, and tools.

View repository Mentioned in 1 video ↓

Overview

Each SDK communicates with Copilot CLI running as a server over JSON-RPC. The SDK manages the CLI process lifecycle automatically and can connect to an externally run CLI server. The repository provides package-specific installation and API instructions; the CLI is bundled automatically for Node.js, Python, and .NET, while Go, Java, and Rust generally require a separately available CLI, with application-level bundling features available for Go and Rust.

Standard use requires a GitHub Copilot subscription, and usage follows the Copilot CLI billing model, with prompts counted toward the applicable allowance. A BYOK mode supports API keys from supported providers without GitHub authentication.

What GitHub Copilot SDK is used for

1 use taken from transcripts — each links to the moment in the video.

  • A multi-platform toolkit for embedding Copilot's agentic workflows into applications. It handles planning, tool calls, and file edits and is available for Python, TypeScript, Go, .NET, Java, and Rust.

Videos mentioning GitHub Copilot SDK

1 in the library.