Skip to main content

Preparing to use custom agents in your organization

Configure the repository that will contain custom agents for your organization.

谁可以使用此功能?

Organization owners

注意

Copilot custom agents are in 公共预览版 and subject to change.

Prerequisites

Before following this article, you should understand what Copilot custom agents are and how they work. See About custom agents.

Preparing your organization for custom agents

注意

If your organization is part of an enterprise, your enterprise owners can configure a ruleset that restricts the creation and management of organization-level custom agents. To understand the availability of custom agents in your organization, contact your enterprise owners.

  1. Start creating your custom agent repository using GitHub's template repository. The template repository contains a starter README and the necessary file structure to speed up your configuration.
  2. Select the Choose an owner dropdown menu, then click your organization.
  3. Name the repository .github-private, then write a brief description and set the visibility of the repository to private.
  4. 单击“创建存储库”。
  5. Update the template README as needed. Consider including creation guidelines for custom agents or compliance considerations specific to your organization.

Next steps

To implement custom agents in your organization, see Creating custom agents.