This is a revolutionary methodology for coordinating multiple AI agents to build complete applications together - without conflicts, without overlap, and without constant supervision.
When you run multiple AI sessions on the same project:
- โ They overwrite each other's code
- โ They don't know what others are doing
- โ You become a translator between them
- โ Integration fails
- โ It's chaos
One source of truth. Clear boundaries. Self-identification.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MASTER_PLAN.txt โ
โ (Single file, all agents read this) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ
โ Agent 1 โ โ Agent 2 โ โ Agent 3 โ
โ Session โ โ Session โ โ Session โ
โ 1 โ โ 2 โ โ 3 โ
โ Owns: โ โ Owns: โ โ Owns: โ
โ Core/ โ โ Camera/ โ โ Filters/โ
โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโ
โ INTEGRATION โ
โ + BUILD โ
โโโโโโโโโโโโโโโโโโโ
PROJECT/
โโโ MASTER_PLAN.txt โ THE SINGLE SOURCE OF TRUTH
โโโ SESSION_1.txt โ Prompt for Agent 1
โโโ SESSION_2.txt โ Prompt for Agent 2
โโโ SESSION_3.txt โ Prompt for Agent 3
โโโ ... (one per session)
โโโ MyProject/ โ The actual code
โโโ src/
โโโ tests/
โโโ ...
================================================================================
PROJECT NAME
Multi-Agent Project Plan
================================================================================
TECHNOLOGY: Python / Node.js / C# / etc.
PROJECT: Description of what we're building
================================================================================
โญ HOW TO IDENTIFY YOUR SESSION โญ
================================================================================
STEP 1: Open MASTER_PLAN.txt
STEP 2: Scroll to "TASK STATUS" at bottom
STEP 3: Find a session marked [ ] NOT STARTED
STEP 4: That is YOUR session. Do ONLY that work.
STEP 5: When done, change [ ] to [DONE]
================================================================================
SESSION TASKS
================================================================================
SESSION 1: Foundation
TASKS:
- Create project structure
- Setup dependencies
- Create base models
SESSION 2: Database
TASKS:
- Create database models
- Setup migrations
- Create repositories
SESSION 3: API
TASKS:
- Create endpoints
- Setup routing
- Add authentication
... (continue for all sessions)
================================================================================
TASK STATUS
================================================================================
[ ] Session 1: Foundation
[ ] Session 2: Database
[ ] Session 3: API
[ ] Session 4: Frontend
[ ] Session 5: Testing
...
================================================================================Write MASTER_PLAN.txt with all tasks, clearly divided by session.
One file per session:
You are SESSION X.
Your job: [Brief description]
1. Open MASTER_PLAN.txt
2. Find your session section
3. Read your tasks
4. Do ONLY your assigned work
5. Mark [DONE] in TASK STATUS when finished
START NOW.- Open 10 chat windows (or use multiple instances)
- Paste each session prompt into a separate window
- Let them all run simultaneously
After all sessions complete:
- Review each session's work
- Create FIX files for issues
- Have sessions fix their own code
Final session combines everything.
Each agent MUST follow:
| Rule | Why |
|---|---|
| Only read from MASTER_PLAN.txt | Single source of truth |
| Only modify YOUR assigned files | Prevents conflicts |
| Check TASK STATUS before starting | Know what's done |
| Mark [DONE] when finished | Track progress |
| Never touch other sessions' code | No conflicts |
Each session owns specific folders:
Session 1 โ /Core
Session 2 โ /Database
Session 3 โ /API
Session 4 โ /Frontend
Define interfaces BEFORE parallel work:
interface ICameraManager { ... }
interface IVideoRecorder { ... }Sessions implement interfaces, not each other.
Session 1 (Foundation) โโโโโโโ
โโโโบ Session 9 (Integration)
Session 2-7 (Features) โโโโโโ
Session 10 (Final) requires ALL others
Agents find their work by checking TASK STATUS, not by being told.
๐ฅ Camera Pro
A complete Windows camera application built with 10 agents:
| Session | Task | Status |
|---|---|---|
| 1 | Project Foundation | โ Done |
| 2 | Camera Engine | โ Done |
| 3 | Video Recording | โ Done |
| 4 | Image Capture | โ Done |
| 5 | Multi-Camera | โ Done |
| 6 | Camera Controls | โ Done |
| 7 | Filters & Effects | โ Done |
| 8 | Storage & Export | โ Done |
| 9 | User Interface | โ Done |
| 10 | Integration | โ Done |
Tech Stack: C# .NET 8, WPF, OpenCvSharp, FFmpeg
- Large projects with clear module boundaries
- When you need speed (parallel development)
- Microservices with defined interfaces
- Teams with isolated responsibilities
- Small projects (< 3 modules)
- Projects with tight coupling
- When you only have one AI session available
Want to start your own project? Use this template:
# Create project structure
mkdir my-multi-agent-project
cd my-multi-agent-project
# Create folders
mkdir -p src/core src/api src/ui src/tests
# Create MASTER_PLAN.txt
# Create SESSION_1.txt through SESSION_N.txt
# Launch N AI sessions with their prompts- Watch the Camera Pro commit history to see how 10 agents worked together
- Check the session files for exact prompts used
Found a better way to orchestrate agents? PR welcome!
MIT License - Use this methodology freely!
Created with OpenCode - AI coding assistant with task orchestration capabilities.