Skip to main content

About enabling Copilot 编码智能体

Find out about enabling Copilot 编码智能体 for GitHub Copilot Enterprise and GitHub Copilot Business, and about disabling the agent for specific repositories.

谁可以使用此功能?

Copilot 编码智能体 可在未禁用该功能的存储库中,通过 GitHub Copilot Pro+、GitHub Copilot Business 和 GitHub Copilot Enterprise 计划使用。 Copilot 编码智能体 在 托管用户帐户 拥有的仓库中不可用。
Sign up for Copilot

注意

Copilot 编码智能体 为 公共预览版,可能会变动。 在预览期间,该功能的使用须遵循“GitHub 预发行许可条款”。

For an introduction to Copilot 编码智能体, see 关于 Copilot 编码代理.

Overview

Copilot 编码智能体 is an AI-powered software development agent that can work autonomously on issues or developer requests. It raises draft pull requests to propose a fix and iterates on the changes in response to feedback.

If you are a GitHub Copilot Enterprise or GitHub Copilot Business subscriber, Copilot 编码智能体 is disabled by default and must be enabled by an administrator before it is available for use.

If you are a GitHub Copilot Pro or Pro+ subscriber, Copilot 编码智能体 is enabled by default.

Once enabled, you can use Copilot 编码智能体 in any repository, provided that an administrator hasn't opted the repository out.

Enabling Copilot 编码智能体 for Copilot Business and Copilot Enterprise subscribers

对于 GitHub Copilot Business 和 GitHub Copilot Enterprise 订阅者,使用 Copilot 编码智能体 的权限由组织层级定义的策略设置控制。 请参阅“将 Copilot 编码智能体 添加到组织”。

如果该组织归企业所有,则可以在企业级别控制启用情况。 请参阅“在企业帐户中管理 Copilot 编码智能体”。

Opting repositories out of Copilot 编码智能体

By default, users with Copilot 编码智能体 enabled can use it in all repositories.

Enterprise administrators and organization owners (for organization-owned repositories) and users (for user-owned repositories) can opt out repositories and prevent Copilot 编码智能体 from being used in those repositories.

For information on disabling Copilot 编码智能体 in repositories owned by your personal user account, see 以单个订阅者身份管理 Copilot 策略.

For information on disabling Copilot 编码智能体 in all repositories owned by an enterprise, see 在企业帐户中管理 Copilot 编码智能体.

For information on disabling Copilot 编码智能体 in some or all repositories owned by an organization, see 将 Copilot 编码智能体 添加到组织.

Further reading