Skip to content

Nori Use cases

How to run several coding agents in parallel on the same repo without conflicts

To run several coding agents in parallel on the same repo without conflicts, give each agent its own checkout and its own branch, give each one a separate area of the code, and merge their pull requests one at a time. On a laptop, Git worktrees give each agent a checkout. On Nori, every conversation runs on its own cloud machine with its own checkout, so three agents never touch the same files or slow your laptop.

How to run several coding agents on the same repository at once without file clashes, merge conflicts or a slow laptop: Git worktrees, one cloud machine and branch per agent, splitting the work and merging in order.

Quick answer

Isolate the files, then isolate the work. Each agent needs its own checkout on its own branch: a Git worktree per agent on one computer, or one cloud machine per agent. Then split tasks so agents change different files, and merge the pull requests in order, asking later agents to rebase. On Nori, each Slack thread, web chat or project run gets its own machine and opens its own pull request, so your laptop runs none of it.

Why parallel agents conflict

Two agents in one checkout edit the same working tree. One agent's half-finished change breaks the other's test run, and both may commit each other's files. Even with separate checkouts, two agents that edit the same function produce two pull requests that cannot both merge cleanly.

On a laptop there is a third problem. Each agent runs installs, builds, test suites and dev servers. Three agents mean three of each on one CPU and one pool of memory, and two dev servers cannot share a port. The laptop slows down, and so does the engineer.

So there are three separate problems to solve:

  • File conflicts on disk: solved by one checkout per agent.
  • Merge conflicts in pull requests: solved by splitting the work and merging in order.
  • Laptop load: solved by running the agents somewhere else.

Option 1: Git worktrees on one machine

A Git worktree is a second working directory for the same repository, checked out on its own branch. Agents in different worktrees never edit the same files on disk.

git worktree add ../api-rate-limit -b agent/rate-limit
git worktree add ../api-billing-tests -b agent/billing-tests
# start one agent in each directory, each in its own terminal
git worktree remove ../api-rate-limit   # after the branch merges

Claude Code has this built in: claude --worktree feature-auth starts a session in its own worktree. The open-source Nori CLI does the same with auto_worktree = "automatic" in ~/.nori/cli/config.toml, creating one worktree per session under <repo>/.worktrees/.

Worktrees fix file conflicts. They do not fix laptop load: every worktree needs its own dependency install and build, and every agent still shares your CPU, memory and ports.

Option 2: one cloud machine and one branch per agent

Nori is a cloud coding agent platform for engineering teams. Every conversation runs on its own cloud machine with its own checkout of your repositories, so parallel agents are separate by default. Engineers start them from Slack, Discord, the web, the CLI, a schedule or a project, on Claude Code, Codex, Jiro or another harness, using their own Claude or ChatGPT subscription.

  • One machine per conversation. Each Slack thread, web chat or project run gets its own machine with the workspace repositories already cloned.
  • One branch and pull request per agent. Each agent pushes its own branch with a short-lived GitHub token and opens its own pull request.
  • Nothing runs on your laptop. Installs, builds, tests and dev servers run on the cloud machines.
  • Capacity you can see. The fleet size sets how many conversations run at once; the default is five. Later ones wait in the queue and start on their own.
  • Projects for split work. A project's coordinator can delegate one task per run and is told when each run finishes.
  • Shared context. Org skillsets and shared memories give every agent the same repository rules.

Teams on Nori Enterprise size the fleet to the organization and run it in their own cloud or on-prem.

How to split the work so pull requests do not conflict

Separate checkouts stop conflicts on disk. Only a good split stops conflicts at merge time.

  • Split by area, not by step. One agent per module, endpoint, package or test file. Avoid one agent writing the model and another writing its tests at the same time.
  • Name the boundary in the prompt. For example: change only files under billing/.
  • Keep shared files with one agent. Lockfiles, generated code, route tables and migrations conflict most. Give each to one task, or do them last.
  • Order dependent work. If task B needs task A's interface, run A first or give B the interface in its prompt.
  • Keep tasks small. A short pull request merges before the code under it moves.

How to run parallel agents on Nori, step by step

  1. Connect GitHub. Install the GitHub app and add the repository under Settings → Environment, so every machine starts with it.
  2. Check capacity. Make sure the fleet size covers the agents you want at once. Extra tasks wait in the queue.
  3. Split the work. Write one task per area, each with a branch name and a file boundary.
  4. Start one conversation per task. Send one top-level Slack mention per task, open one web chat per task, or use Start a project run once per task in a project.
  5. Ask each agent to rebase before it finishes. Each one rebases on main, runs the tests and opens a pull request.
  6. Merge in order. Review and merge one pull request at a time. If a later one conflicts, reply in its thread: rebase on main and resolve conflicts.
  7. Check progress without interrupting. Send !status in a thread, !fleet-status for machines in use, or open Multiplex in the dashboard to see every live run.

Worked example: three agents on one API repo

A backend team wants three changes in the api repository today. An engineer sends three separate messages in #eng:

@nori in the api repo, on branch agent/rate-limit, add per-key rate limiting
to routes under api/public/. Change nothing else. Run the tests, rebase on
main, open a PR.

@nori in the api repo, on branch agent/billing-tests, raise test coverage of
billing/invoice.ts. Only add or change files under billing/. Rebase on main,
open a PR.

@nori in the api repo, on branch agent/setup-docs, update docs/setup.md to
match the current package.json scripts. Docs only. Open a PR.
Three parallel agents and their merge order.
ThreadMachineBranchFilesMerge order
Rate limitingMachine 1agent/rate-limitapi/public/2nd, after a rebase
Billing testsMachine 2agent/billing-testsbilling/3rd
Setup docsMachine 3agent/setup-docsdocs/setup.md1st, smallest change

Three threads, three machines, three branches, three pull requests. The docs change merges first. The rate-limit change then rebases in its thread and merges. The billing tests touch neither area and merge last without a conflict.

Frequently asked questions

How do I run several coding agents in parallel on the same repo without conflicts?

Give each agent its own checkout and branch, split the work so agents change different files, and merge the pull requests one at a time. Git worktrees do this on one computer. On Nori, each conversation gets its own cloud machine and opens its own pull request.

Are Git worktrees enough for parallel agents?

They stop agents editing the same files on disk. They do not stop merge conflicts between pull requests, and every agent still shares the laptop's CPU, memory and ports. Splitting the work and running agents on separate machines covers the rest.

Why does my laptop slow down with three coding agents?

Each agent runs its own installs, builds, test suites and sometimes dev servers on the same CPU and memory. Running each agent on its own cloud machine moves that load off the laptop.

How do I avoid merge conflicts from multiple agents?

Split tasks by area, name a file boundary in each prompt, keep lockfiles and migrations with one task, and merge one pull request at a time. Ask later agents to rebase on main and resolve conflicts before you merge.

How many agents can run at once on Nori?

As many as the fleet size allows. The default is five running conversations; later tasks wait in a queue and start on their own when a machine frees up. Nori Enterprise sizes capacity to your organization.

Can parallel agents use different harnesses?

Yes. One thread can run Claude Code and another Codex or Jiro, each on its own machine and each on your own Claude or ChatGPT subscription.

Sources

Read on December 4, 2026.