Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
The copilot-sdk skill provides developers with the tools to integrate GitHub Copilot's agentic capabilities directly into applications. By embedding the SDK, users can leverage the same engine behind the Copilot CLI, enabling programmatic control over AI agents without the need to build their own orchestration layer. This allows developers to define agent behaviors while Copilot manages planning, tool invocation, file edits, and other automated actions, streamlining the creation of intelligent, interactive applications.
Key features of the copilot-sdk include cross-language support for Python, TypeScript, Go, and .NET, session management, streaming responses for real-time interaction, and easy embedding into existing applications. It provides a consistent API for creating sessions, sending prompts, handling permission requests, and retrieving agent responses. The SDK also supports advanced workflows such as custom agent creation and connection to MCP servers, making it a flexible choice for a variety of development environments.
The skill is ideal for software engineers, AI developers, and technical teams looking to enhance their applications with autonomous agent functionality. Typical use cases include embedding AI assistants into tools, building custom agents for specific tasks, implementing streaming interactive responses, and integrating with other services or applications. The copilot-sdk simplifies complex agentic programming, making it accessible for developers aiming to accelerate workflows, improve automation, and create more dynamic, intelligent applications.
The Copilot SDK supports Python 3.8+, Node.js 18+ (TypeScript), Go 1.21+, and .NET 8.0+, allowing developers to integrate AI agents into applications written in these languages.
Yes, the GitHub Copilot CLI must be installed and authenticated to use the SDK, as it relies on the CLI for the underlying agent runtime.
Yes, the SDK provides streaming capabilities in supported languages, allowing developers to receive real-time output from AI agents for a better interactive experience.
Sessions are created programmatically using the SDK's client interface. You can configure session settings, handle permission requests, send prompts, and retrieve responses directly through the session object.
Apart from installing the GitHub Copilot CLI, you need the appropriate runtime for your chosen language. For example, Node.js 18+ for TypeScript, Python 3.8+, Go 1.21+, or .NET 8.0+.
Quick Setup:
.claude/skills/Repository
github/awesome-copilot