copilot-sdk - Build applications with the GitHub Copilot SDK
Build applications that interact programmatically with GitHub Copilot through the Copilot CLI using sessions, tools, hooks, MCP servers, and streaming.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create Copilot sessions
- Send prompts
- Stream responses
- Register custom tools
- Configure lifecycle hooks
- Connect MCP servers
- Resume sessions
- Use external model providers
Inputs
- Application prompts
- Session configurations
- Custom tool definitions
- Hook handlers
- MCP server configurations
- Authentication tokens
- Provider API keys
- Session IDs
Outputs
- Assistant messages
- Streaming response events
- Tool execution results
- Session lifecycle events
Requirements
- GitHub Copilot CLI installed
- Authenticated Copilot CLI
- Node.js 18+ or Python 3.8+ or Go 1.21+ or .NET 8.0+
- GitHub Copilot subscription unless using BYOK
