copilot-sdk

Automates programmatic interaction with GitHub Copilot via SDK for multiple languages.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill copilot-sdk-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copilot-sdk
Source: https://github.com/microsoft/skills/tree/main/.github/skills/copilot-sdk
Command: npx skills add https://github.com/microsoft/skills --skill copilot-sdk-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Copilot automation and session orchestration are complex to implement across multiple languages. The Copilot SDK provides a unified interface to manage sessions, tools, MCP servers, and BYOK providers, simplifying integration and deployment.

Core Features & Use Cases

  • Cross-language SDKs (Node.js/TypeScript, Python, Go, .NET) to programmatically control Copilot.
  • Manage sessions, streaming, custom tools, MCP server lifecycle, and Bring-Your-Own-Key providers.
  • Use cases include building Copilot-powered apps, automated code workflows, and scalable agent orchestration across projects.

Quick Start

Install the Copilot SDK in your project and initialize a client to start a session.

Frequently Asked Questions about copilot-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub Copilot sessions programmatically across multiple languages?

The Copilot SDK wraps the Copilot CLI and MCP servers to provide a unified interface for Node.js, Python, Go, and .NET. It enables deterministic task orchestration, resumable sessions, and secure credential handling for scalable workflows.

Can I use Bring-Your-Own-Key providers with Copilot automation?

Yes, Copilot automation through the SDK fully supports Bring-Your-Own-Key (BYOK) providers. This allows you to securely manage credentials and integrate custom providers into your Copilot-driven workflows across different programming environments.

Does the Copilot SDK support Python and Go for agent orchestration?

Yes, the Copilot SDK supports Python and Go for agent orchestration, alongside Node.js, TypeScript, and .NET. This cross-language support enables scalable, multi-project environments with deterministic task management and resumable sessions.

What is the best way to manage MCP server lifecycle in automated coding workflows?

The best way to manage MCP server lifecycle in automated coding workflows is using a unified SDK that wraps MCP servers. The Copilot SDK handles server lifecycle, custom tools, and session streaming securely across multiple programming languages.

How do I build scalable Copilot-driven apps with resumable sessions?

You build scalable Copilot-driven apps by initializing a Copilot SDK client to start and manage sessions. The SDK provides deterministic task orchestration and resumable sessions, ensuring reliable execution across multi-project environments.