copilot-sdk
AGENTS.md11k starsChanged 3 months agoMITView on GitHub
This style guide applies to all documentation in the docs/ directory. These docs are synced to github/docs-internal via a normalization pipeline, so they must follow the conventions below to be compatible with docs.github.com. Use sentence case for all headings. Capitalize only the first word and proper nouns. Use and instead of & in headings. Do not use **bold** or *italic* markers inside headings. The heading level provides emphasis. Use GitHub-flavored alert syntax: Never use > **Note:** or > **Tip:** style…
- Installs packages
Trending
Steady talk.about the whole repository
Who's talking about github/copilot-sdk
- @kaylacinnamon.bsky.social“I built a web app with the GitHub Copilot SDK to make analyzing log files easier. It'll summarize them, …”Bluesky · Jan 22, 2026 · 66 likes
- @cassidoo.co“The @github.com Copilot SDK is live and it's really awesome! Learn more about it and try it out: …”Bluesky · Jan 22, 2026 · 63 likes
- @github.com“The GitHub Copilot SDK is here 🙌 You can take the same Copilot agentic core that powers GitHub Copilot CLI …”Bluesky · Jan 22, 2026 · 30 likes
- openclaw/openclaw“[Feature]: Copilot-sdk instead of proxy”GitHub · Jan 24, 2026 · 13 reactions
- KeygraphHQ/shannon“[FEATURE]: Add GitHub Copilot SDK as an AI provider option”GitHub · Mar 4, 2026 · 8 reactions
The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 25
Talked about on GitHub, Bluesky and Hacker News (25 times).
On GitHub · 13
- Jan 24, 2026[Feature]: Copilot-sdk instead of proxy — openclaw/openclaw13 reactions · 4 comments
- Mar 4, 2026[FEATURE]: Add GitHub Copilot SDK as an AI provider option — KeygraphHQ/shannon8 reactions · 1 comment
- Aug 20, 2026Allow Canvas extensions to open or focus an existing local session — github/app3 reactions
- Mar 10, 2026Make RequestIdSTJsonConverter public for AOT/trimming compatibility — microsoft/vs-streamjsonrpc3 reactions
- Jan 22, 2026.NET: Add AIAgent implementation for Github Copilot SDK — microsoft/agent-framework3 reactions · 3 comments
8 more on GitHub
- Aug 1, 2026BYOK Responses streaming drops apply_patch input before execution — github/copilot-cli2 reactions · 1 comment
- Jan 21, 2026Bump github-copilot-sdk from 0.1.13 to 0.1.14 in the uv-all group — Ven0m0/gemini-web-wrapper2 reactions · 1 comment
- Oct 1, 2026Add support for gpt-6.1-sol — github/gh-aw1 reaction
- Sep 24, 2026build(deps): bump github.com/github/copilot-sdk/go from 0.1.25 to 1.0.14 — orka-agents/orka1 reaction · 1 comment
- May 27, 2026Rust SDK? — openai/codex1 reaction · 3 comments
- May 5, 2026Provider Request: GitHub SDK / with github.com + company.ghe.com support — vectorize-io/hindsight1 reaction · 1 comment
- Feb 11, 2026CI Failure DoctorBuild failure after copilot-sdk upgrade to v0.1.21 — devantler-tech/ksail1 reaction · 2 comments
- Jan 27, 20260xsarawut.base.eth — base/docs1 reaction
On Bluesky · 11
- Jan 22, 2026I built a web app with the GitHub Copilot SDK to make analyzing log files easier. It'll summarize them, provide a root cause analysis, and… — @kaylacinnamon.bsky.social66 likes and reposts · 3 replies
- Jan 22, 2026The @github.com Copilot SDK is live and it's really awesome! Learn more about it and try it out: github.com/github/copil... — @cassidoo.co63 likes and reposts · 5 replies
- Jan 22, 2026The GitHub Copilot SDK is here 🙌 You can take the same Copilot agentic core that powers GitHub Copilot CLI and embed it in any… — @github.com30 likes and reposts · 4 replies
- Jan 28, 2026Now you can integrate #Microsoft #Copilot #CodingAgent via SDK into your app. Java, .NET/C#, Python, TypeScript, Go bindings MIT license… — @qdrddr.bsky.social3 likes and reposts
- Jan 27, 2026GitHub ha soltado hace unos días una bomba para devs 🚀 Con el GitHub Copilot SDK ahora puedes meter un agente de IA real (planifica,… — @mouredev.com3 likes and reposts
6 more on Bluesky
- Apr 4, 2026📦 github / copilot-sdk ⭐ 8,195 (+40) 🗒 TypeScript Multi-platform SDK for integrating GitHub Copilot Agent into apps and services — @github-trending-js.bsky.social2 likes and reposts
- Feb 9, 2026Have you used the GitHub Copilot SDK yet? If not… you probably should 👀 Repo 👉 github.com/github/copil... Tonight I had a bit of fun… — @thomast1906.bsky.social1 likes and repost
- Jan 26, 2026@github.com announced Copilot SDK, bringing the power of Copilot CLI to your apps. I built Flight School, an app that gives learning… — @chrisreddington.com1 likes and repost
- Jan 20, 2026GitHub Copilot CLI SDKs (github/copilot-sdk): Multi-platform SDK for integrating GitHub Copilot Agent into apps and services… — @aaronw.dev1 likes and repost
- Jan 29, 2026But ‘til then, check out some of the Copilot SDK projects we’re loving right now. If you haven’t given it a go, sharing some inspo in the… — @kdaigle.xmirror.bot0 likes and reposts · 1 reply
- Jan 23, 2026𝗚𝗶𝘁𝗛𝘂𝗯 𝗼𝗽𝗲𝗻𝘀 𝗶𝘁𝘀 𝗖𝗼𝗽𝗶𝗹𝗼𝘁 𝗖𝗟𝗜 𝗮𝘀 𝗮 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗮𝗯𝗹𝗲 𝗦𝗗𝗞 💯 🚀 Now in technical preview, the GitHub… — @inakibes.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Jan 22, 2026GitHub Copilot CLI SDKs3 points
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dotnet/test/E2E/AGENTS.mdAGENTS.md
- java/AGENTS.mdAGENTS.md
- rust/AGENTS.mdAGENTS.md
- agentic-workflowsSkill
- sdk-java-e2e-testSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 11 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Use sentence case for all headings.
- Very specific: line 12
Use and instead of & in headings.
- Very specific: line 14
Do not use bold or *italic* markers inside headings.
- Distinctive: line 29
Use GitHub-flavored alert syntax:
- Very specific: line 42
Never use > Note: or > Tip: style callouts.
- Distinctive: line 44
When a callout applies to a specific language, put the qualifier as bold text in the body:
- Very specific: line 55
Use * (asterisks) for unordered list markers, not - (hyphens).
- Very specific: line 59
Use 1. for every item in ordered lists, not sequential numbering.
- Distinctive: line 70
Use periods only if the item is a complete sentence.
- Very specific: line 89
Do not use --- as a horizontal rule to visually separate sections in the body of an article.
- Very specific: line 95
If you are writing a new section with substantive content, create a named file (for example, choosing-a-setup-path.md) rather than putting …
- Very specific: line 99
Only modify code block contents when necessary.
- Distinctive: line 108
Use clear, simple language approachable for a wide range of readers.
- Distinctive: line 109
Use active voice whenever possible.
- Distinctive: line 110
Avoid idioms, slang, and region-specific phrases.
- Distinctive: line 111
Avoid ambiguous modal verbs ("may", "might", "should", "could") when an action is required.
- Distinctive: line 116
Use bold for UI elements and for emphasis, sparingly (no more than five contiguous words).
- Distinctive: line 117
Do not bold text that already has other formatting (for example, all-caps placeholders).
- Distinctive: line 145
When creating a new docs article, use this structure:
- Very specific: line 167
When showing the same concept in multiple programming languages, use consecutive <details> blocks.
- Very specific: line 172
Blocks must be consecutive: No content (headings, paragraphs) between <details> blocks in the same group.
- Very specific: line 208
Do not put headings, prose, or multiple sections inside a <details> block:
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot SDK docs style guide
This style guide applies to all documentation in the docs/ directory. These docs are synced to github/docs-internal via a normalization pipeline, so they must follow the conventions below to be compatible with docs.github.com.
Headings
Use sentence case for all headings. Capitalize only the first word and proper nouns.
## Quick start: Microsoft Foundry— not## Quick Start: Microsoft Foundry# Custom agents and sub-agent orchestration— not# Custom Agents & Sub-Agent Orchestration
Use and instead of & in headings.
Do not use **bold** or *italic* markers inside headings. The heading level provides emphasis.
Proper nouns to always capitalize
- Products/companies: GitHub, Copilot, Azure, OpenAI, Anthropic, Microsoft, Ollama, Slack, Foundry, Kubernetes, Docker
- Languages/frameworks: TypeScript, JavaScript, Python, Java, Node.js, OpenTelemetry, Express
- Platforms: macOS, Linux, Windows
- Protocols/formats: OAuth, JSON-RPC, JSON, YAML, HTTP, TCP, SSE, REST
- Acronyms: MCP, BYOK, MAF, SDK, CLI, API, HMAC, CI/CD, SaaS, ISV, FAQ, LLM, AI, EMU, ID, UI, PNG
- Tools (keep canonical casing): npm, npx, stdio
- Code identifiers in headings: SessionConfig, MessageOptions, TelemetryConfig, ProviderConfig, CopilotClient
- Multi-word proper names: GitHub App, GitHub Actions, GitHub OAuth, Foundry Local, Managed Identity, Container Instances
Callouts
Use GitHub-flavored alert syntax:
> [!NOTE]
> This is a note.
> [!TIP]
> This is a tip.
> [!WARNING]
> This is a warning.Never use > **Note:** or > **Tip:** style callouts.
When a callout applies to a specific language, put the qualifier as bold text in the body:
> [!TIP]
> **(Python / Go)** These SDKs use separate, per-event data types.Lists
Unordered lists
Use * (asterisks) for unordered list markers, not - (hyphens).
Ordered lists
Use 1. for every item in ordered lists, not sequential numbering. This makes reordering easier.
1. First step
1. Second step
1. Third stepList item formatting
- Capitalize the first letter of each list item.
- Use periods only if the item is a complete sentence.
- Introduce lists with a descriptive sentence, not vague phrases like "the following" in isolation.
Em dashes
For list items with a label and description, use a colon:
* **Ephemeral**: not persisted to disk, not replayed on session resumeFor em dashes used mid-sentence, use no spaces:
The SDK is a transport layer—it sends your prompt to the CLI over JSON-RPC.Horizontal rules
Do not use --- as a horizontal rule to visually separate sections in the body of an article. Use headings to separate sections instead. This does not apply to YAML frontmatter delimiters.
Index.md files
In the docs pipeline, index.md files become YAML-only category pages. Rich content (prose, code samples, diagrams) must live in standalone files.
If you are writing a new section with substantive content, create a named file (for example, choosing-a-setup-path.md) rather than putting the content in index.md.
Code snippets
- Only modify code block contents when necessary. From
<SDK_ROOT>, run the relevantnpm run docs:<language>validator for Node.js, Python, Go, .NET, or Java. Rust has nodocs:rustfacade; validate its API documentation withcd rust && DOCS_RS=1 cargo doc --no-deps --all-featuresand followrust/README.md. Keep usingdocs-validate: skipordocs-validate: hiddenmarkers when appropriate.
Voice and tone
- Use clear, simple language approachable for a wide range of readers.
- Use active voice whenever possible.
- Avoid idioms, slang, and region-specific phrases.
- Avoid ambiguous modal verbs ("may", "might", "should", "could") when an action is required. Use definitive verbs instead.
- Refer to people as "people" or "users", not "customers."
Emphasis
- Use bold for UI elements and for emphasis, sparingly (no more than five contiguous words).
- Do not bold text that already has other formatting (for example, all-caps placeholders).
Word choice
| Use | Avoid |
| terminal | shell |
| sign in | log in, login |
| sign up | signup |
| press (a key) | hit, tap |
| repository | repo |
| administrator | admin |
| for example | e.g. |
| and similar | etc. |
What the pipeline handles
Authors do not need to worry about these — the normalization pipeline handles them automatically:
- YAML frontmatter (added to files for docs.github.com)
- Mermaid diagram → PNG conversion
- Link rewriting for docs.github.com cross-references
- Liquid variable substitution (product names)
[AUTOTITLE]link conversion
New article template
When creating a new docs article, use this structure:
# Article title in sentence case
A one- or two-sentence intro explaining what the reader will learn or accomplish.
## First section
Body text here.
## Second section
Body text here.
## Further reading
* [Link text](./relative-path.md): short descriptionMulti-language code examples
When showing the same concept in multiple programming languages, use consecutive <details> blocks. The docs-internal normalization pipeline converts these into tabbed language switchers on docs.github.com.
Rules
- Only code inside
<details>blocks. Shared prose, headings, and explanations must go outside the blocks. Each block should contain only a code fence (and optionally a<!-- docs-validate: skip -->comment). - Blocks must be consecutive. No content (headings, paragraphs) between
<details>blocks in the same group. Blank lines between blocks are fine. - Use the exact
<summary>format:<summary><strong>LANGUAGE</strong></summary>. Supported labels:.NET,Python,TypeScript,Go,Java,Rust,Node.js,Shell. - Need 2+ blocks to form a group. A single
<details>block won't be converted and renders as raw HTML on docs.github.com. - Equal content across tabs. Each tab should show the same concept in a different language. Language-specific extras should be a separate section outside the tabs.
Correct
Shared prose goes above the group, then each <details> block contains only code:
Install the SDK:
<details open>
<summary><strong>.NET</strong></summary>
<!-- docs-validate: skip -->
```bash
dotnet add package GitHub.Copilot.SDK</details>
<details>
<summary><strong>Python</strong></summary><!-- docs-validate: skip -->pip install github-copilot-sdk</details>
```Incorrect
Do not put headings, prose, or multiple sections inside a <details> block:
<details>
<summary><strong>Python</strong></summary>
### Prerequisites ← breaks TOC/anchors
Install the packages: ← prose belongs outside
```bash
pip install github-copilot-sdkBasic usage ← multiple sections in one tab
[code]</details>
```Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

