Answer: To create a test custom agent, in your organization or enterprise's .github-private repository, create a new directory called .github/agents, then create the agent profile for your test agent in that directory and merge it into the default branch of your repository. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/create-test-custom-agent Revision: 1 Digest: sha256:0494fd9906430184 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:52Z Last changed: 2026-11-13T03:26:52Z Last verified: 2026-11-20T13:06:37Z Next check: 2026-11-21T13:06:37Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of directory | .github/agents | [1] | 2026-11-20 repository | .github-private | [1] | 2026-11-20 final step | Merge your test agent profile into the default branch of your repository. | [1] | 2026-11-20 Sources: [1] GitHub. "Testing and releasing custom agents in your organization or enterprise - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/test-custom-agents Role: primary. Accessed: 2026-11-20T13:06:37Z Quote: "create a new directory called .github/agents" (Supports: directory) Quote: "In your organization or enterprise's .github-private repository" (Supports: repository) Quote: "Merge your test agent profile into the default branch of your repository." (Supports: final step) Snapshot SHA-256: e6cd32d76d6f1165fe62732bd4a60c8b65f30afa262c33c1c024ba3b37e0757e (captured 2026-11-18T13:01:28Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:01:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:37Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:37Z Last attempt: 2026-11-20T13:06:37Z Notes and limitations: Extracted automatically from a single official source (section "1. Create your test custom agent"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/custom-agent-examples What custom agent examples does the GitHub Copilot customization library provide? https://latestn.com/tool/github-copilot/agents-and-automation/custom-agent-examples-2 What example custom agents does GitHub Copilot provide in its customization library? https://latestn.com/tool/github-copilot/agents-and-automation/custom-agent-processing How does GitHub Copilot process custom agent names, versioning, and tool configurations? https://latestn.com/tool/github-copilot/agents-and-automation/create-pr-from-work-item How do I create a pull request from an Azure Boards work item using GitHub Copilot cloud agent? https://latestn.com/tool/github-copilot/agents-and-automation/create-project-assign-work How do I create a project in the GitHub Copilot app and assign work to it? https://latestn.com/tool/github-copilot/agents-and-automation/create-specialized-agent How do I create a specialized agent in GitHub Copilot? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:26:52Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/create-test-custom-agent/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-test-custom-agent POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-test-custom-agent with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-test-custom-agent?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a test custom agent in GitHub Copilot? Revision 1, last verified 2026-11-20T13:06:37Z. https://latestn.com/tool/github-copilot/agents-and-automation/create-test-custom-agent (accessed 2026-11-21T10:00:13Z). @misc{LatestN_tool_github_copilot_agents_and_automation_create_test_custom_agent_r1, title = {How do I create a test custom agent in GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/create-test-custom-agent}}, note = {Revision 1; digest sha256:0494fd9906430184; last verified 2026-11-20T13:06:37Z; accessed 2026-11-21T10:00:13Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/create-test-custom-agent