copilot-sdk - Build applications with GitHub Copilot
Programmatically interact with GitHub Copilot through SDKs for Node.js, Python, Go, and .NET, with sessions, tools, hooks, MCP, and streaming.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create Copilot clients
- Manage Copilot sessions
- Send prompts
- Stream responses
- Define custom tools
- Configure lifecycle hooks
- Connect MCP servers
- Resume sessions
- Use alternate providers
Inputs
- User prompts
- Authentication credentials
- Model configuration
- Tool definitions
- Hook handlers
- MCP server configuration
- Session identifiers
- Provider API keys
Outputs
- Copilot responses
- Streaming message events
- Tool invocation results
- Session lifecycle events
- Persisted session state
Requirements
- GitHub Copilot CLI
- Authenticated Copilot access
- Supported runtime
- SDK package
- Copilot subscription or BYOK
