cd /news/ai-agents/agent-tasks-rest-api-now-available-f… · home topics ai-agents article
[ARTICLE · art-21935] src=github.blog pub= topic=ai-agents verified=true sentiment=↑ positive

Agent tasks REST API now available for Copilot Pro, Pro+, and Max

GitHub has released the Agent tasks REST API in public preview for Copilot Pro, Pro+, and Max users, enabling programmatic initiation and tracking of Copilot cloud agent tasks. The API allows developers to automate code changes, pull request creation, and repository management through custom scripts and integrations. This release expands Copilot's utility for enterprise workflows, including batch refactors, one-click repository setup, and automated release preparation.

read1 min publishedJun 4, 2026

Release

Copilot Pro, Pro+, and Max users can now programmatically start and track Copilot cloud agent tasks with the 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 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 API supports authentication with personal access tokens (classic and fine-grained) and OAuth tokens.

To learn more, head to the agent tasks REST API documentation.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agent-tasks-rest-api…] indexed:0 read:1min 2026-06-04 ·