GitHub Copilot CLI's delegation feature enables two workflows: offloading tasks to a cloud-hosted coding agent via /delegate (or the & shorthand), which creates a draft PR asynchronously while freeing your terminal; and building custom specialized agents defined as .agent.md Markdown files. Custom agents can be stored at user, repo, or org level, invoked explicitly or automatically by Copilot based on task context, and combined with /fleet for parallel multi-agent execution. A practical example shows a team roster of agents for security auditing, code review, docs writing, test generation, and Kubernetes work.
Table of contents
Two flavors of delegation/delegate — Offload to the cloudCustom Agents — Building a team of specialistsWrapping up the seriesSort: