# copilot-sdk | GitHub | Knowledge Base | Instagit

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

GitHub Stars: 9.2k

Repository: https://github.com/github/copilot-sdk

---

## Articles

### [GitHub Copilot SDK Integration with Existing Codebases: Implementation Guide](/github/copilot-sdk/examples-copilot-sdk-integration-codebases)

Integrate the GitHub Copilot SDK into your existing codebase using JSON-RPC. Discover how to embed the agentic runtime with custom tools and real-time streaming in this implementation guide.

- Tags: how-to-guide
- Published: 2026-06-06

### [GitHub Copilot SDK Technical Requirements: Language Runtimes, CLI Setup, and Authentication](/github/copilot-sdk/technical-requirements-copilot-sdk)

Discover the GitHub Copilot SDK technical requirements including supported language runtimes Node.js Python Go .NET Rust Java CLI setup and authentication methods.

- Tags: getting-started
- Published: 2026-06-06

### [How to Contribute to the GitHub Copilot SDK: A Complete Guide for Developers](/github/copilot-sdk/contribute-github-copilot-sdk)

Learn how to contribute to the GitHub Copilot SDK. Follow our guide to fork the repo install prerequisites set up tests write code and submit a pull request.

- Tags: how-to-guide
- Published: 2026-06-06

### [What Is the License for the GitHub Copilot SDK?](/github/copilot-sdk/license-github-copilot-sdk)

Discover the GitHub Copilot SDK license. Use, modify, and distribute it freely in any application under the permissive MIT License.

- Tags: api-reference
- Published: 2026-06-06

### [GitHub Copilot SDK Prerequisites: Runtime Requirements and Installation Guide](/github/copilot-sdk/prerequisites-using-copilot-sdk)

Discover GitHub Copilot SDK prerequisites. Learn about runtime requirements and installation for Node.js, Python, Go, Rust, Java, and .NET.

- Tags: getting-started
- Published: 2026-06-06

### [Where to Find Documentation for the GitHub Copilot SDK](/github/copilot-sdk/documentation-github-copilot-sdk)

Find comprehensive GitHub Copilot SDK documentation within the github/copilot-sdk repositorys docs folder. Start with the root README or docs/index.md for essential info.

- Tags: documentation
- Published: 2026-06-06

### [How to Get Started with the GitHub Copilot SDK: A Complete Guide for Node.js, Python, Go, and More](/github/copilot-sdk/getting-started-github-copilot-sdk)

Learn to get started with the GitHub Copilot SDK. This guide covers Node.js, Python, Go and more. Easily integrate AI code completion into your applications.

- Tags: getting-started
- Published: 2026-06-06

### [Is the GitHub Copilot SDK Open Source?](/github/copilot-sdk/is-github-copilot-sdk-open-source)

Discover if the GitHub Copilot SDK is open source. Yes, the fully open-source SDK is available under the MIT License in the github/copilot-sdk repository.

- Tags: faq
- Published: 2026-06-06

### [What Kinds of Applications Can Integrate with the GitHub Copilot SDK?](/github/copilot-sdk/applications-integrate-copilot-sdk)

Discover how any application, from CLI tools to serverless functions, can integrate with the GitHub Copilot SDK to programmatically drive Copilot's AI coding assistance.

- Tags: getting-started
- Published: 2026-06-06

### [How to Build Custom AI Agents Using the GitHub Copilot SDK: Complete Guide](/github/copilot-sdk/build-custom-ai-agents-copilot-sdk)

Build custom AI agents with the GitHub Copilot SDK. This guide details using the robust agent runtime with Node.js Python Go NET Java Rust and more.

- Tags: how-to-guide
- Published: 2026-06-06

### [How the GitHub Copilot SDK Provides Multi-Language Support: JSON-Schema to Native SDKs](/github/copilot-sdk/copilot-sdk-multi-language-handling)

Discover how the GitHub Copilot SDK ensures multi-language support. It uses JSON-Schema to generate native SDKs in TypeScript, Python, Go, .NET, Java, and Rust for seamless integration.

