Skip to main content

Enabling Copilot coding agent

You can allow Copilot to work on code and raise pull requests.

谁可以使用此功能?

Copilot 编码智能体 可在启用了该功能的存储库中,通过 GitHub Copilot Pro+ 和 GitHub Copilot Enterprise 计划使用。
Sign up for Copilot

注意

Copilot 编码智能体 is in 公共预览版 and subject to change.

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.

Copilot 编码智能体 is off by default and must be enabled before it is available for use.

Enabling Copilot 编码智能体 for organizations

For organizations, the ability to use Copilot 编码智能体 is controlled by policy settings for the organization. See 将 Copilot 编码智能体 添加到组织.

If the organization is owned by an enterprise, enablement may be controlled at the enterprise level. See Making Copilot 编码智能体 available to enterprise members.

Enabling Copilot 编码智能体 for your personal repositories

If you want Copilot 编码智能体 to be available in repositories owned by your own personal account, you must enable it in your account settings. See 以单个订阅者身份管理 Copilot 策略.

Further reading