How-to Guides

How to Run Multiple AI Agents on One Project Without Conflicts

Run several AI coding agents on the same project at once without them overwriting each other, using separate sessions, shared rules and file claims.

Short answer: give each agent its own clearly separated job in one shared workspace, let them mark which files they are working on, and give them all the same written rules.

The problem#

One agent at a time is slow: you wait, then ask for the next thing. Running two or three in separate windows is faster until they edit the same file and one overwrites the other.

Why it happens#

Agents in separate tools cannot see each other. Each one reads the project from scratch, follows its own habits and does not know which files someone else is changing.

Steps#

  1. Open your project folder in LightCode.
  2. Click New session for each job. Split by area, for example "login page UI" and "payment API", rather than two jobs on the same screen or file.
  3. Open Edit project → Rules and write the rules every agent must follow: stack, naming, what not to touch.
  4. Send the tasks. Agents declare what they are working on and claim the files they edit, so the others stay out of them.
  5. Check each session's touched-files list, then test the result.

Or let one agent coordinate the others#

Turn on Auto delegate in the message box. The Master Agent writes a plan, you approve it once, and it assigns separate parts to teammate agents, which can work in isolated copies of the project. It checks their work before reporting back.

Good to know#

  • Claims reduce overlap; they do not replace testing. Run your app before you ship.
  • Sessions that share one folder can see each other's unfinished edits, so a test run may fail while another agent is still mid-change.
  • Each running agent uses memory. If your computer slows down, lower Parallel runs in This PC settings.
  • The Free plan allows up to 8 open sessions per project.