Skip to main content

Testing and releasing Benutzerdefinierte Agenten in your organization or enterprise

Ensure your Benutzerdefinierte Agenten are performant and compliant before releasing them to your company.

Hinweis

Copilot benutzerdefinierte Agenten stehen in der öffentliche Vorschau zur Verfügung und können sich ändern.

Introduction

Before you release or update a Benutzerdefinierter Agent in your organization or enterprise, you can test the agent privately to ensure it meets your standards. Once you are satisfied, you can then easily change the location of your Agentprofil to make it available across your company.

Prerequisites

Before you can test a Benutzerdefinierter Agent, you need to set up your organization or enterprise for Benutzerdefinierte Agenten. See Vorbereiten der Verwendung von benutzerdefinierten Agents in Ihrer Organisation or Vorbereitung der Verwendung benutzerdefinierter Agents in Ihrem Unternehmen.

1. Create your test Benutzerdefinierter Agent

  1. In your organization or enterprise's .github-private repository, create a new directory called .github/agents. Agents stored in this directory are only available to members of your organization or enterprise who have access to the .github-private repository, and can only be used when they start a task within that repository.
  2. In your .github/agents directory, create the Agentprofil for your test agent. You can create a net-new profile or duplicate an existing profile to test potential updates. For information on configuring an Agentprofil, see Erstellen von benutzerdefinierten Agents für Copilot-Cloud-Agent.
  3. Merge your test Agentprofil into the default branch of your repository.

2. Test your Benutzerdefinierter Agent

  1. Go to the agents tab at https://github.com/copilot/agents.
  2. Using the dropdown menu in the prompt box, select your .github-private repository.
  3. Select , then click your test agent.
  4. To test your Benutzerdefinierter Agent, send Copilot a prompt.
  5. In the "Recent sessions" section, click your session to see detailed information about your results.
  6. Continue making changes and testing your Benutzerdefinierter Agent as needed until you are satisfied with its performance.

3. Release your Benutzerdefinierter Agent

  1. In your .github-private repository, move your Agentprofil from the .github/agents directory into the agents directory.
  2. Merge your changes into the default branch. Your Benutzerdefinierter Agent is now available to all users in your organization or enterprise.

Next steps

To monitor the usage of Benutzerdefinierte Agenten in your organization, filter your organization's audit log by actor:Copilot. See Auditprotokoll deiner Organisation überprüfen.

To monitor the usage of Benutzerdefinierte Agenten in your enterprise, see Überwachung agentischer Tätigkeiten in Ihrem Unternehmen.