copilot-sdk-dotnet

Installation
SKILL.md

GitHub Copilot CLI SDK (.NET)

Use this skill to guide SDK integration, select appropriate APIs, and provide C# code examples. Focus on practical implementation patterns for .NET.

Quick workflow

  1. Identify the user's goal (client creation, session management, streaming, custom tools, permissions, MCP integration, or custom agents).
  2. Determine if the user needs basic CopilotClient or Microsoft.Agents.AI integration.
  3. Select the matching API section and code pattern.
  4. Provide C# examples with clear context (usings, initialization, event handling).
  5. Call out important defaults and configuration options that affect behavior.
  6. Clarify stability scope: Agent Framework is RC (stable API surface toward GA) while Copilot SDK pieces may still evolve.

SDK selection and installation

Core SDK (Direct Integration)

  • .NET: dotnet add package GitHub.Copilot.SDK (uses AIFunctionFactory and attributes)

Microsoft Agent Framework (Wrapper)

Related skills
Installs
1
GitHub Stars
2
First Seen
Mar 9, 2026