---
title: "When Multi-agent Stops Being a Mess"
url: "https://zuey.me/articles/khi-multi-agent-khong-con-la-mo-hon-don?lang=en"
locale: en
access: members
full_text: false
published_at: "2026-05-09T02:00:00.000Z"
tags: ["Claude Code", "AI Agents", "AI", "Marketing", "Programming"]
translations:
  vi: "https://zuey.me/articles/khi-multi-agent-khong-con-la-mo-hon-don.md?lang=vi"
  zh: "https://zuey.me/articles/khi-multi-agent-khong-con-la-mo-hon-don.md?lang=zh"
  ko: "https://zuey.me/articles/khi-multi-agent-khong-con-la-mo-hon-don.md?lang=ko"
  ja: "https://zuey.me/articles/khi-multi-agent-khong-con-la-mo-hon-don.md?lang=ja"
---
# When Multi-agent Stops Being a Mess

> The bottleneck in AI coding is no longer the model, it's human attention. A breakdown of Factory's Missions: validation contracts written before code, serial beating parallel, and picking the right model for each role.

> **INFO:** A talk by Luke Alvoeiro at AI Engineer London — one of the most worthwhile multi-agent coding talks this year, especially for anyone working with agent orchestration frameworks like ClaudeKit.

![When Multi-agent Stops Being a Mess](https://media.zuey.me/blog/2026/1a2af0aa-pasted-image-20260509160049.png)

### TL;DR for busy people

Luke Alvoeiro — who previously created **Goose** (Block's open-source coding agent, now donated to the AI Agentic AI Foundation) and now leads the core agent harness at **Factory** — just presented a multi-agent architecture called **Missions** that ran continuously for **16 days** in production, with a Slack clone project reaching **90% test coverage**. Factory just raised a $150M Series C at a $1.5B valuation (led by Khosla Ventures, with Sequoia/Blackstone participating), with customers including Nvidia, Adobe, Morgan Stanley, EY, MongoDB, Bayer, Adyen.

> **TIP:** Core thesis: **The bottleneck of software engineering today is no longer model intelligence, but human attention.**

### 1. The problem: Why does a great engineer still only ship a few tasks a day?

![When Multi-agent Stops Being a Mess](https://media.zuey.me/blog/2026/5e84a8f1-pasted-image-20260509160115.png)

Luke opens with an observation that hits close to home: even the best engineer only moves a few tasks forward each day, even when the backlog has 50 features. Why? Every task demands attention. Every commit needs review. Today's models are smart enough to solve all 50 of those tasks — but there isn't enough human bandwidth to supervise them.

This is a thesis worth chewing on. For the past few years, every conversation about AI coding has revolved around benchmarks: which model writes cleaner code, fixes bugs faster. But if Luke is right, then **the competitive edge has shifted from the model layer up to the orchestration layer** — and that's exactly the thesis Factory is betting $1.5B on.

The question Factory asked itself: *"What if a human decides what to build and then a system figures out how to do so?"* An agent can run for hours, for days, and you only need to come back to review the results.

### 2. A taxonomy of 5 multi-agent patterns — naming the mess

One of the most valuable contributions of the talk is a **taxonomy** that names the patterns scattered around. This field, as Luke puts it, "is a bit of a mess" — every framework has its own terminology, its own opinions. The five patterns:

![When Multi-agent Stops Being a Mess](https://media.zuey.me/blog/2026/7ccc0bd9-pasted-image-20260509160132.png)

| Pattern | What it is | Typical use case |
| --- | --- | --- |
| **Delegation** | Parent agent spawns a child agent, gets a response | Sub-agents, coding tools (the simplest, everyone does it first) |
| **Creator-Verifier** | One agent builds, another checks | Code review — a fresh context spots bugs more easily than an agent with "cost bias" |
| **Direct Communication** | Agents talk to each other without a coordinator | Hard to get right because state is fragmented, no single source of truth |
| **Negotiation** | Agents negotiate over a shared resource | When multiple agents modify the same part of the code base — best when positive-sum |
| **Broadcast** | One agent sends info to many | Status updates, shared constraints — not flashy but essential for continuity |

The **delegation** pattern is exactly what Anthropic describes in the [orchestrator-workers cookbook](https://platform.claude.com/cookbook/patterns-agents-orchestrator-workers) — a central LLM analyzes the task, dynamically splits it into subtasks, and delegates them to specialized workers. It's also the pattern Anthropic used for their [multi-agent research system](https://www.anthropic.com/engineering/multi-agent-research-system), achieving a **90.2% improvement over single-agent Claude Opus 4** on their internal eval.

A key point Luke stresses: **negotiation doesn't have to be adversarial**. The best use case is positive-sum trading — agents in a win-win situation. It's a fresh perspective for anyone who used to think multi-agent = competing agents (like me).

### 3. Missions: 4 of the 5 patterns + a 3-role architecture

![When Multi-agent Stops Being a Mess](https://media.zuey.me/blog/2026/bc2800bc-pasted-image-20260509160224.png)

Missions combines **delegation + creator-verifier + broadcast + negotiation** (no direct communication — and that's a deliberate choice, explained later). The workflow:

```mermaid
flowchart LR
  A["User describes the goal"] --> B["Scope via conversation"]
  B --> C["Approve plan"]
  C --> D["System runs for hours, for days"]
```

*The Missions workflow*

At the core is a **3-role architecture**:

```mermaid
flowchart LR
  O["Orchestrator: plan + validation contract"] --> W["Worker: implements each feature"]
  W --> H["Structured handoff"]
  H --> V["Validators: scrutiny + user testing"]
  V -->|"not passing"| F["Follow-up features"]
  F --> W
  V -->|"pass"| N["Next milestone"]
```

*The 3 roles of Missions and the validation loop*

#### 3.1. Orchestrator — handles planning

When you describe a goal, the orchestrator acts as a **sounding board**: it asks strategic questions, clarifies fuzzy requirements, and produces a plan that includes:

#### Features

The features to build.

#### Milestones

The checkpoints.

#### Validation contract

Defines "done" before a single line of code is written.

That last one is the key innovation. I'll come back to it in section 4.

#### 3.2. Workers — handle implementation

Each feature is assigned to a worker with **clean context, no accumulated baggage**. The worker reads the spec, implements, and commits via Git. The next worker inherits a clean code base.

This is why Missions chooses **serial execution** (analyzed in section 5) — not because they don't want parallelism, but because a code base is shared state.

#### 3.3. Validators — handle verification

Most systems only run lint, type check, tests, maybe plus code review. **Missions does all of that PLUS behavior validation** — not just "is the code syntactically correct" but "does the feature actually work end-to-end".

### 4. Validation contract — Missions' most important innovation

This is the part I found most practically valuable, and also the part I've already applied to ClaudeKit.

#### The problem: tests written AFTER implementation are useless

![When Multi-agent Stops Being a Mess](https://media.zuey.me/blog/2026/bfb2db82-pasted-image-20260509160255.png)

Luke nails a common anti-pattern in vibe coding:

> "An agent builds a feature. It writes some tests. The tests pass. There's full coverage. But the tests were shaped by the code, not by what the code was attempting to actually do. **Tests written after implementation don't catch bugs. They confirm decisions.**"
>
> — Luke Alvoeiro

This line deserves to be framed and hung on the wall. When the same agent writes both the code and the tests, the tests are simply evidence for the decisions the agent already made — not an independent check of correctness.

This is exactly the problem recent academic papers point out too: in the [Nexus framework (arxiv 2510.26423)](https://arxiv.org/pdf/2510.26423), the authors call this *"specification-based oracles that verify correctness against intended behavior rather than existing implementation"* — and they had to build an entire multi-agent pipeline just to solve test oracle synthesis (*).

> **INFO:** (*) **Test Oracle Synthesis**: the process of automatically generating a **Test Oracle** — the mechanism used to determine whether a software test case passes or fails.

#### The fix: a validation contract written before the code

The validation contract is written **during planning, before any code is written**. It defines correctness **independently of the implementation**. For a complex project it can be **hundreds of assertions**, and each feature is assigned one or more of them. Together, all features must cover every assertion.

---

*Phần còn lại dành cho thành viên có quyền đọc toàn bài (Knowledges, Kết hợp, Cộng đồng) — see plans at https://zuey.me/pricing*
