copilot-sdk - Build Copilot-powered applications
Build programmatic Copilot integrations with session management, streaming, custom tools, hooks, MCP servers, and deployment patterns.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create Copilot clients
- Manage sessions
- Send prompts
- Stream responses
- Define custom tools
- Subscribe to events
- Configure lifecycle hooks
- Integrate MCP servers
- Persist sessions
- Use BYOK providers
- Deploy applications
Inputs
- User prompts
- Model configuration
- Tool definitions
- Hook handlers
- MCP server configuration
- BYOK provider configuration
- Session data
Outputs
- Assistant messages
- Streaming response events
- Tool execution results
- Session state changes
Requirements
- Installed and authenticated GitHub Copilot CLI
- GitHub Copilot subscription unless using BYOK
- Node.js 18+ or Python 3.8+ or Go 1.21+ or .NET 8.0+
