Agents for every app.
Embed Copilot's agentic workflows in your application—now available in Technical preview as a programmable SDK for Python, TypeScript, Go, and .NET.
The GitHub Copilot SDK exposes the same engine behind Copilot CLI: a production-tested agent runtime you can invoke programmatically. No need to build your own orchestration—you define agent behavior, Copilot handles planning, tool invocation, file edits, and more.
| SDK | Location | Installation |
|---|---|---|
| Node.js / TypeScript | ./nodejs/ |
npm install @github/copilot-sdk |
| Python | ./python/ |
pip install github-copilot-sdk |
| Go | ./go/ |
go get github.com/github/copilot-sdk/go |
| .NET | ./dotnet/ |
dotnet add package GitHub.Copilot.SDK |
See the individual SDK READMEs for installation, usage examples, and API reference.
-
Install the Copilot CLI:
Follow the Copilot CLI installation guide to install the CLI, or ensure
copilotis available in your PATH. -
Install your preferred SDK using the commands above.
-
See the SDK README for usage examples and API documentation.
All SDKs communicate with the Copilot CLI server via JSON-RPC:
Your Application
↓
SDK Client
↓ JSON-RPC
Copilot CLI (server mode)
The SDK manages the CLI process lifecycle automatically. You can also connect to an external CLI server—see individual SDK docs for details.
Check out the examples folder for sample projects and videos.
See CONTRIBUTING.md for contribution guidelines.
MIT
