Parallel coding agents: how to coordinate and review changes

By

Updated

Tagged: AI

How I think about parallel coding agents, shared code, review queues, and the checks that tell us whether their changes work together.

Spinning up another coding agent takes two seconds, while figuring out whether its code belongs in your app takes real attention. If you’re new to the terminology, the glossary entry on agent teams explains how teams differ from subagents in today’s coding tools.

I run several agents while building software. Having one investigate a bug while another implements a small change is genuinely helpful, as long as you remember the tradeoff: each agent makes decisions with only a partial view of what the others are doing. Even when every terminal reports success, you still have to make sure the app actually works once those pieces come together.

When improving a parallel workflow, spend your effort on coordination and review. Starting more agents is already easy; keeping the combined codebase coherent is the hard part.

Separate files can still share a decision

Say you have a small app where people save articles to read later. One agent updates how saved items appear on the homepage, another adds an archive button, and a third improves search.

All three can edit completely different files and merge in Git without a single conflict, yet the app ends up broken. The homepage hides archived items, search still returns them, and the archive button deletes the row instead of setting an archive flag because that agent guessed what “archive” meant.

Splitting work by filename won’t stop those contradictions. All three agents needed the same definition of archiving before writing any code. Separate chat threads drift the same way, which I covered in Too many conversations with coding agents.

Human teams run into this too, except coding agents let a single developer create far more simultaneous work than one person can comfortably review. Before splitting a feature, look for the decisions the tasks share: a database column, a public URL, or the meaning of a status field. Give each shared decision one clear owner. Tools like Vercel Board also let agents claim tasks and wait on dependencies before starting.

Fig 1 · 1/4One shared archive rule
Separate files can disagree about the same feature.

Delegate around stable boundaries

Read-only tasks parallelize cleanly. One agent can research a library while another inspects the current codebase, and a reviewer can inspect a finished diff without editing anything. Independent documentation pages are usually safe to draft in parallel too.

Implementation needs tighter boundaries. If two tasks both depend on a new permission model, settle that permission model first so both agents build against the same interface. If you can’t describe the interface yet, splitting the work just multiplies guesswork while the core decision is still up in the air.

A solid assignment states the outcome you want, which files the agent owns, which existing assumptions it must keep, and where to stop. In the saved-items app, you might ask one agent to update the search page using the existing archive flag while leaving the archive model untouched. That gives the agent freedom inside its lane without letting a local shortcut turn into a repo-wide rewrite.

Write an assignment another worker can check

For the search agent, write a brief concrete enough to verify later:

Update ordinary article search so it excludes records with the existing archive flag. Keep archived articles available through the archive page. Restoring an article must preserve its identifier and URL. You own the search query and its existing tests. Leave the shared article model and archive controls to their assigned owner. If the existing query cannot express this behavior, report what needs to change before editing those areas.

That last sentence matters because it gives the agent an escape hatch when a task crosses a boundary, so it flags the dependency instead of quietly rewriting shared code.

Pair the brief with a concrete acceptance check: save two items matching the same query, archive one, confirm ordinary search returns only the active one while the archive page still finds the other, then restore it and confirm both show up again. Also ask the agent to return any open questions alongside its diff, such as whether search inside the archive page should use the same query.

Writing this takes a couple minutes longer than typing “fix search,” and it gives whoever reviews the diff exact behavior to check. I wrote more about that style of briefing in What teaching can tell us about prompting.

A dashboard helps you find the work

When several agents are running, it helps to see at a glance which ones need input. I wrote about managing coding agents with Herdr, where persistent terminal workspaces make switching between them easier.

Keep in mind that an “idle” indicator only tells you the agent stopped running. It might have finished the edit and passed tests, or it might have hit a blocker and stopped to ask a question. Ask every finished task to hand back four short things: which files changed, what behavior changed, which checks ran, and what’s still uncertain. Reading a five-line summary beats scrolling through a long transcript to reconstruct what happened.

In a dashboard, separating “ready for review” from “blocked on a decision” saves a lot of friction, so you don’t spend the whole afternoon answering minor questions while finished diffs pile up.

Meta acquired Conductor, the Mac app for running Claude Code, Codex and Cursor agents in parallel, on November 4, and the founders are joining Meta Superintelligence Labs, Axios reports. OpenAI told Axios the same day that it plans to acquire Pierre Computer, which stores AI-generated code. Conductor Cloud shuts down on November 20, and I compared the Conductor alternatives you can move to.

Someone has to own the combined application

Whoever integrates the branches needs the freedom to reject them. That sounds simple until four workers all report success and you feel tempted to salvage every diff just because it already took time. It’s usually faster to throw away a change that misunderstood the spec than to spend another session patching it into shape.

