Copilot coding agent is our asynchronous, autonomous background agent. Delegate a task to Copilot, and it opens a draft pull request, makes changes in the background, then requests a review from you.

The GitHub CLI 2.80.0 release introduces the agent-task command set for managing coding agent tasks in gh:

  • Start a new task: gh agent-task create "refactor the codebase"
  • List all your tasks: gh agent-task list
  • View task details: gh agent-task view 1234
  • View the task log in real-time: gh agent-task view 1234 --log --follow

The agent-task command set also ships with the following aliases for convenience:

  • gh agent-tasks
  • gh agent
  • gh agents

For more information about command line flags and arguments, run gh agent-task --help.