Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

GitHub Copilot SDK

TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC.

Model SDKs npm MIT

Used in agent projects
10
0.2% of 4,818 JS/TS repos built with AI coding agents; 26 counting our dependency samples
Gid Score
42 /100
#2413 of 3,794 tools, #38 in model sdks · ranking
Rank in model sdks
#24 of 79
by use in those projects
Downloads
1.1M
npm, last 7 days, @github/copilot-sdk
GitHub stars
—
github/copilot-agent-runtime

How GitHub Copilot SDK is used

GitHub Copilot SDK is a dependency in 10 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 26 projects, and what it is used with below comes from all of them. The most used alternative in our scan is OpenAI (284 projects). Projects that use it most often also use TypeScript (96.2%), Husky (38.5%), ws (34.6%).

Often used with GitHub Copilot SDK

TypeScript96.2% of GitHub Copilot SDK projects · 1.7× more than average
Husky38.5% of GitHub Copilot SDK projects · 3.8× more than average
ws34.6% of GitHub Copilot SDK projects · 11.0× more than average
Zod57.7% of GitHub Copilot SDK projects · 2.3× more than average
Playwright (JavaScript)46.2% of GitHub Copilot SDK projects · 2.7× more than average
Anthropic SDK30.8% of GitHub Copilot SDK projects · 8.2× more than average
undici30.8% of GitHub Copilot SDK projects · 18.9× more than average
Marked30.8% of GitHub Copilot SDK projects · 12.1× more than average

From all 26 projects in our scan that use GitHub Copilot SDK, including the dependency samples.

By coding agent

GitHub Copilot0.3% of projects set up for it
Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list GitHub Copilot SDK as a dependency.

Install

Packagenpm install @github/copilot-sdk
Main stacksTypeScript / JavaScript (18), Next.js (5), React Native / Expo (1), Python (1)
Example projectsmicrosoft/vscode, im4codes/imcodes, ssdeanx/AgentStack, jcommaret/kodia, makefinks/daemon

Alternatives to GitHub Copilot SDK

All model sdks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside GitHub Copilot SDK are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI npm
Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.
76 284 (5.9%) 25.3M 11.2K Apache-2.0
Anthropic SDK npm
Official TypeScript SDK for calling Claude API and building agent applications.
69 232 (4.8%) 28.3M 2,145 MIT
Google Generative AI npm
Official SDK for Google Gemini API to build AI-powered applications.
64 169 (3.5%) 14.7M 1,691 Apache-2.0
Mistral AI npm
Official TypeScript SDK for calling Mistral's language models and APIs.
42 11 (0.2%) 4M 157 Apache-2.0

More in Model SDKs: AI SDK OpenAI Python Library Anthropic Python SDK Google GenAI Python SDK Hugging Face Hub LiteLLM Ollama Ollama JavaScript Library

Is GitHub Copilot SDK right for your project? Ask AgentGid →