M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

GitHub Copilot SDK

Product

The GitHub Copilot SDK lets developers embed the agent runtime behind GitHub Copilot CLI into their own applications, with custom tools and MCP server integration; the episode highlights its built-in session persistence.

◆ PRODUCTGitHub Copilot SDKM365.FM
Title graphic: GitHub Copilot SDK (Product)

Relationships

GitHub Copilot SDK is a product and part of GitHub Copilot.

Description

The GitHub Copilot SDK is a multi-platform software development kit for embedding the Copilot agent in applications and services. It belongs to GitHub Copilot and exposes the same engine that powers the Copilot CLI as a programmable agent runtime. Developers define how an agent should behave, while Copilot handles planning, tool calls and file edits. The SDK is therefore aimed at teams that want agent behaviour inside their own products or internal tools rather than only in a chat window or terminal.

Technically, the SDK is delivered in several language flavours: Node.js and TypeScript, Python, Go, .NET, Rust and Java. Each client communicates with the Copilot CLI running in server mode over JSON-RPC and manages that process automatically. For Node.js, Python and .NET the CLI is bundled with the SDK, whereas for Go, Java and Rust it has to be installed separately. This is a practical point when choosing a language, since it affects packaging and deployment of an application built on the SDK.

The SDK offers several extension points. Developers can define custom agents, skills and tools that the runtime can call. By default the first-party CLI tools are exposed, and a permission handler governs each call, which gives an application a place to approve, restrict or log what the agent is allowed to do. All models available through the Copilot CLI are supported. Authentication normally relies on a Copilot subscription. Alternatively, a bring-your-own-key setup is available, which supports providers such as OpenAI, Microsoft Foundry and Anthropic, with key-based authentication only.

On licensing and lifecycle, the repository describes the SDK as generally available under semantic versioning and licensed under MIT. It also states that the product is being renamed Microsoft Copilot SDK, with the repository moving to the Microsoft organisation in phases. Anyone referencing the project should expect names and locations to change during that transition. The repository page does not describe MCP integration in detail, so the extent of MCP server support should be checked in the current documentation rather than assumed.

The M365.FM episode "Enterprise AI Agent Fabric: Architecture Beyond Chatbots" mentions the GitHub Copilot SDK in the context of designing and managing agent interfaces. According to the episode, tools such as the GitHub Copilot SDK and Agent Builder can be used to brainstorm ideas and set up projects, giving a structured way to build specialised agents and implement core features. The episode places these tools among UI frameworks that help create visual dashboards for agent monitoring, set up project templates for new agents, and test agent behaviour and make changes quickly. In that framing, the SDK is one building block in a wider agent architecture that goes beyond simple chatbots, where control and monitoring of agent actions matter as much as the agents themselves.

Typical decisions around the SDK include which language binding fits the existing stack, whether to rely on a Copilot subscription or bring-your-own-key, how strictly to configure the permission handler for tool calls, and which custom tools and skills an agent needs. Because the runtime is the same one used by the Copilot CLI, behaviour observed in the CLI can serve as a reference when building and testing an embedded agent.

Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.

TypeProduct

Frequently asked questions

Questions marked with AI were written with AI from the facts on this page.

What is the GitHub Copilot SDK? (AI)

It is a multi-platform SDK for embedding the Copilot agent in apps and services, exposing the same engine as the Copilot CLI as a programmable agent runtime. Developers define agent behaviour while Copilot handles planning, tool calls and file edits.

Which programming languages does the GitHub Copilot SDK support? (AI)

SDKs exist for Node.js and TypeScript, Python, Go, .NET, Rust and Java. The Copilot CLI is bundled for Node.js, Python and .NET, but must be installed separately for Go, Java and Rust.

Is a Copilot subscription required to use the GitHub Copilot SDK? (AI)

A Copilot subscription is required unless bring-your-own-key is used. That option supports providers such as OpenAI, Microsoft Foundry and Anthropic with key-based authentication only.

Related topics in brief

Topics linked to GitHub Copilot SDK, each briefly explained:

All relationships of GitHub Copilot SDK, grouped by type of relationship:

Part of

Offerings of which GitHub Copilot SDK is a part:

Glossary

Community wiki

Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.

Experts and companies for this topic

Nobody has listed this topic yet. Add it to your profile.

Experts on related topics

Experts on topics related to GitHub Copilot SDK, each with the topic that connects them:

Maintained by Mirko Peters (Microsoft MVP) · Last updated: