Answer: A custom agent defines a specialist role, with instructions and available tools for a particular kind of work, which you can think of as a persona that Copilot can adopt. You should use a custom agent when you want a specialized reviewer or helper, a constrained toolset, or a consistent approach; separate context is a benefit of running an agent as a subagent, not a requirement for using a custom agent. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/custom-agents-overview Revision: 3 Digest: sha256:e0d7cc62777a9cde (changes whenever the content changes) Timeline: Created: 2026-11-13T03:20:30Z Last changed: 2026-11-18T12:49:57Z (when to use - consistent approach: — → A consistent approach.) Last verified: 2026-11-20T12:56:25Z Next check: 2026-11-21T12:56:25Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of definition | A custom agent defines a specialist role, with instructions and available tools for a particular kind of work. | [1] | 2026-11-20 persona analogy | a persona that Copilot can adopt | [1] | 2026-11-20 when to use - specialized reviewer | A specialized reviewer or helper. | [1] | 2026-11-20 when to use - constrained toolset | A constrained toolset. | [1] | 2026-11-20 when to use - consistent approach | A consistent approach. | [1] | 2026-11-20 subagent context note | Separate context is a benefit of running an agent as a subagent, not a requirement for using a custom agent. | [1] | 2026-11-20 Sources: [1] GitHub. "Comparing Copilot customization features - GitHub Docs". https://docs.github.com/en/copilot/concepts/customizations/comparing-customizations Role: primary. Accessed: 2026-11-20T12:56:25Z Quote: "A custom agent defines a specialist role, with instructions and available tools for a particular kind of work." (Supports: definition) Quote: "You can think of it as a persona that Copilot can adopt" (Supports: persona analogy) Quote: "Use a custom agent when you want: A specialized reviewer or helper." (Supports: when to use - specialized reviewer) Quote: "A constrained toolset." (Supports: when to use - constrained toolset) Quote: "A consistent approach." (Supports: when to use - consistent approach) Quote: "Separate context is a benefit of running an agent as a subagent, not a requirement for using a custom agent." (Supports: subagent context note) Snapshot SHA-256: 98a84f0f44fb8d3c0d4ee77704e28c31db082cfe48f64af1f3b9df27db8bdb16 (captured 2026-11-18T12:49:55Z) 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-18T12:49:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:56:25Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:56:25Z Last attempt: 2026-11-20T12:56:25Z Notes and limitations: Extracted automatically from a single official source (section "Custom agents"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-vs-subagents What is the difference between custom agents and subagents in GitHub Copilot? https://latestn.com/tool/github-copilot/agents-and-automation/custom-environment-codespaces How do I create a custom environment for GitHub Copilot agents using GitHub Codespaces? https://latestn.com/tool/github-copilot/agents-and-automation/custom-environment-linux-machine How do I create a custom environment for GitHub Copilot agents using a Linux machine? 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/custom-agent-tool-aliases What tool aliases and tool names can I reference in a GitHub Copilot custom agent? https://latestn.com/tool/github-copilot/agents-and-automation/custom-agent-yaml-frontmatter What YAML frontmatter properties can I set in a GitHub Copilot custom agent configuration? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:49:57Z | changed | when to use - consistent approach: — → A consistent approach. | [1] 2026-11-18T12:49:57Z | changed | when to use - constrained toolset: — → A constrained toolset. | [1] 2026-11-18T12:49:57Z | changed | when to use - specialized reviewer: — → A specialized reviewer or helper. | [1] 2026-11-18T12:49:57Z | changed | persona analogy: — → a persona that Copilot can adopt | [1] 2026-11-18T12:49:57Z | changed | consistent approach example: A consistent approach. → — | [1] 2026-11-18T12:49:57Z | changed | constrained toolset example: A constrained toolset. → — | [1] 2026-11-18T12:49:57Z | changed | when to use: A specialized reviewer or helper. → — | [1] 2026-11-16T12:39:36Z | changed | subagent context note: — → Separate context is a benefit of running an agent as a subagent, not a requirement for using a custom agent. | [1] 2026-11-16T12:39:36Z | changed | consistent approach example: — → A consistent approach. | [1] 2026-11-16T12:39:36Z | changed | constrained toolset example: — → A constrained toolset. | [1] 2026-11-16T12:39:36Z | changed | when to use: — → A specialized reviewer or helper. | [1] 2026-11-16T12:39:36Z | changed | definition: — → A custom agent defines a specialist role, with instructions and available tools for a particular kind of work. | [1] 2026-11-16T12:39:36Z | changed | Subagent context note: Separate context is a benefit of running an agent as a subagent, not a requirement for using a custom agent. → — | [1] 2026-11-16T12:39:36Z | changed | When to use - consistent approach: A consistent approach → — | [1] 2026-11-16T12:39:36Z | changed | When to use - constrained toolset: A constrained toolset → — | [1] 2026-11-16T12:39:36Z | changed | When to use - specialized reviewer: A specialized reviewer or helper → — | [1] 2026-11-16T12:39:36Z | changed | Definition: defines a specialist role, with instructions and available tools for a particular kind of work → — | [1] 2026-11-13T03:20:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-overview/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/custom-agents-overview POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/custom-agents-overview with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/custom-agents-overview?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is a custom agent in GitHub Copilot and when should I use one instead of a subagent? Revision 3, last verified 2026-11-20T12:56:25Z. https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-overview (accessed 2026-11-21T09:57:17Z). @misc{LatestN_tool_github_copilot_agents_and_automation_custom_agents_overview_r3, title = {What is a custom agent in GitHub Copilot and when should I use one instead of a subagent?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-overview}}, note = {Revision 3; digest sha256:e0d7cc62777a9cde; last verified 2026-11-20T12:56:25Z; accessed 2026-11-21T09:57:17Z} } 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/custom-agents-overview