OpenSource-Hub

copilot-sdk

Framework

github/copilot-sdk

Multi-platform SDK for integrating GitHub Copilot Agent into applications.

Overview

The GitHub Copilot SDK provides a production-tested agent runtime for embedding Copilot's agentic workflows into your applications. It supports Python, TypeScript, Go, .NET, Java, and Rust, managing the Copilot CLI process via JSON-RPC. Requires a GitHub Copilot subscription or BYOK.

README Preview

# GitHub Copilot CLI SDKs\n\n\n\n[](https://www.npmjs.com/package/@github/copilot-sdk)\n[](https://pypi.org/project/github-copilot-sdk/)\n[](https://www.nuget.org/packages/GitHub.Copilot.SDK)\n[](https://pkg.go.dev/github.com/github/copilot-sdk/go)\n[](https://crates.io/crates/github-copilot-sdk)\n[](https://central.sonatype.com/artifact/com.github/copilot-sdk-java)\n\nAgents for every app.\n\nEmbed Copilot's agentic workflows in your application with the GitHub Copilot SDK for Python, TypeScript, Go, .NET, Java, and Rust.\n\nThe 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.\n\n## Available SDKs\n\n| SDK                      | Location                                                                | Cookbook                                                                                              | Installation                                                                                                                                                                                                                               |\n| ------------------------ | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| **Node.js / TypeScript** | [`nodejs/`](./nodejs/)                                                  | [Cookbook](https://github.com/github/awesome-copilot/blob/main/cookbook/copilot-sdk/nodejs/README.md) | `npm install @github/copilot-sdk`