- Tags: internals
- Published: 2026-06-06

### [GitHub Copilot SDK: Core Features and Architecture for Building AI Agents](/github/copilot-sdk/main-features-github-copilot-sdk)

Explore the GitHub Copilot SDK's core features and architecture. Integrate AI agent capabilities into your apps for autonomous tool execution and custom agent definitions across multiple languages.

- Tags: architecture
- Published: 2026-06-06

### [GitHub Copilot SDK Architecture: A Deep Dive into the Node.js Implementation](/github/copilot-sdk/architecture-github-copilot-sdk)

Explore the GitHub Copilot SDK architecture, a Node.js implementation. Learn how it orchestrates the Copilot CLI, communicates via JSON-RPC, and manages session state for multi-client events.

- Tags: architecture
- Published: 2026-06-06

### [Key Source Files in the GitHub Copilot SDK Repository: A Complete Guide](/github/copilot-sdk/key-source-files-copilot-sdk-repository)

Explore key source files in the GitHub Copilot SDK repository. Understand how client.ts, session.ts, and rpc.ts manage process lifecycle and conversations for a seamless development experience.

- Tags: deep-dive
- Published: 2026-06-06

### [How to Use the GitHub Copilot SDK with Rust: Building Async AI Assistants](/github/copilot-sdk/github-copilot-sdk-rust-usage)

Master the GitHub Copilot SDK with Rust to build async AI assistants. Embed managed sessions, custom tools, and real-time event streaming leveraging the power of Copilot CLI.

- Tags: how-to-guide
- Published: 2026-06-06

### [How to Use the GitHub Copilot SDK with Java: A Complete Integration Guide](/github/copilot-sdk/github-copilot-sdk-java-usage)

Integrate GitHub Copilot SDK with Java. This guide shows how to embed AI assistants using the typed, asynchronous API and high-level objects like CopilotClient and CopilotSession.

- Tags: how-to-guide
- Published: 2026-06-06

### [How to Use GitHub Copilot SDK with .NET: Complete Integration Guide for C#](/github/copilot-sdk/github-copilot-sdk-dotnet-usage)

Integrate the GitHub Copilot SDK with .NET C# applications seamlessly. Use strongly-typed objects to manage AI conversations, stream responses, and execute custom tools effortlessly.

- Tags: how-to-guide
- Published: 2026-06-06

### [How to Use the GitHub Copilot SDK with Go: Implementation Guide and Examples](/github/copilot-sdk/github-copilot-sdk-go-usage)

Learn to use the GitHub Copilot SDK with Go to integrate Copilot CLI into your applications. Explore session management, tool integration, and real-time streaming with this implementation guide.

- Tags: how-to-guide
- Published: 2026-06-06

### [How to Use GitHub Copilot SDK with Python: Complete Implementation Guide](/github/copilot-sdk/github-copilot-sdk-python-usage)

Master the GitHub Copilot SDK with Python. This guide shows you how to programmatically interact with AI models using CopilotClient and CopilotSession for seamless integration.

- Tags: how-to-guide
- Published: 2026-06-06

### [How to Use the GitHub Copilot SDK with Node.js: Complete Integration Guide](/github/copilot-sdk/github-copilot-sdk-nodejs-usage)

Integrate GitHub Copilot SDK with Node.js using CopilotClient and CopilotSession. Build custom AI-powered JavaScript applications with ease. Read our complete guide.

- Tags: how-to-guide
- Published: 2026-06-06

### [GitHub Copilot SDK Programming Languages: Complete Guide to All 6 Official SDKs](/github/copilot-sdk/copilot-sdk-supported-languages)

Explore GitHub Copilot SDK programming languages. Discover official SDKs for Node.js, Python, Go, .NET, Rust, and Java to integrate AI code generation into your applications.

- Tags: best-practices
- Published: 2026-06-06

### [How to Embed GitHub Copilot Agentic Workflows in Applications](/github/copilot-sdk/embed-copilot-agentic-workflows-applications)

