The Copilot SDK has entered technical preview, offering developers language-specific tools to programmatically interact with the GitHub Copilot CLI. This new SDK aims to provide enhanced control and integration capabilities for various programming environments.
Available SDKs
The Copilot SDK is currently accessible in four distinct programming languages:
- Node.js / TypeScript: Available via
@github/copilot-cli-sdk - Python: Accessible through the
copilotpackage - Go: Found at
github.com/github/copilot-cli-sdk-go - .NET: Provided as
GitHub.Copilot.SDK
Key Features
Each SDK offers a consistent API, incorporating several important features:
- Multi-turn conversations: This allows for maintaining session history, enabling context-aware interactions with Copilot.
- Tool execution: Developers can define custom tools that the Copilot model can invoke during conversations, extending its functionality.
- Full lifecycle control: The SDKs provide programmatic management over client and session lifecycles.
Learn More
For further details and resources, refer to the following documentation:
Share Your Feedback
Community members are encouraged to provide feedback by joining the GitHub Community discussions.

