GitHub CopilotGitHub Copilot
与 GitHub 生态集成的编码工具——从网站到 CLI 到主流编辑器全覆盖,且能把任务委派给 Claude / Codex(Preview)。
A coding tool integrated with the GitHub ecosystem — website, CLI and mainstream editors, and it can delegate tasks to Claude / Codex (Preview).
适合与不适合When to use it, when not to
已在 GitHub 生态内(用 PR / Issue / Actions 工作)的人。 需要最广编辑器覆盖的人(VS Code / JetBrains / Eclipse / Xcode 都能用)。 企业采购需要额度池治理与管理员支出控制的人。
不适合依赖第三方 agent 委派的场景(官方标注为 Preview)。 报价与档位见官方 plans 页(本站按本站的报价记录约定不存价格数字)。
People already inside the GitHub ecosystem (working via PR / Issue / Actions). People who need the widest editor coverage (VS Code / JetBrains / Eclipse / Xcode). Organisations that need quota-pool governance and admin spend controls.
Not a fit for anyone requiring pricing stated once and clearly — this round could not confirm the price figures tier by tier; check the official site yourself. Also not a fit if you rely on third-party agent delegation (officially marked Preview).
中文生态China availability 国产 / 国内可直接用 / 备案状态 · 快照domestic / direct access / CAC filing · snapshot 2026-10-20
- 出品属地Origin
- 国外出品foreign-made 国外主体(网信办公示名单未见对应备案主体)。foreign entity (no matching filing entity in the CAC registry).
- 国内使用Direct access
- 大陆可直连direct OK 官网仓库在 GitHub,大陆直连波动(同日实测 200/000 混合);npm / PyPI 安装源实测稳定可达。Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
- 备案状态CAC filing
- 未见于备案名单not in filing list:未见于网信办公示名单(2026-10-20 检索 13 批附件,https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm);该产品未面向大陆公众提供服务,备案不适用。not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.
备案信息以网信办《生成式人工智能服务已备案信息》公示名单为准(按批次滚动更新,本站只抄编号不解读);「大陆可直连」是本站从大陆网络直连实测的结果,不是厂商承诺。GitHub 类站点当日实测有波动,口径写在依据里。Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
固定坐标系Fixed coordinate system
8 个维度dimensions, 与同分区其他对象逐项可比each comparable item by item against others in the same section.
- 模型与开放条件Model & openness
由 GitHub / Microsoft 统一托管,绑定 GitHub 账号体系。
官方有模型清单页,覆盖多厂商:
- OpenAI(GPT-5 / 5.3-Codex / 5.4 / 5.5 / 5.6 / 6.x)
- Anthropic(Claude Fable / Opus / Sonnet)
- Google(Gemini Flash)
- Microsoft(MAI-Code)
- Moonshot(Kimi)
- xAI(Grok)
模型随套餐与客户端变化:Pro / Pro+ / Max / Business / Enterprise 各不同,Free 与 Student 仅能经 Auto 模型选择使用;组织 / 企业可启用或限制具体模型。
聊天框有模型切换器(另有 Auto),部分模型支持 1M token 上下文 与可调 reasoning(VS Code 与 CLI)。
BYOK 已核验:VS Code 可从 provider(Anthropic / Gemini / OpenAI 等)或 AI Toolkit 添加模型,可能需 API key 或 PAT。
Business / Enterprise 需先启用「Bring Your Own Language Model Key in Select IDEs」策略。
第三方 agent 委派(Claude / Codex)仍标 Preview。
Uniformly hosted by GitHub / Microsoft, bound to the GitHub account system.
There is an official models page, covering multiple vendors:
- OpenAI (GPT-5 / 5.3-Codex / 5.4 / 5.5 / 5.6 / 6.x)
- Anthropic (Claude Fable / Opus / Sonnet)
- Google (Gemini Flash)
- Microsoft (MAI-Code)
- Moonshot (Kimi)
- xAI (Grok)
Models vary by plan and client: Pro / Pro+ / Max / Business / Enterprise each differ; Free and Student can only use models via Auto model selection; organizations / enterprises can enable or restrict specific models.
The chat box has a model switcher (plus Auto); some models support 1M-token context and adjustable reasoning (VS Code and CLI).
BYOK verified: VS Code can add models from providers (Anthropic / Gemini / OpenAI etc.) or AI Toolkit, possibly requiring an API key or PAT.
Business / Enterprise must first enable the "Bring Your Own Language Model Key in Select IDEs" policy.
Third-party agent delegation (Claude / Codex) is still marked Preview.
- 运行位置Where it runs
形态最广的一个:
- GitHub 网站本身(含 github.com 与 GitHub Mobile)
- Copilot app
- Copilot CLI
- 以及 VS Code / Visual Studio / JetBrains / Eclipse / Xcode 等编辑器
另有 Codespaces 提供的即时开发环境。
The widest form-factor coverage of any entry:
- the GitHub website itself (github.com and GitHub Mobile)
- Copilot app
- Copilot CLI
- plus editors: VS Code / Visual Studio / JetBrains / Eclipse / Xcode
There are also on-demand dev environments provided by Codespaces.
- 本地文件Local files
通过编辑器扩展或 GitHub 平台访问代码。
官方有语义代码索引(semantic code search):
后台建立,大仓库首次索引最长约 60 秒, 此后增量更新通常在新会话开始后数秒内完成。
供 GitHub 网站与 VS Code 的 Copilot Chat、以及 cloud agent 使用。
非 GitHub 仓库(GitLab、本地仓库)在 VS Code 也可语义索引, 但会把数据上传到 GitHub,且默认关闭、需管理员启用 「Semantic indexing for non-GitHub repositories」策略。
Content exclusion 可让 Copilot 忽略指定文件。
官方明说索引结果 不用于模型训练。
Accesses code via editor extensions or the GitHub platform.
There is an official semantic code index (semantic code search):
built in the background; first indexing of a large repo takes up to ~60 seconds, afterwards incremental updates usually complete within seconds of a new session starting.
Used by Copilot Chat on the GitHub website and in VS Code, and by the cloud agent.
Non-GitHub repos (GitLab, local repos) can also be semantically indexed in VS Code, but data is uploaded to GitHub, and it is off by default, requiring the admin policy "Semantic indexing for non-GitHub repositories".
Content exclusion can make Copilot ignore specified files.
The official docs state plainly that index results are not used for model training.
- 关机后的任务Tasks after shutdown
有明确的真后台 cloud agent(原 coding agent)。
官方原文:「GitHub Copilot can work independently in the background」
在由 GitHub Actions 驱动的临时开发环境里独立跑任务—— 即厂商托管,你的机器关闭后仍继续。
触发方式:派 GitHub issue、在 PR 评论
@copilot,或从 VS Code 入口; 可产出分支 / PR(一次一分支、一任务一 PR)。Business / Enterprise 默认禁用,需管理员先启用。
限制:cloud agent 不遵守 content exclusion。
用量:消耗 GitHub Actions 分钟 + Copilot premium requests。
There is an explicit true-background cloud agent (formerly coding agent).
Official wording: "GitHub Copilot can work independently in the background"
It runs tasks independently in ephemeral dev environments driven by GitHub Actions — i.e. vendor-hosted; it keeps going after your machine is off.
Triggers: assign a GitHub issue, comment
@copiloton a PR, or start from the VS Code entry; it can produce branches / PRs (one branch at a time, one PR per task).Disabled by default on Business / Enterprise; admins must enable it first.
Limitation: the cloud agent does not respect content exclusion.
Usage: consumes GitHub Actions minutes + Copilot premium requests.
- 工具与扩展Tools & extensions
MCP 是官方平台级能力—— 导航栏即有独立的「MCP Registry / Integrate external tools」条目。 支持自定义指令与自定义 agent。 File diff reviews in code editors 在更高档位提供。
MCP is an official platform-level capability — the platform navigation itself has a dedicated "MCP Registry / Integrate external tools" entry. Custom instructions and custom agents are supported. File diff reviews in code editors are available on higher tiers.
- 上下文与记忆Context & memory
上下文窗口有上限说明:部分模型支持 1M token 上下文 (仅 VS Code 与 Copilot CLI 可用),并有可调 reasoning (VS Code、CLI 与 cloud agent)。
跨会话记忆已核验为官方功能 Copilot Memory(public preview): 存仓库级事实与用户级偏好,带引用并在当前分支校验, 未使用的条目 28 天后自动删除,可在多个 feature 间共享; 付费套餐可用,组织 / 企业需管理员先启用。
另有 custom instructions 三类(个人 / 仓库 / 组织),优先级 个人 > 仓库 > 组织:
- 仓库级用
.github/copilot-instructions.md - 路径级用
.github/instructions/**/*.instructions.md - 以及
AGENTS.md等 agent 指令
Context windows have documented limits: some models support 1M-token context (only in VS Code and Copilot CLI), with adjustable reasoning (VS Code, CLI and cloud agent).
Cross-session memory verified as the official feature Copilot Memory (public preview): stores repo-level facts and user-level preferences, with citations and validation against the current branch; unused entries are auto-deleted after 28 days, shareable across multiple features; available on paid plans, organizations / enterprises require admin enablement first.
There are also three kinds of custom instructions (personal / repository / organization), priority personal > repository > organization:
- repository level via
.github/copilot-instructions.md - path level via
.github/instructions/**/*.instructions.md - plus agent instructions such as
AGENTS.md
- 仓库级用
- 权限与限制Permissions & limits
依赖 GitHub 权限体系(仓库 / PR / 组织策略)。
官方已核验的边界:
- ① Content exclusion(Business / Enterprise)可让 Copilot 忽略 指定文件;但不覆盖 symlink 与远程文件系统、在 VS Code 的 Edit / Agent 模式不支持,且 cloud agent 不适用内容排除。
- ② cloud agent 默认受防火墙限制联网:官方称按域名 / URL 允许清单放行,可在组织与仓库级配置;但防火墙只作用于 agent 经 Bash 工具启动的进程、不覆盖 MCP,且官方承认可能被绕过。
- ③ Business / Enterprise 需管理员先启用 agent、模型切换与 BYOK 策略;仓库可 opt out。索引不用于模型训练。
Relies on the GitHub permission system (repo / PR / org policies).
Officially verified boundaries:
- ① Content exclusion (Business / Enterprise) can make Copilot ignore specified files; but it does not cover symlinks and remote filesystems, is not supported in VS Code's Edit / Agent modes, and does not apply to the cloud agent.
- ② the cloud agent is firewalled by default: officially an allow-list by domain / URL, configurable at org and repo level; but the firewall only covers processes the agent starts via the Bash tool, does not cover MCP, and the official docs acknowledge it may be bypassed.
- ③ Business / Enterprise require admins to enable agents, model switching and BYOK policies first; repos can opt out. Indexing is not used for model training.
- 适合什么任务Best for
已在 GitHub 生态内(用 PR / Issue / Actions 工作)的人; 需要最广编辑器覆盖的人(VS Code / JetBrains / Eclipse / Xcode 都能用); 企业采购需要额度池治理与管理员支出控制的人。
只想试 AI 补全的人可用 Copilot Free(有限额度)。
People already inside the GitHub ecosystem (working via PRs / issues / Actions); people needing the widest editor coverage (VS Code / JetBrains / Eclipse / Xcode all work); enterprise buyers needing quota-pool governance and admin spend controls.
People who just want to try AI completion can use Copilot Free (limited quota).
头号误解Top misconception
- 把 Flex allotment 当固定额度,官方明确说它会变Reading Flex allotment as a fixed quota — the official docs say it changes
- 忽略 Preview 状态的第三方 agent 委派(Claude / Codex)Overlooking third-party agent delegation in Preview (Claude / Codex)
- 以为个人档也有额度池共享,Pooled usage 仅 Business / EnterpriseAssuming individual plans share a quota pool — pooled usage is Business / Enterprise only
- 以为 cloud agent 会遵守 content exclusion——官方明说它不遵守Assuming the cloud agent honours content exclusion — the official docs say plainly that it does not
未知项清单Known unknowns
- 第三方 agent 委派(Claude / Codex)的实际可用范围(官方标注 Preview)
- 企业策略对可用能力的完整影响面
- cloud agent 防火墙被绕过的实际边界(官方自称可能被绕过)
- Actual availability of third-party agent delegation (Claude / Codex) (officially labeled Preview)
- The full impact of enterprise policies on available capabilities
- The practical boundary of bypassing the cloud-agent firewall (the official docs themselves say it may be bypassed)
证据来源Evidence sources
判断可回到以下一手源复核。本站核验日Every judgement can be rechecked against the primary sources below. Verified on 2026-10-23,内容更新日content updated on 2026-10-08。
| 类型Type | 名称Name | 链接Link |
|---|---|---|
| pricing | GitHub · Copilot 定价与 plans 页(功能逐项对照)GitHub · Copilot pricing and plans page (feature-by-feature comparison) | https://github.com/features/copilot/plans |
| docs | GitHub · Copilot 官方文档GitHub · Copilot official documentation | https://docs.github.com/en/copilot |
| docs | GitHub · Copilot 支持的 AI 模型(多厂商清单、按套餐与客户端)GitHub · AI models supported by Copilot (multi-vendor list, by plan and client) | https://docs.github.com/en/copilot/reference/ai-models/supported-models |
| docs | GitHub · 切换模型与自带模型(BYOK / AI Toolkit)GitHub · switching models and bring-your-own models (BYOK / AI Toolkit) | https://docs.github.com/en/copilot/how-tos/use-ai-models/change-the-chat-model |
| docs | GitHub · Copilot cloud agent(后台运行、GitHub Actions 环境、限额)GitHub · Copilot cloud agent (background runs, GitHub Actions environment, limits) | https://docs.github.com/en/copilot/concepts/agents/coding-agent/about-coding-agent |
| docs | GitHub · 仓库语义索引(semantic code search)GitHub · repository semantic indexing (semantic code search) | https://docs.github.com/en/copilot/concepts/context/repository-indexing |
| docs | GitHub · Content exclusion(内容排除与限制)GitHub · Content exclusion (exclusions and limitations) | https://docs.github.com/en/copilot/concepts/context/content-exclusion |
| docs | GitHub · Copilot Memory(跨会话记忆,public preview)GitHub · Copilot Memory (cross-session memory, public preview) | https://docs.github.com/en/copilot/concepts/agents/copilot-memory |
| docs | GitHub · 自定义指令(个人 / 仓库 / 组织与优先级)GitHub · custom instructions (personal / repository / organization and priority) | https://docs.github.com/en/copilot/concepts/prompting/response-customization |
| docs | GitHub · cloud agent 防火墙(域名 / URL 允许清单与限制)GitHub · cloud agent firewall (domain / URL allow-list and limits) | https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-firewall |
| changelog | GitHub · Changelog(Copilot 标签)GitHub · Changelog (Copilot label) | https://github.blog/changelog/label/copilot/ |
实测记录Measured runs
本档未跑端到端编码任务;能力结论来自官方文档,编码向测量协议见 protocols/coding/_protocol.md。
实测建议:重点测第三方 agent 委派(Preview)的实际可用性—— 这是本分区唯一有这个能力的对象,值得先验证。
This site has not completed measured runs. The test protocol is at protocols/coding/_protocol.md.
Suggested measurement: focus on the real usability of third-party agent delegation (Preview) — it is the only object in this section with this capability, worth verifying first.
本分区的形态覆盖之最The broadest form-factor coverage in this section
| 形态 | Copilot 是否覆盖 |
|---|---|
| GitHub 网站 / Mobile | ✅ |
| Copilot app | ✅ |
| Copilot CLI | ✅ |
| VS Code / Visual Studio / JetBrains / Eclipse / Xcode | ✅ |
| Codespaces 云端环境 | ✅ |
| 云端 agent | ✅ |
没有任何其他对象能覆盖这么多形态。
| Form | Covered by Copilot? |
|---|---|
| GitHub website / Mobile | ✅ |
| Copilot app | ✅ |
| Copilot CLI | ✅ |
| VS Code / Visual Studio / JetBrains / Eclipse / Xcode | ✅ |
| Codespaces cloud environments | ✅ |
| Cloud agent | ✅ |
No other object covers this many forms.
三个值得单独记录的能力Three capabilities worth recording separately
① 可委派任务给第三方 agent(Preview)
官方 plans 页原文:
Delegate tasks to third-party coding agents like Claude by Anthropic
and OpenAI Codex (Preview)
这是本分区里唯一明确写出「能把任务交给竞品 agent」的对象。
含义:Copilot 正在从「自己干活」转向「调度别人干活」。 它把自己定位成任务分发层,而非模型的唯一提供方。
注意标注是 Preview。
② 额度机制有三层
从 plans 页可见的机制:
| 机制 | 说明 |
|---|---|
| Base credits | 各档位的基础额度 |
| Flex allotment | 变量额外用量,官方明确标注「Flex allotments may change over time」 |
| Purchase additional GitHub AI Credits | 可额外购买额度 |
| Pooled usage | 组织内共享额度 + 管理员支出控制(Business / Enterprise 专有) |
Flex allotment 那句话值得单独记: 官方主动声明它会变——这意味着它不能被当作可依赖的固定额度。
③ 企业侧的额度治理
Pooled usage
Included AI credits are shared org-wide with admin controls for spending.
组织内共享 + 管理员支出控制—— 这在个人档完全不可用,是企业采购时的关键能力。
① Tasks can be delegated to third-party agents (Preview)
Official plans-page wording:
Delegate tasks to third-party coding agents like Claude by Anthropic
and OpenAI Codex (Preview)
This is the only object in this section that explicitly says "tasks can be handed to competitor agents".
Implication: Copilot is moving from "doing the work itself" to "dispatching others to do it". It positions itself as a task-distribution layer, not the sole model provider.
Note the Preview label.
② The quota mechanism has three layers
Mechanics visible from the plans page:
| Mechanic | Description |
|---|---|
| Base credits | base quota per tier |
| Flex allotment | variable extra usage, officially flagged "Flex allotments may change over time" |
| Purchase additional GitHub AI Credits | extra quota can be purchased |
| Pooled usage | org-wide shared quota + admin spend controls (Business / Enterprise only) |
That Flex allotment sentence is worth noting on its own: the vendor proactively declares it will change — meaning it cannot be relied on as fixed quota.
③ Quota governance on the enterprise side
Pooled usage
Included AI credits are shared org-wide with admin controls for spending.
Org-wide sharing + admin spend controls — completely unavailable on personal tiers; a key capability for enterprise procurement.
功能逐项对照(官方 plans 页结构)Feature-by-feature comparison (official plans-page structure)
从采集到的对照表可见,档位差异主要在这些项:
| 功能 | 覆盖情况 |
|---|---|
| Editors and IDEs | 多编辑器支持 |
| GitHub(github.com + Mobile) | 覆盖 |
| Agent mode | 多档位提供(VS Code / Visual Studio / JetBrains / Eclipse / Xcode) |
| Integrates with MCP servers | 覆盖 |
| Custom instructions and agents | 覆盖 |
| App modernization for Java and .NET | 部分档位 |
| Assign work and create a pull request | 部分档位 |
| Code review(PR 审查) | 覆盖 |
| File diff reviews in code editors | 仅更高档 |
| Custom instructions with instructions.md | 仅更高档 |
| Cloud agent | 部分档位 |
| 第三方 agent 委派(Claude / Codex) | 标注 Preview |
From the collected comparison table, tier differences mainly show up in these items:
| Feature | Coverage |
|---|---|
| Editors and IDEs | multi-editor support |
| GitHub (github.com + Mobile) | covered |
| Agent mode | offered on multiple tiers (VS Code / Visual Studio / JetBrains / Eclipse / Xcode) |
| Integrates with MCP servers | covered |
| Custom instructions and agents | covered |
| App modernization for Java and .NET | some tiers |
| Assign work and create a pull request | some tiers |
| Code review (PR review) | covered |
| File diff reviews in code editors | higher tiers only |
| Custom instructions with instructions.md | higher tiers only |
| Cloud agent | some tiers |
| Third-party agent delegation (Claude / Codex) | labeled Preview |
官方生态位:MCP Registry 是平台级能力Official ecosystem position: MCP Registry is platform-level infrastructure
值得注意的是,GitHub 把「MCP Registry / Integrate external tools」 放在平台导航的显眼位置,与 Copilot app 并列。
这说明 MCP 在 GitHub 的战略里不只是「一个插件」,而是平台级基础设施。
对本仓库的意义: 工具分区的条目如果哪天要选一个上游, GitHub 的 MCP Registry 是一个候选分发渠道。
Notably, GitHub puts "MCP Registry / Integrate external tools" in a prominent spot in platform navigation, alongside the Copilot app.
This suggests MCP is not just "a plugin" in GitHub's strategy but platform-level infrastructure.
Implication for this repository: if an entry in the tools section ever needs to pick an upstream, GitHub's MCP Registry is a candidate distribution channel.
采集限制Collection limits
| 页面 | 状态 |
|---|---|
| plans 页 | ✅ 取到 71K 字符,功能逐项对照完整 |
| docs.github.com | ✅ 2026-10-08 已取到模型、cloud agent、索引、内容排除、Memory、指令、防火墙等页 |
| Changelog | ✅ 取到 5838 字符 |
confidence: partial 的依据:第三方 agent 委派(Preview)的实际可用范围未核验。
| Page | Status |
|---|---|
| plans page | ✅ 71K characters captured, feature-by-feature comparison complete |
| docs.github.com | ✅ as of 2026-10-08 captured pages on models, cloud agent, indexing, content exclusion, Memory, instructions, firewall, etc. |
| Changelog | ✅ 5838 characters captured |
Basis for confidence: partial: the actual availability of third-party agent delegation (Preview) was not verified.
相关条目Related entries
- CursorCursor同分区,架构更激进(自托管 + 子智能体编排)same section; more aggressive architecture (self-hosted + sub-agent orchestration)
- WindsurfWindsurf / Devin Desktop同分区,已改称 Devin Desktopsame section; now renamed Devin Desktop
- GitHub MCP ServerGitHub MCP Server另一层 · MCP 工具Other layer · MCP tools
- Filesystem MCP ServerFilesystem MCP Server另一层 · MCP 工具Other layer · MCP tools
本页由This page is generated from the ai-handbook 数据层生成(CC BY 4.0)。data layer (CC BY 4.0).
方法论与坐标系定义见仓库内For the methodology and coordinate definitions, see METHODOLOGY.md.