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
- In your organization or enterprise's
.github-privaterepository, 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-privaterepository, and can only be used when they start a task within that repository. - In your
.github/agentsdirectory, 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. - Merge your test Agentprofil into the default branch of your repository.
2. Test your Benutzerdefinierter Agent
- Go to the agents tab at https://github.com/copilot/agents.
- Using the dropdown menu in the prompt box, select your
.github-privaterepository. - Select , then click your test agent.
- To test your Benutzerdefinierter Agent, send Copilot a prompt.
- In the "Recent sessions" section, click your session to see detailed information about your results.
- Continue making changes and testing your Benutzerdefinierter Agent as needed until you are satisfied with its performance.
3. Release your Benutzerdefinierter Agent
- In your
.github-privaterepository, move your Agentprofil from the.github/agentsdirectory into theagentsdirectory. - 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.