Learn to embed GitHub Copilot agentic workflows in your applications. Instantiate CopilotClient, configure sessions with custom tools, and handle events to drive your app logic.

- Tags: how-to-guide
- Published: 2026-06-06

### [What Are Agentic Workflows in GitHub Copilot? Understanding the SDK's Autonomous Loop](/github/copilot-sdk/agentic-workflows-github-copilot)

Discover agentic workflows in GitHub Copilot. Learn how the SDK enables autonomous loops for LLMs to plan, use tools, and complete tasks.

- Tags: deep-dive
- Published: 2026-06-06

### [What Is the GitHub Copilot SDK? A Complete Developer Guide](/github/copilot-sdk/what-is-github-copilot-sdk)

Explore the GitHub Copilot SDK, a powerful toolkit enabling developers to integrate AI code generation into their applications using language-specific libraries for Node.js Python Go Rust .NET and Java.

- Tags: getting-started
- Published: 2026-06-06

### [What Is the Role of JSON-RPC in the Copilot SDK Architecture?](/github/copilot-sdk/what-is-role-of-json-rpc-in-copilot-sdk-architecture)

Discover how JSON-RPC in the Copilot SDK architecture facilitates typed, request-response communication between the SDK API and CLI runtime via MessageConnection, powering seamless integration.

- Tags: internals
- Published: 2026-06-05

### [GitHub Copilot SDK Languages: The 6 Official SDKs Explained](/github/copilot-sdk/what-are-the-different-sdk-languages-supported-by-github-copilot)

Explore the 6 official GitHub Copilot SDK languages including Node.js Python Go .NET Rust and Java. Learn how each exposes the agentic runtime via JSON-RPC.

- Tags: getting-started
- Published: 2026-06-05

### [How to Save and Resume Copilot SDK Session State](/github/copilot-sdk/how-to-save-and-resume-copilot-sdk-session-state)

Learn how to save and resume Copilot SDK session state effortlessly. The SDK automatically persists and restores conversation history, plans, and workspace files for seamless continuity.

- Tags: how-to-guide
- Published: 2026-06-05

### [How to Achieve Session Persistence Across Restarts with the Copilot SDK](/github/copilot-sdk/how-to-achieve-session-persistence-across-restarts)

Achieve session persistence across restarts with the Copilot SDK. Use persistent SessionFsProvider adapters like SQLiteSessionAdapter or FileSystemSessionAdapter for automatic session graph rehydration on startup.

- Tags: how-to-guide
- Published: 2026-06-05

### [How to Define Custom Agent Names, Prompts, and Scoped Tools in the Copilot SDK](/github/copilot-sdk/how-to-define-custom-agent-names-prompts-tools)

Learn to define custom agent names, prompts, and scoped tools in the Copilot SDK. This guide shows how to use the Agent constructor and tool() factory for tailored agent behavior.

- Tags: how-to-guide
- Published: 2026-06-05

### [How to Allow-List Specific Tools Using the onPreToolUse Hook in Copilot SDK](/github/copilot-sdk/how-to-allow-list-tools-using-onpretooluse-hook)

Allow-list specific tools in Copilot SDK using the onPreToolUse hook. Learn to control tool access by inspecting tool names and arguments to grant or deny permissions.

- Tags: how-to-guide
- Published: 2026-06-05

### [How to Implement Permission Control for Tool Usage in Copilot SDK: 4 Handler Patterns](/github/copilot-sdk/how-to-implement-permission-control-for-tool-usage)

Implement permission control for tool usage in Copilot SDK using 4 handler patterns. Intercept tool calls with a strongly-typed PermissionHandler and return allow, deny, or no-result.

- Tags: how-to-guide
- Published: 2026-06-05

### [BYOK Authentication in Copilot SDK: A Complete Guide to Bring Your Own Key](/github/copilot-sdk/what-is-byok-authentication-in-copilot-sdk)

Learn about BYOK authentication in Copilot SDK. Connect directly to your model provider using your own managed static API credentials, bypassing GitHub OAuth.

- Tags: how-to-guide
- Published: 2026-06-05

