Start Copilot cloud agent tasks via the REST API
Copilot Business and Copilot Enterprise users can programmatically start Copilot cloud agent tasks with the new Agent tasks REST API, available in public preview.
Copilot cloud agent works in the background in its own development environment, where it can make and validate code changes, then open a pull request.
The new API makes it easy to weave Copilot cloud agent into custom automations. For example, you could:
-
Fan out refactors or migrations across many repositories from a simple script.
-
Set up new repositories in one click from your company’s internal developer portal.
-
Automatically prepare a new release each week, including release notes.
Once you’ve started a task, you can also track progress through the API.
The Agent tasks API supports authentication with personal access tokens (classic and fine-grained) and OAuth tokens.
Support for GitHub App installation access tokens, plus access for Copilot Pro and Pro+ users, is coming soon.
To learn more, head to our agents tasks REST API documentation.
The post Start Copilot cloud agent tasks via the REST API appeared first on The GitHub Blog.
Fetched May 13, 2026

