github/copilot-sdk

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

What it solves

It allows developers to embed Copilot's agentic workflows directly into their own applications. Instead of building complex orchestration from scratch, developers can use a production-tested agent runtime to handle planning, tool invocation, and file edits programmatically.

How it works

The SDKs act as clients that communicate with the Copilot CLI server via JSON-RPC. The SDK manages the lifecycle of the CLI process automatically, though it can also connect to external CLI servers. It supports multiple authentication methods, including GitHub OAuth and a "Bring Your Own Key" (BYOK) mode that allows using API keys from providers like OpenAI, Anthropic, and Microsoft Foundry.

Who it’s for

Software engineers who want to integrate AI agents into their apps using Python, TypeScript, Go, .NET, Java, or Rust without managing the underlying agent orchestration logic.

Highlights

  • Multi-language support: Official SDKs for Node.js/TypeScript, Python, Go, .NET, Java, and Rust.
  • Agentic capabilities: Handles planning and tool execution automatically.
  • Flexible Auth: Supports GitHub subscriptions, OAuth apps, environment variables, and BYOK for third-party LLM providers.
  • Extensible: Allows the definition of custom agents, skills, and tools.

Related

  • Project
  • Project
  • Project
  • Project
  • Project