Answer: A custom agent is a definition of a specialist, while a subagent is an agent doing delegated work in a separate context window. The main agent can delegate to a built-in agent or run a specialist using a custom agent profile. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/custom-agents-vs-subagents Revision: 2 Digest: sha256:6748721aed1d71c7 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:20:33Z Last changed: 2026-11-19T12:50:28Z (Parallel execution: Independent tasks can also run in parallel → —) Last verified: 2026-11-20T12:56:30Z Next check: 2026-11-21T12:56:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Custom agent definition | A custom agent is a definition of a specialist | [1] | 2026-11-20 Subagent definition | A subagent is an agent doing delegated work in a separate context window | [1] | 2026-11-20 Delegation options | The main agent can delegate to a built-in agent or run a specialist using a custom agent profile | [1] | 2026-11-20 Benefit of separate context | Separate context lets a subagent focus on its assigned task without adding every intermediate detail to the main conversation | [1] | 2026-11-20 CLI instructions behavior | In Copilot CLI, repository instructions are included for the session agent but are not included for a custom subagent by default | [1] | 2026-11-20 Sources: [1] GitHub. "Custom agents - GitHub Docs". https://docs.github.com/en/copilot/concepts/customizations/custom-agents Role: primary. Accessed: 2026-11-20T12:56:30Z Quote: "A custom agent is a definition of a specialist" (Supports: Custom agent definition) Quote: "A subagent is an agent doing delegated work in a separate context window" (Supports: Subagent definition) Quote: "The main agent can delegate to a built-in agent or run a specialist using a custom agent profile" (Supports: Delegation options) Quote: "Separate context lets a subagent focus on its assigned task without adding every intermediate detail to the main conversation" (Supports: Benefit of separate context) Quote: "In Copilot CLI, repository instructions are included for the session agent but are not included for a custom subagent by default" (Supports: CLI instructions behavior) Snapshot SHA-256: 229b4ddecbd9c9b067dc6ac9b4ed8c59f980e539c8fbb53fa0c23e254111274f (captured 2026-11-18T12:50:02Z) 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:50:02Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:56:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:56:30Z Last attempt: 2026-11-20T12:56:30Z Notes and limitations: Extracted automatically from a single official source (section "Custom agents and subagents"). Related: 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/customize-agent-environment-setup-steps How do I customize the development environment for GitHub Copilot cloud agent using Copilot setup steps? 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/github-copilot/agents-and-automation/custom-agents-overview What is a custom agent in GitHub Copilot and when should I use one instead of a subagent? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:50:28Z | changed | Parallel execution: Independent tasks can also run in parallel → — | [1] 2026-11-13T03:20:33Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-vs-subagents/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-vs-subagents POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/custom-agents-vs-subagents 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-vs-subagents?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is the difference between custom agents and subagents in GitHub Copilot? Revision 2, last verified 2026-11-20T12:56:30Z. https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-vs-subagents (accessed 2026-11-21T09:58:18Z). @misc{LatestN_tool_github_copilot_agents_and_automation_custom_agents_vs_subagents_r2, title = {What is the difference between custom agents and subagents in GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/custom-agents-vs-subagents}}, note = {Revision 2; digest sha256:6748721aed1d71c7; last verified 2026-11-20T12:56:30Z; accessed 2026-11-21T09:58:18Z} } 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-vs-subagents