The Copilot SDK is now available in technical preview, providing language-specific SDKs for programmatic access to the GitHub Copilot CLI.

Available SDKs

The Copilot SDK is available in four languages:

  • Node.js / TypeScript: @github/copilot-cli-sdk
  • Python: copilot
  • Go: github.com/github/copilot-cli-sdk-go
  • .NET: GitHub.Copilot.SDK

Key features

All SDKs provide a consistent API with:

  • Multi-turn conversations: Maintain session history for context-aware interactions.
  • Tool execution: Define custom tools that the model can invoke during conversations.
  • Full lifecycle control: Manage client and session lifecycles programmatically.

Learn More

Share your feedback

Join the GitHub Community to share your feedback.