copilot-sdk

Installation
Summary

Programmatic agent runtime for embedding Copilot's agentic workflows in applications across Python, TypeScript, Go, and .NET.

  • Exposes the same production-tested engine behind Copilot CLI with support for streaming responses, custom tool definitions, and multi-turn conversations
  • Supports four language runtimes (Node.js 18+, Python 3.8+, Go 1.21+, .NET 8.0+) with consistent APIs across all platforms
  • Enables integration with MCP servers for pre-built tools, custom agent personas with specialized prompts, and session persistence across restarts
  • Includes event-driven architecture for tool invocation, streaming chunks, reasoning visibility, and error handling; configurable client and session options for model selection, timeouts, and resource management
SKILL.md

GitHub Copilot SDK

Embed Copilot's agentic workflows in any application using Python, TypeScript, Go, or .NET.

Overview

The GitHub Copilot SDK exposes the same engine behind Copilot CLI: a production-tested agent runtime you can invoke programmatically. No need to build your own orchestration - you define agent behavior, Copilot handles planning, tool invocation, file edits, and more.

Prerequisites

  1. GitHub Copilot CLI installed and authenticated (Installation guide)
  2. Language runtime: Node.js 18+, Python 3.8+, Go 1.21+, or .NET 8.0+

Verify CLI: copilot --version

Installation

Node.js/TypeScript

Related skills

More from github/awesome-copilot

Installs
9.0K
GitHub Stars
32.7K
First Seen
Jan 29, 2026