注意
Copilot 编码智能体 为 公共预览版,可能会变动。 在预览期间,该功能的使用须遵循“GitHub 预发行许可条款”。
Prerequisites
- For general information, see Using Copilot 编码智能体 effectively in your organization.
- For information on premium requests and Actions minutes, see Allowance usage for Copilot 编码智能体.
- For information on MCP servers, see Extending Copilot coding agent with the Model Context Protocol (MCP).
Enabling Copilot 编码智能体 for your members
注意
Copilot policies are also managed at the enterprise level. If your organization is part of an enterprise, and explicit settings have been selected at the enterprise level, you cannot override those settings at the organization level. For more information on managing policies at the enterprise level, see Managing policies and features for Copilot in your enterprise.
Copilot 编码智能体 and use of third-party MCP servers are disabled by default for organization members assigned a GitHub Copilot Enterprise or Copilot Business license by your organization.
Organizations with Copilot Enterprise or Copilot Business can enable these features for members on the Copilot policies page for their organization. See Enabling Copilot features in your organization.
- For the "Copilot 编码智能体" policy, select "Enabled".
- For the "MCP servers on GitHub.com" policy, select "Enabled".
Disabling or enabling Copilot 编码智能体 in your repositories
By default, Copilot 编码智能体 is available in all repositories for users who have access to the agent, but you can block it from being used in some or all repositories owned by your organization.
- 在 GitHub 的右上角,选择个人资料照片,然后单击“ 你的组织”****。
- 在组织旁边,单击“设置”。
- 在边栏的“Code, planning, and automation”下,单击“ Copilot”,然后单击“编码智能体”********。
- Use the "Repository access" control to define which repositories allow Copilot 编码智能体.
- If you choose "Selected repositories", in the "Select repositories" dialog, select the repositories that allow Copilot 编码智能体, then click Select.
Once Copilot 编码智能体 is enabled for a repository, any user with access to Copilot 编码智能体 and write permission for the repository can delegate work to Copilot.
Next steps
-
Tell the members of repositories where Copilot 编码智能体 is available that they can delegate work to the coding agent.
-
Encourage members to educate themselves about setting up their repository to get the most from Copilot 编码智能体. Useful resources: