The Night Our AI Agents Became the Perfect Team (and What Finally Made It Work)
At 9:47 PM, our "AI agents" were not a team. They were five talented interns talking over each other. One agent would draft a plan. Another would "helpfully" rewrite it. A third would start coding before anyone agreed on requirements. Meanwhile, the QA agent nitpicked formatting while the data agent pulled numbers from the wrong date range. Nothing was broken individually-coordination was. That night, we stopped trying to make one super-agent do everything and instead built a small system where each agent had a job, a shared memory, and rules for taking turns. The turning point: roles, boundaries, and a single source of truth The first fix was embarrassingly simple: we wrote role cards like you'd do for humans. Planner plans. Researcher gathers sources. Builder implements. QA tests. Reporter summarizes. Each role had: Inputs it is allowed to read Outputs it is allowed to write A "definition of done" checklist Then we introduced one shared artifact: a ...