Skip to main content

About third-party agents

You can incorporate coding agents into your development workflows on GitHub.

谁可以使用此功能?

第三方代理可用于 GitHub Copilot Pro+ 和 GitHub Copilot Enterprise 计划中。
Sign up for Copilot

本文内容

注意

Third-party coding agents are currently in 公共预览版.

Introduction

You can use third-party coding agents alongside Copilot 编码智能体 to work asynchronously on your development tasks. You can assign an existing issue or give a prompt to an agent, which will work on the required changes and create a pull request. When the agent finishes, it will request a review from you, and you can leave pull request comments to ask the agent to iterate.

Coding agents are subject to the same security protections, mitigations, and limitations as Copilot 编码智能体. To learn more about how you can use coding agents, see 关于 GitHub Copilot 编码智能体.

Where you can use coding agents

You can kick off tasks with coding agents in the following locations:

  • The Agents tab: Select an agent under the prompt box in the Agents tab, then kick off a new task and watch the agent get to work on a pull request.
  • Issues: Assign the agent to an existing issue in a repository.
  • Pull requests: Mention @AGENT_NAME in a comment on an existing pull request to ask it to make changes.
  • On GitHub Mobile: From the Home view, click to start a new agent session.
  • In Visual Studio Code: Start a new session in the chat view, or delegate an existing session to a different agent.

Making coding agents available

注意

  • 第三方代理可用于 GitHub Copilot Pro+ 和 GitHub Copilot Enterprise 计划中。

Before you can assign tasks to coding agents, they must be enabled. If you are a GitHub Copilot Pro+ subscriber, see 以单个订阅者身份管理 GitHub Copilot 策略.

For GitHub Copilot Business and GitHub Copilot Enterprise subscribers, the ability to use Copilot 编码智能体 is controlled by policy settings defined at the organization level. See 管理组织中的 GitHub Copilot 策略和功能.

If the organization is owned by an enterprise, enablement may be controlled at the enterprise level. See 管理企业中 GitHub Copilot 的策略和功能.

Supported coding agents

The following third-party agents are supported on GitHub:

Usage costs

Coding agents consume GitHub Actions minutes and GitHub Copilot premium requests. Each agent session consumes one premium request.

Within your monthly usage allowance for GitHub Actions and premium requests, you can ask agents to work on coding tasks without incurring any additional costs.

For more information, see GitHub Copilot 许可证.

Next steps