Skip to content

CreativeSystemsDevelopment/copilot-sdk_ml_platform

GitHub Copilot CLI SDKs

GitHub Copilot SDK

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.

Available SDKs

SDK Location Installation
Node.js / TypeScript cookbook/nodejs/ npm install @github/copilot-sdk
Python cookbook/python/ pip install github-copilot-sdk
Go cookbook/go/ go get github.com/github/copilot-sdk/go
.NET cookbook/dotnet/ dotnet add package GitHub.Copilot.SDK

See the individual SDK READMEs for installation, usage examples, and API reference.

Getting Started

For a complete walkthrough, see the Getting Started Guide.

Quick steps:

  1. Install the Copilot CLI:

    Follow the Copilot CLI installation guide to install the CLI, or ensure copilot is available in your PATH.

  2. Install your preferred SDK using the commands above.

  3. See the SDK README for usage examples and API documentation.

Architecture

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.

Quick Links

  • Getting Started – Tutorial to get up and running
  • Cookbook – Practical recipes for common tasks across all languages
  • Samples – Video walkthroughs and sample projects

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

MIT

About

Multi-platform SDK for integrating GitHub Copilot Agent into apps and services

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 40.1%
  • Python 21.1%
  • C# 19.2%
  • Go 16.9%
  • Shell 1.4%
  • PowerShell 0.7%
  • Other 0.6%