Skip to main content

What are Multi-Agent, Async and Background Coding Agents?

Three terms for three separate choices: how many agents work, whether you wait for them, and where they run.

Introduction​

Multi-agent coding means more than one coding agent works on a codebase at the same time. Async coding agents and background coding agents take a task and work without you watching, then hand back a branch or pull request. The terms get used as if they mean the same thing. They describe different properties, and one tool can have any mix of them.

This article separates the terms, names tools that fit each one, and shows where git worktrees come in. Tool facts were checked on each vendor's own docs on December 5, 2026.

Understanding the Concept​

Every agent run answers three questions. How many agents work on the task? Do you wait for the result? Where does the agent's code run?

QuestionOne answerThe other answer
How many agents?One agent, one taskSeveral agents at once: multi-agent
Do you wait?Synchronous: you watch and steer each stepAsynchronous: you hand off the task and come back later
Where does it run?Local: your machine and your checkoutCloud: a vendor's VM with a fresh clone

Definition

Multi-Agent Coding

Running several coding agents on one codebase at the same time, either on separate tasks or on parts of one task, each with its own working copy.

Multi-agent software development is the same idea applied to a whole team process. Agents take roles such as planner, implementer, tester and reviewer, and pass work between them. Agent orchestration covers the patterns for that hand-off.

Definition

Async Coding Agent

A coding agent you give a task and leave. It works without your input and reports back when it finishes or needs a decision.

Background coding agent usually means the same thing, with the stress on where it runs: out of your view, often on a cloud machine. Cursor called its cloud agents Background Agents before renaming them. The useful split is local versus cloud, not async versus background.

Definition

Background Coding Agent

A coding agent that runs out of view, in a background session on your machine or on a remote VM, while you keep working on something else.

These properties combine. A cloud agent is async by design. A local terminal agent is sync by default, but you can leave it running in its own window. Five cloud tasks started at once are both async and multi-agent.

Example Tools​

Cloud agents that run async and in parallel:

  • Codex Cloud runs each task in its own cloud workspace. Tasks keep running while your computer sleeps, and several can share one environment with separate working state.
  • Claude Code cloud sessions start from claude.ai/code, the mobile app, or claude --cloud in a terminal. Each --cloud command starts its own session, so tasks run side by side.
  • Grok Build Cloud Agents, formerly Cursor's Background Agents, run in isolated VMs. The docs say you can run as many in parallel as you want, and each produces a pull request.
  • GitHub Copilot works in the background from issues, pull requests or the Agents tab, in a GitHub Actions runner or a cloud sandbox. It opens one pull request per task.
  • Jules from Google clones your repository into a cloud VM and works on a branch you choose. You approve its plan before it changes code.
  • Devin runs cloud sessions with its own shell, IDE and browser, and handles several tasks in parallel.

Local agents that split one task across subagents:

  • Claude Code, Codex CLI and Antigravity CLI support subagents. Antigravity documents parallel multi-agent work through subagents and Teamwork.
  • Kiro delegates parallel tasks to focused sub-agents across its IDE, CLI and web surfaces.
  • VS Code keeps several chats and background sessions open in its Chat view.

Local tools that run many full agents side by side, each in its own checkout, include Treq, Claude Squad and Conductor.

Applying It in Practice​

Pick the mode by how well you can state the task and check the result.

  • Sync, local, one agent. Use it for unclear work where you need to steer: new design, a tricky bug, an unfamiliar codebase.
  • Async, cloud. Use it for well-scoped tasks with tests that prove them: a dependency bump, a flaky test, a docs update. Write the acceptance rule into the prompt, because nobody is watching.
  • Multi-agent, local. Use it when work splits into tasks that touch different files. Give each agent its own checkout and review each diff on its own.

Async work moves the effort from watching to reviewing. An agent that ran for an hour unattended can drift far from what you meant. Ask for a plan first where the tool supports it, as Jules does, and read the diff, not the agent's summary.

Where Worktrees and Treq Fit​

Agents write to files. Two local agents in one checkout overwrite each other's edits and share HEAD, the index and build output. Cloud agents avoid this because each run gets a fresh clone. Local multi-agent work needs the same isolation by hand, usually one git worktree per agent. Parallel coding agents covers that setup.

Isolation solves the collision, not the merge. When one agent's task depends on another's, the lower branch changes and every branch above it goes stale. Treq gives each local agent its own workspace and connects dependent workspaces into a stack. When a lower workspace changes, Treq rebases the ones above it and sends any conflict back to the agent. You review each layer as a diff and send comments back to the agent that wrote it. See Workspaces for the details.

Engineering Considerations​

More agents produce more diffs, and review is the limit. Start as many agents as your team can review, not as many as the tool allows. Quality gates filter out broken changes before a person reads them.

Cloud agents need repository access and often secrets for tests. Give them the narrowest token that works. Treat text in issues and pull requests as untrusted input, because an async agent acts on it with nobody watching.

Next Steps​