メモ
Copilotのカスタムエージェント は パブリック プレビュー にあり、変更される可能性があります。
Introduction
Before you release or update a カスタム エージェント 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 エージェント プロファイル to make it available across your company.
Prerequisites
Before you can test a カスタム エージェント, you need to set up your organization or enterprise for カスタム エージェント. See 組織でカスタム エージェントを使用する準備 or 企業でカスタム エージェントを使用する準備.
1. Create your test カスタム エージェント
- 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 エージェント プロファイル 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 エージェント プロファイル, see Copilot クラウドエージェント用のカスタム エージェントの作成. - Merge your test エージェント プロファイル into the default branch of your repository.
2. Test your カスタム エージェント
- 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 カスタム エージェント, 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 カスタム エージェント as needed until you are satisfied with its performance.
3. Release your カスタム エージェント
- In your
.github-privaterepository, move your エージェント プロファイル from the.github/agentsdirectory into theagentsdirectory. - Merge your changes into the default branch. Your カスタム エージェント is now available to all users in your organization or enterprise.
Next steps
To monitor the usage of カスタム エージェント in your organization, filter your organization's audit log by actor:Copilot. See あなたの組織の監査ログを確認する.
To monitor the usage of カスタム エージェント in your enterprise, see 企業での主体的活動の監視.