Review each diff against the original brief and read the surrounding code it touches, since a patch can look clean on its own while contradicting an assumption elsewhere in the app. In our example, reviewing the archive button means checking the data model and search code too, not just the button component.

For a solo developer, product ownership belongs with you. Let agents prepare reviews, spot collisions, and run tests, while you record the final product choices in the repo as documented project decisions.

Queuing writes solves a specific problem

When multiple agents push to the same branch, you need a way to serialize updates. Git rejects a non-fast-forward push when the remote branch moves ahead (see the Git push documentation), which stops agents from overwriting history, though it only checks Git ancestry and not whether the combined code works.

A merge queue gives each change a turn and tests it against the latest target branch plus anything ahead of it in line. GitHub’s merge queue is a good reference for how that works, because a worker’s earlier passing tests might already be stale after another branch modified a shared helper or config file.

You don’t need a heavy coordination service to start. One integration owner and a short queue are plenty until you actually outgrow them.

Checks belong to a particular state of the code

Suppose one agent finishes and tests the archive feature, and everything is green. Before it lands, the search branch merges a new shared helper, and you adjust the archive code to use it. That earlier green test run is now stale because the code changed afterward.

You don’t need to rerun your entire slow test suite after every tiny edit, just the checks covering what actually changed (I wrote about keeping those loops fast in How to speed up tests for AI coding agents). Touch a shared helper and you retest its callers; resolve a merge conflict and you recheck that behavior.

When changes move through a queue, record which commit was tested, and if multiple agents share a working tree, watch out for uncommitted edits sitting on disk during the test run.

Say the combined check fails because the new shared helper excludes archived items everywhere, breaking the archive page. Stop integration there, check every caller of the helper, and have one owner update the shared helper to distinguish ordinary search from archive search instead of letting each worker hack around it in its own caller. Then rerun the search, archive, and restore cases together before resuming the queue.

A missing worker should leave recoverable work

Agents drop connections, hit tool errors partway through, or stop mid-task. Whoever picks up the task next needs to inspect real state before continuing. For local code, that means checking the actual files and git status. For external actions like pushes or deploys, check the remote system itself, since a chat line saying “about to push” doesn’t tell you whether the push succeeded.

Give each task a small durable note with its scope, current commit or changed files, and any unfinished or uncertain steps. The next worker verifies that note against the repo, skipping a push if the commit is already on the remote or deciding whether to finish or discard partial edits, so you aren’t forced to keep fragile sessions alive forever.

Integrating parallel changesEach worker returns a bounded change to one integration owner. A failed combined check goes back to the shared behavior before integration continues.YesNoWorker returnschangeReview againstassignmentCheck combinedapplicationShared behaviorworks?Accept changeOne owner fixesshared behavior

Review capacity limits useful concurrency

Even with plenty of spare compute, you can still have too much work in flight. If four agents finish diffs while you’re still reviewing the first one, the waiting branches go stale as the app moves on, and every review turns into an archaeology session. Adding another coding agent only makes the backlog worse.

Watch how long finished changes wait for review. When the queue backs up, pause new feature work and point spare agents at read-only jobs: checking dependencies, verifying assumptions, or reviewing diffs that are already waiting.

There’s no universal number of agents to run at once. Editing five independent docs pages is nothing like touching authentication, so let the coupling of the work set the pace.

Independent review needs a clear question

A second agent makes a decent reviewer when you give it a specific risk to check. “Review this” gets you generic praise, while “check whether archived items stay out of ordinary search and whether restoring one keeps its original URL” gives it concrete behavior to trace. You can see the built-in options in AI code review.

Include the original requirements and ask the reviewer to back up any bug report with a failing case or concrete user flow. Remember that two agents can read the same vague spec and share the same blind spot, so for critical behavior you still want a real test or a quick manual run yourself. A reviewer helps aim your attention; it’s not a substitute for checking the result.

Putting it together in a small session

For a feature like archiving, write down what archiving means and what must not break first. Then split the independent pieces: one worker updates the search filter, another builds the archive button against the agreed interface, and a third checks existing tests for edge cases.

Keep edits to the shared data model under one owner, have each worker report its changed files and test runs, and integrate one change at a time before testing the full flow yourself. If a shared assumption changes mid-stream, stop the affected workers and update their briefs right away instead of letting them finish against an old plan.

The Git course covers the branching and history tools that make inspecting these diffs easier. For tightly coupled work, one implementation agent plus one reviewer is often the sweet spot. Whenever finished diffs are waiting on you, the most productive move is reviewing one of them instead of launching another agent. That shift toward briefing and verifying is a big part of thriving in the agentic AI era.

Want me to talk about your product? You can sponsor this site.

Related posts about ai: