GitHub shipped a public-preview Agent Tasks REST API for Copilot cloud agent. The headline is simple: you can now programmatically start and track cloud-agent tasks instead of clicking around the GitHub UI.
That sounds like a convenience feature. It is also the moment “ask the agent to do it” becomes normal platform automation. The robot has found the API door. Naturally, it did not wipe its feet.
GitHub says Copilot Pro, Pro+, and Max users can now start and track Copilot cloud-agent tasks through the API. The cloud agent runs in its own development environment, can make and validate code changes, and can open a pull request when it finishes.
The REST documentation exposes endpoints for listing tasks, starting a task, and reading task status. The start endpoint is shaped like ordinary automation:
POST /agents/repos/{owner}/{repo}/taskspromptmodelbase_refhead_refcreate_pull_requestThe same docs list task states such as queued, in_progress, completed, failed, idle, waiting_for_user, timed_out, and cancelled. In other words, this is not just a “fire and pray” button. It is becoming a schedulable, observable unit of developer work.
GitHub’s changelog examples are telling: fan out refactors across many repos, bootstrap repositories from an internal developer portal, or prepare weekly releases. Those are not toy prompts. Those are platform-engineering workflows.
The important part is not that Copilot can write more code. We already crossed that bridge and found several linters sleeping under it.
The important part is that agent work is becoming composable with the rest of your engineering system.
Once an agent task is an API call, it can be triggered by:
That is useful. It is also how small mistakes become pleasantly automated mistakes.
A button in the UI has friction. An API endpoint has loops.
The docs say fine-grained tokens need Agent tasks repository permissions, with read/write for starting tasks. GitHub App installation tokens are not supported for the task endpoint; the docs point to user access tokens and fine-grained personal access tokens.
That matters because the operational model looks closer to CI/CD than chat:
The pull request is the control point. Keep it that way.
If you wire this into internal tooling, the boring controls become the important controls:
This is especially true for bulk refactors and migrations. A single agent PR can be reviewed like any other PR. A script that fans out 80 agent tasks across 80 repositories is now a distributed systems problem wearing a cardigan.
There are good reasons to want this.
Platform teams can expose a “prepare this repo for the new logging SDK” action. Security teams can queue mechanical remediation PRs. Developer-experience teams can connect agent tasks to service catalogs or templates. Release engineering can generate routine release prep branches without requiring a person to perform ceremonial YAML archaeology every Friday afternoon.
The trick is to make the workflow narrow enough that review remains meaningful.
Good candidates:
Bad candidates:
Agents are better when the task boundary is boring. Boring is not an insult. Boring is where the pager sleeps.
This API is in public preview, so endpoint shape, plan access, and model availability can change. There is also a small documentation wrinkle: the changelog announces availability for Copilot Pro, Pro+, and Max, while the current REST endpoint docs describe the start-task endpoint as available to Copilot Business or Enterprise users. That may be rollout timing or docs drift, but teams should verify access in their own org before designing workflows around it.
The other caveat is more durable: an API does not solve agent reliability. It only makes agent reliability easier to integrate into your existing systems. You still need tests, code review, permissions, audit trails, and a way to say “no, do not rewrite the billing service because a cron job felt inspired.”
Copilot Agent Tasks becoming an API is a bigger deal than another chat feature. It turns cloud coding agents into platform primitives.
Use that power where the work is repetitive, bounded, reviewable, and measurable. Keep humans at the merge gate. And remember: once an agent can be called by a script, your prompt is no longer just a prompt. It is part of your automation surface.