github avatar

Copilot Sdk

If you need to embed Copilot's agent runtime in your own application, this skill walks you through the GitHub Copilot SDK across Python, TypeScript, Go, and .NET. It covers the essentials: setting up sessions, streaming responses, and defining custom tools that Copilot can invoke during reasoning. The examples are practical, showing you how to build weather tools, handle real-time output, and manage permissions. What's nice is you get Copilot's production-tested orchestration engine without building your own agent infrastructure. The code samples work out of the box once you have Copilot CLI installed and authenticated.

skills.sh installs
9.4K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill copilot-sdk --agent claude-code

Installs into .claude/skills of the current project.

Files

Microsoft Copilot SDK

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

Overview

The Microsoft Copilot SDK is transitioning from the GitHub Copilot SDK. It is becoming the programmable interface for the Microsoft Copilot harness, the shared agent foundation used across Microsoft and GitHub products. This transition is happening in phases, and no immediate changes are required for existing users. Package names, namespaces, and some documentation may continue to use GitHub branding during the transition.

This guide keeps the currently published package names and imports in its examples. Follow the official transition announcement for migration updates.

The SDK provides a production-tested agent runtime you can invoke programmatically. You define agent behavior, while Copilot handles planning, tool invocation, file edits, and more.

Prerequisites

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Backend & APIs, DevOps & CI/CD, Git & Pull Requests, AI & Agent Building

More from github/awesome-copilot

All 318
1kunchenguid avatargh-axikunchenguid/gh-axiOperate GitHub through the gh-axi CLI - issues, pull requests, workflow runs, workflows, releases, repositories, labels, gists, Projects (v2), Actions secrets a9.1Kskills.sh installs
2github avataraspiregithub/awesome-copilotAspire skill covering the Aspire CLI, AppHost orchestration, service discovery, integrations, MCP server, VS Code extension, Dev Containers, GitHub Codespaces, 9Kskills.sh installs
3fluxa-agent-payment avatarfluxa-agent-walletfluxa-agent-payment/fluxa-ai-wallet-mcpAI agent co-wallet enabling secure payments, USDC transfers, x402 API payments, and payment-enabled skills.8.9Kskills.sh installs
4google avataragent-platform-migrate-from-ai-studiogoogle/skillsGuides agents and users through migrating from Gemini API in Google AI Studio to Gemini Enterprise Agent Platform (formerly Vertex AI). Use this skill when movi8.9Kskills.sh installs
5github avatarterraform-azurerm-set-diff-analyzergithub/awesome-copilotAnalyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resou8.9Kskills.sh installs
6github avatarworkiq-copilotgithub/awesome-copilotGuides the Copilot CLI on how to use the WorkIQ CLI/MCP server to query Microsoft 365 Copilot data (emails, meetings, docs, Teams, people) for live context, sum8.8Kskills.sh installs