AI development tools

Background Agent

AI-assisted editorial review:

A term from AI development tools for an AI coding agent that, once given a task, edits and tests code on its own in a cloud environment separate from the user and then submits the result for review in a pull request.

What does Background Agent mean in simple terms?

Earlier AI coding tools worked with the developer sitting at the editor, chatting with the AI and fixing code together. A background agent, once handed a task, reads and edits the code on its own in a separate cloud workspace and then runs tests. When the work is done, it notifies the user. Meanwhile, the person can do other work and can hand over several tasks at once. The result is not applied right away; it arrives as a review request, and a person merges it after checking. Small fixes with clear goals and completion criteria are the best tasks to hand over.

How can Background Agent be explained with an analogy?

It is like sending a request to an outside contractor, who finishes the job, sends back the deliverable and a list of changes, and waits for your approval.

Where is Background Agent used?

Case 1

GitHub — Copilot coding agent

On May 19, 2025, GitHub released in public preview a coding agent that, when you assign an issue to Copilot, works in the background in a separate cloud development environment powered by GitHub Actions.[1] The agent checks its results with existing tests and code-checking tools before pushing them, and asks the user for a review when the work is done.[1]
Result: Became generally available to all paid Copilot users on September 25, 2025 (per GitHub's announcement).[2]

Case 2

OpenAI — Codex, a cloud coding agent

On May 16, 2025, OpenAI announced Codex, a cloud-based software engineering agent that handles multiple tasks at the same time.[3] Each task runs in its own sandbox preloaded with the repository, usually finishes in 1 to 30 minutes, and comes with terminal logs and test results as evidence.[3]
Result: Stated that results can be opened directly as a review request, but people must still review and verify the generated code themselves (per OpenAI's announcement).[3]

Learning steps, limitations and developments

  1. Write up the task as an issue or request that states the goal, the scope of files to change, and the completion criteria in one place.
  2. Start with small tasks that are easy to check, such as fixing typos, changing wording, or adding tests.
  3. Merge returned results only after checking the change history and test results.
  4. Costs can rise with usage, so set a spending limit.

A background agent can take longer to deliver results than chatting and fixing code in the editor, and at launch OpenAI said Codex was still at an early stage of development.[3] Names also differ by company: Cursor first released the same concept as "Background Agents" and now calls it "Cloud Agents."[4]

How has Background Agent evolved?

2025.05
Background Agent
Major coding tools release agents that work on their own in the cloud, one after another.
2025.09
General availability
Coding agents begin to be offered as a standard feature to all paid users.

Which concepts are related to Background Agent?

  • Parent concept
    Agentic codingA way of developing in which AI handles planning, editing, and verification
  • Leading tool
    GitHub CopilotOffers an agent that takes an issue and returns a review request
  • For comparison
    Claude CodeAn agent that works alongside you through conversation in the terminal
  • Related concept
    SubagentA helper agent that takes on part of a larger task

Conversational coding agent vs Background Agent

ComparisonConversational agentBackground agent
Where it worksMy computer and editorA separate cloud environment
The person's roleKeeps chatting and approving during the workWrites the request, then reviews the result
Parallel workUsually one task at a timeHandles several tasks side by side
How results arriveApplied directly in the editorDelivered as a review request (pull request)

Which sources explain Background Agent?

  1. GitHub — GitHub Copilot coding agent in public preview (2025-05-19) — https://github.blog/changelog/2025-05-19-github-copilot-coding-agent-in-public-preview/
  2. GitHub — Copilot coding agent is now generally available (2025-09-25) — https://github.blog/changelog/2025-09-25-copilot-coding-agent-is-now-generally-available/
  3. OpenAI — Introducing Codex (2025-05-16) — https://openai.com/index/introducing-codex/
  4. Cursor — Cloud Agents (accessed 2026) — https://cursor.com/docs/background-agents