But the tests were sort of 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. So if you rely on validation like that, your system will eventually drift. That's why this validation contract exists. It's written during planning before any code, and it defines correctness independently of implementation.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Explaining why a Factory mission writes a validation contract during planning, after describing agents that write their own tests.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 06:17.

Checked against the source [ Grade B ] Said in the last year Sells AI tools

Filed under

Who is speaking

Luke Alvoeiro, Leads Factory's core agent harness (as he states in the talk, 2026). Leads the agent harness that runs the Missions system he describes, so he sees its production behavior first-hand; he also speaks for a vendor that sells the product.

Factory sells AI or agent tools or services, so it has a reason to publish flattering numbers about AI. The passage stays in the archive; read it with that in mind.

How this was checked

Checked against the source by a first reader, then confirmed independently by a second reader who fetched the source without seeing the first reader's notes (Independent review agent (Claude Sonnet), blind second pass from passage text and citation only, no repository access, 2026-11-18).

Exact match in whisper at 06:17.

How to cite this passage

Luke Alvoeiro (Factory), “The Multi-Agent Architecture That Actually Ships”, AI Engineer (YouTube), 2026-05-06, at 06:17. https://www.youtube.com/watch?v=ow1we5PzK-o Archived at https://the-ai-record.com/passages/factory-validation-contract-written-before-code-2026

More from the same source

The bottleneck in software engineering nowadays is not intelligence. It's now limited by human attention. Even the best engineers can only complete a couple of tasks at a time. They may have a backlog of 50 features, but they can only drive a few forward per day because every task requires their attention. Every commit needs their review.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Opening claim of the talk, before the speaker introduces Factory's Missions system.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 01:06.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

The economics are sort of changing. Before a team of five engineers might be able to work on 10 work streams at any given point in time. Now maybe with missions we can bring that up to 30. The team can focus on interesting problems such as the architecture, product decisions, instead of worrying about the execution per se.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Closing section of the talk, on what Missions change for a team.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 15:55.

  • 10 work streams work streams per five engineers before, before Missions, at any point in time
  • 30 work streams work streams per five engineers with missions, with Missions, at any point in time. A person approves

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

Our longest mission ran for 16 days, which is much longer than a full sprint. And we believe that they can run for 30. That's only possible because of this structure.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. On how long Factory's Missions, its multi-agent long-running sessions, have run.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 09:06.

  • 16 days longest mission duration, as of the talk (May 2026)

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

Planning benefits from slow, careful reasoning, implementation from fast code fluency and creativity, validation benefits from precise instruction following. And so no single model nor model provider is best at all three of these. … So for example, validation might use a different model provider entirely to make sure that it's not biased by the same training data.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. On assigning different models to the planning, implementation and validation roles in a Factory mission. The cut skips a passage on a skill Factory calls Droid Whispering.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 11:32.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

If you have 10 agents running at one point in time, then you have 10 times the throughput. But we tried that, and it doesn't really work for tasks in the software dev domain because agents conflict. They step on each other's changes, they duplicate work, they make inconsistent architectural decisions. And so the coordination overhead ends up eating up the speed gains all the while you're burning tokens. The difference with missions is that we run features serially. … It seems slower on paper, but the error rate drops dramatically.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. On why Factory's Missions run features one after another rather than many agents at once.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 09:26.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

60% of our time is spent on implementation. And 60% of our tokens, as well. Notice how validation never succeeds on the first go. … We almost always have to create follow-up features. So it really demonstrates … the value of a system that does this QA loop. You end up with 50% of your lines of code at the very end, … being tests, and 90% of your code is covered by those tests.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Walking through a slide of production data from one Factory mission that built a clone of Slack. The listener cannot see the slide.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 13:16.

  • 60% implementation share of time, one Mission that built a clone of Slack
  • 60% implementation share of tokens, one Mission that built a clone of Slack
  • 50% test share of code lines, end of one Mission that built a clone of Slack
  • 90% test coverage, end of one Mission that built a clone of Slack

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

After each milestone of features, we have two types of validators that run. So you have the scrutiny validator and the user testing validator. The first one is more traditional. It runs the test suite, type checking, lint, and critically it spawns dedicated code review agents for each completed feature within the milestone. And then the second one, which is the user testing validator, is more interesting. It kind of acts like a QA engineer. It spawns the application. … Critically, neither validator has seen the code before. They are not invested in the implementation. And so validation is adversarial by design.

Luke AlvoeiroLeads Factory's core agent harness · Leader, Factory

Context. Describing the two validators a Factory mission runs after each milestone. The cut skips the rest of the user testing validator's description.

Talk: The Multi-Agent Architecture That Actually Ships, AI Engineer (YouTube), May 6, 2026, at 06:58.

Checked against the source [ Grade B ] Said in the last year Sells AI tools Passage page

Something wrong? Report a correction. JSON: /api/v1/passages/factory-validation-contract-written-before-code-2026.json