# github/copilot-sdk

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/github-copilot-sdk).**

7,233 stars · 870 forks · TypeScript · mit

## Links

- GitHub: https://github.com/github/copilot-sdk
- awesome-repositories: https://awesome-repositories.com/repository/github-copilot-sdk.md

## Description

This project is a software development kit and framework for building AI agent orchestration, session management, and tool integration systems. It provides a backend infrastructure for hosting remote AI sessions and coordinating multi-agent workflows using large language models.

The SDK enables the definition of specialized agents and the orchestration of complex tasks through parallel workstreams. It distinguishes itself by offering a multi-tenant backend capable of horizontal scaling and a headless server runtime that separates session execution from the client interface.

The system covers a broad set of capabilities including stateful session persistence, provider-agnostic model integration, and fine-grained control over tool execution via interception hooks. It also manages identity through OAuth flows and managed identities, while providing observability through distributed trace instrumentation and resource usage tracking.

## Tags

### Artificial Intelligence & ML

- [AI Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-orchestration.md) — Provides a comprehensive framework for coordinating specialized agents through parallel workstreams and tool execution.
- [Multi-Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestration.md) — Provides a framework for decomposing and delegating complex tasks across multiple autonomous AI agents. ([source](https://github.com/github/copilot-sdk/tree/main/docs/integrations))
- [Multi-Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestrators.md) — Coordinates specialized sub-agents and parallel workstreams to decompose and execute complex tasks.
- [Agent Orchestration Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-orchestration-loops.md) — Implements iterative reasoning and execution frameworks that allow agents to plan and synthesize responses through multi-turn interactions. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))
- [Agent Tool Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/tool-use-and-execution/agent-tool-execution.md) — Provides mechanisms for agents to invoke external functions and tools via a permission handler for secure execution. ([source](https://cdn.jsdelivr.net/gh/github/copilot-sdk@main/README.md))
- [AI Agent Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-frameworks.md) — Offers a framework for defining specialized agents with custom prompts and external tool integrations.
- [AI Model APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-apis.md) — Provides unified interfaces for connecting and interacting with diverse AI model providers using various credential types. ([source](https://cdn.jsdelivr.net/gh/github/copilot-sdk@main/README.md))
- [LLM Tooling Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations/llm-tooling-integrations.md) — Provides connectors and interfaces that allow AI models to access external data servers and execute software tools.
- [Tool Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-service-integrations/external-knowledge-integrators/tool-integrations.md) — Integrates LLMs with external context servers and specialized tools with fine-grained call control.
- [External Tool Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integration.md) — Links context servers to agents, enabling interaction with external APIs and specialized data sources. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))
- [LLM Application Infrastructure](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-application-infrastructure.md) — Establishes secure connections to model providers using OAuth and API keys while tracking resource usage.
- [Provider-Agnostic Model Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/provider-agnostic-model-interfaces.md) — Standardizes connections to multiple LLM providers using an abstraction layer for interchangeable credentials.
- [Execution Hooks](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/orchestration-engines/ai-agent/runtime-execution-control/execution-message-injection/execution-hooks.md) — Injects custom logic into agent reasoning loops to intercept and transform prompts, tool calls, and results.
- [Skill Packaging](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-skill-frameworks/skill-packaging.md) — Bundles prompts, hooks, and agents into loadable directory packages to extend agent capabilities.
- [Agent Persona Definitions](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/configuration-and-specifications/agent-persona-definitions.md) — Allows the definition of custom agent personas with specific system prompts and behavioral constraints. ([source](https://github.com/github/copilot-sdk/tree/main/docs/))
- [Event-Driven Model Streaming](https://awesome-repositories.com/f/artificial-intelligence-ml/event-driven-model-streaming.md) — Implements a runtime architecture that delivers language model outputs and session updates as a real-time event stream.
- [Execution Interception Hooks](https://awesome-repositories.com/f/artificial-intelligence-ml/execution-interception-hooks.md) — Provides hooks to control tool usage and transform output results during the session lifecycle. ([source](https://github.com/github/copilot-sdk/tree/main/docs/))
- [Model Discovery Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/model-discovery-tools.md) — Retrieves lists of supported AI models at runtime to allow dynamic model selection within applications. ([source](https://cdn.jsdelivr.net/gh/github/copilot-sdk@main/README.md))
- [Prompt Templates](https://awesome-repositories.com/f/artificial-intelligence-ml/prompt-elements/prompt-component-cascading/prompt-templates.md) — Supports the loading of reusable prompt-based skills from directories to extend agent capabilities. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))

### DevOps & Infrastructure

- [Multi-Tenant Agent Hosting](https://awesome-repositories.com/f/devops-infrastructure/service-deployment/multi-tenant-agent-hosting.md) — Offers server-side infrastructure for hosting remote AI sessions with multi-tenant isolation and horizontal scaling.
- [Infrastructure Deployment](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-deployment.md) — Configures the environment using local or headless instances with support for horizontal scaling. ([source](https://github.com/github/copilot-sdk/tree/main/docs/))
- [Remote Application Hosting](https://awesome-repositories.com/f/devops-infrastructure/remote-application-hosting.md) — Shares locally hosted AI sessions with web and mobile clients through a centralized remote interface. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))
- [Remote Session Hosting](https://awesome-repositories.com/f/devops-infrastructure/remote-session-hosting.md) — Executes AI sessions on remote hosted compute instead of local hardware. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))

### Networking & Communication

- [LLM Session Managers](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/connection-session-management/llm-session-managers.md) — Implements session persistence and real-time event streaming to maintain conversation state between AI models and clients.
- [Real-time Data Subscriptions](https://awesome-repositories.com/f/networking-communication/real-time-data-subscriptions.md) — Provides hooks for managing persistent connections and updating state based on real-time session event streams. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))
- [Real-time Event Streams](https://awesome-repositories.com/f/networking-communication/real-time-event-streams.md) — Processes model outputs and session updates incrementally via real-time event streams for an immediate user experience. ([source](https://github.com/github/copilot-sdk/tree/main/docs/))

### Security & Cryptography

- [Multi-Tenant Identity Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/access-control/identity-role-management/multi-tenant-identity-management.md) — Isolates user accounts and session tokens within shared environments to support secure multi-tenancy. ([source](https://github.com/github/copilot-sdk/tree/main/docs/auth))
- [Agentic Session Persistence](https://awesome-repositories.com/f/security-cryptography/identity-access-management/session-management/stateful-session-persistence/agentic-session-persistence.md) — Tracks and persists conversation state to allow agents to resume work across restarts or platforms. ([source](https://github.com/github/copilot-sdk/tree/main/docs/))
- [AI Interaction Persistence](https://awesome-repositories.com/f/security-cryptography/identity-access-management/session-management/stateful-session-persistence/messaging-session-persistence/workflow-session-persistence/ai-interaction-persistence.md) — Saves and resumes conversation histories across restarts or platforms using a managed remote storage backend.
- [Identity Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/identity-management.md) — Secures service access using a system of OAuth flows, managed identities, and individual session tokens.
- [User Authentication Flows](https://awesome-repositories.com/f/security-cryptography/user-authentication-flows.md) — Implements user authentication flows using OAuth and managed identities to secure access to AI services. ([source](https://github.com/github/copilot-sdk/tree/main/docs/setup))

### System Administration & Monitoring

- [Conversational Session Managers](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/configuration-control-utilities/administrative-controls/session-management/conversational-session-managers.md) — Manages the lifecycle of conversational sessions, including state persistence and real-time event flow.
- [Distributed Tracing Instrumentation](https://awesome-repositories.com/f/system-administration-monitoring/distributed-tracing-instrumentation.md) — Tracks request flows and propagates trace contexts to debug the distributed execution of AI agent workflows. ([source](https://github.com/github/copilot-sdk/tree/main/docs/observability))
- [Usage Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/usage-monitoring.md) — Inspects endpoint metadata and usage events to track resource consumption and attribute operational costs. ([source](https://github.com/github/copilot-sdk/tree/main/docs/observability))

### Web Development

- [Headless Server Hosting](https://awesome-repositories.com/f/web-development/web-infrastructure-deployment/web-infrastructure-servers/web-server-hosting/headless-server-hosting.md) — Provides a headless server runtime that separates session execution from the client interface for horizontal scaling.
- [Tool Call Wrappers](https://awesome-repositories.com/f/web-development/third-party-api-integrations/model-tool-calls/standardized-tool-execution/tool-call-wrappers.md) — Provides interceptors to approve, deny, or modify AI tool calls before they are executed. ([source](https://github.com/github/copilot-sdk/tree/main/docs/hooks))

### Data & Databases

- [Tool Result Transformers](https://awesome-repositories.com/f/data-databases/data-transformation-tools/tool-result-transformers.md) — Intercepts and modifies data returned by external tools before it is presented to the user or model. ([source](https://github.com/github/copilot-sdk/tree/main/docs/hooks))

### Development Tools & Productivity

- [Agent Session Parallelization](https://awesome-repositories.com/f/development-tools-productivity/parallel-execution/custom-parallel-task-execution/parallel-task-orchestrators/agent-session-parallelization.md) — Enables the simultaneous dispatch of multiple sub-agents to process independent sets of work in parallel. ([source](https://github.com/github/copilot-sdk/tree/main/docs/features))

### Software Engineering & Architecture

- [Multi-tenancy Isolation](https://awesome-repositories.com/f/software-engineering-architecture/multi-tenancy-isolation.md) — Implements isolation patterns and horizontal scaling to support multiple concurrent users in server deployments. ([source](https://github.com/github/copilot-sdk/tree/main/docs/setup))
