Release

September 26, 20251 Minute Read

Kick off and track Copilot coding agent sessions from the GitHub CLI

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.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Kick off and track Copilot coding agent sessions from the GitHub CLI - GitHub Changelog