Answer: Subagents can be invoked automatically through automatic delegation, directly by calling the subagent in your prompt, or by calling the #runSubagent tool. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/invoke-subagents Revision: 3 Digest: sha256:f52672de940d8b4e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:25:54Z Last changed: 2026-11-18T12:59:51Z (example tool prompt: — → Evaluate the #file:databaseSchema using #runSubagent and generate an optimized data-migration plan.) Last verified: 2026-11-20T13:05:12Z Next check: 2026-11-21T13:05:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of invocation methods | Automatic delegation | [1] | 2026-11-20 direct invocation | Direct invocation | [1] | 2026-11-20 tool invocation | #runSubagent | [1] | 2026-11-20 example direct prompt | Use the testing subagent to write unit tests for the authentication module. | [1] | 2026-11-20 example tool prompt | Evaluate the #file:databaseSchema using #runSubagent and generate an optimized data-migration plan. | [1] | 2026-11-20 Sources: [1] GitHub. "Using subagents in your IDE - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-in-your-ide/use-copilot-agents/use-subagents Role: primary. Accessed: 2026-11-20T13:05:12Z Quote: "Subagents can be invoked in different ways: Automatic delegation ." (Supports: invocation methods) Quote: "Direct invocation . You can directly call the subagent in your prompt:" (Supports: direct invocation) Quote: "Calling the #runSubagent tool." (Supports: tool invocation) Quote: "Use the testing subagent to write unit tests for the authentication module." (Supports: example direct prompt) Quote: "Evaluate the #file:databaseSchema using #runSubagent and generate an optimized data-migration plan." (Supports: example tool prompt) Snapshot SHA-256: f3265ca44346458f84445e7721541f3362f2141d96ed47206c5223fcaaa1869f (captured 2026-11-18T12:59:50Z) 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:59:51Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:05:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:05:12Z Last attempt: 2026-11-20T13:05:12Z Notes and limitations: Extracted automatically from a single official source (section "Invoking subagents"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/iterate-on-code-changes How do I iterate on code changes with GitHub Copilot agents? https://latestn.com/tool/github-copilot/agents-and-automation/kick-off-agent-task How do I kick off a task with GitHub Copilot agents on GitHub? https://latestn.com/tool/github-copilot/agents-and-automation/let-copilot-work-through-task How do I let GitHub Copilot work through a task in my IDE? https://latestn.com/tool/github-copilot/agents-and-automation/implement-feature-from-issue-2 How do I implement a feature from a GitHub Issue using GitHub Copilot? https://latestn.com/tool/github-copilot/agents-and-automation/implementation-planner-agent-profile What is the agent profile for the GitHub Copilot Implementation planner custom agent? https://latestn.com/tool/github-copilot/agents-and-automation/improve-project-with-cloud-agent How can I use GitHub Copilot cloud agent to improve a project? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:59:51Z | changed | example tool prompt: — → Evaluate the #file:databaseSchema using #runSubagent and generate an optimized data-migration plan. | [1] 2026-11-18T12:59:51Z | changed | example direct prompt: — → Use the testing subagent to write unit tests for the authentication module. | [1] 2026-11-18T12:59:51Z | changed | tool invocation: — → #runSubagent | [1] 2026-11-18T12:59:51Z | changed | direct invocation: — → Direct invocation | [1] 2026-11-18T12:59:51Z | changed | runSubagent tool example: Evaluate the #file:databaseSchema using #runSubagent and generate an optimized data-migration plan. → — | [1] 2026-11-18T12:59:51Z | changed | direct invocation example: Use the testing subagent to write unit tests for the authentication module. → — | [1] 2026-11-16T12:48:56Z | changed | automatic delegation example: Suggest ways to refactor this legacy code. → — | [1] 2026-11-13T03:25:54Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/invoke-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/invoke-subagents POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/invoke-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/invoke-subagents?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I invoke subagents in GitHub Copilot in my IDE? Revision 3, last verified 2026-11-20T13:05:12Z. https://latestn.com/tool/github-copilot/agents-and-automation/invoke-subagents (accessed 2026-11-21T09:55:15Z). @misc{LatestN_tool_github_copilot_agents_and_automation_invoke_subagents_r3, title = {How do I invoke subagents in GitHub Copilot in my IDE?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/invoke-subagents}}, note = {Revision 3; digest sha256:f52672de940d8b4e; last verified 2026-11-20T13:05:12Z; accessed 2026-11-21T09:55:15Z} } 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/invoke-subagents