X2
An agentic software engineering method: AI agents do the building, the build enforces the rules
that must always hold, a person decides only at the gates, and the method measures its own cost
in human turns.
The code is no longer the treasure
Something strange happened to software in the last few years, and almost nobody outside the
industry noticed.
For half a century, the most valuable thing a software company owned was its code, the written
instructions its programs run on. Code was slow and expensive to produce. Companies guarded it
like gold, because rewriting it could take years and cost millions.
Then AI learned to write it.
Today, an AI assistant can write, and rewrite, working code in minutes. An entire section of a
program can be regenerated faster than a person could read it. Overnight, code went from the most
expensive thing a company owns to the cheapest. And anything that can be remade on demand is no
longer a treasure.
So what is the treasure now?
The decisions. The things no AI can invent for you:
- how a product should be split into parts
- what information it must keep, and what must always stay true about it
- what it should look like and how it should feel to use
- which rules must never, ever break
A banking app can be rebuilt in an afternoon. The decision that no customer's balance may ever
silently change cannot be rebuilt by anyone but the people responsible for it.
X2 takes this reversal seriously. It was created for teams who let AI do the building, and it
answers one uncomfortable question: how do you stay in control of a builder that works faster
than you can watch?

The trouble with a brilliant, forgetful builder
Imagine hiring a builder who works a hundred times faster than anyone alive, but who forgets
everything between jobs and has no personal stake in whether the work is any good.
You could hand that builder your rules on paper. It would read them, then forget or ignore them
on the very next task. This is not a hypothetical; it is how AI coding assistants actually
behave. A rule that nobody actively checks is only a suggestion.
What X2 does about it
X2 sorts everything into three piles and puts each one where it cannot go wrong.
The unbreakable rules go into the machinery. Instead of living on paper, they are built into
the automated checks that every piece of work must pass before it ships. Break a rule and the
work simply fails, no matter what the AI claims. A machine enforces them, so they cannot be
forgotten.
The decisions stay with people. They live in a handful of short documents that humans own and
humans change. This is the treasure, and it is kept deliberately small.
The code becomes disposable. It is regenerated from the decisions whenever needed, like
printing a fresh copy from a master document. Nobody mourns it.
The result: nothing important depends on the AI remembering anything.
In the method's own vocabulary the three piles are the invariants, the decisions and the
consequences. X2.md walks through all three, and the reasoning behind them.
People keep the wheel
The AI does the building, but a person decides at three checkpoints:
- Approve the plan. What is going to be built.
- Approve the design. What it will look like, confirmed as the target to build toward.
- Accept the finished work. Only after an independent check confirms it truly runs.
Between checkpoints, the AI must stop and ask whenever it hits a question no document answers.
And "finished" is never taken on the builder's word. Work counts as done only when a report,
verified by someone who did not build it, shows it was genuinely tested and genuinely works.
Nobody grades their own homework. The failure this guards against even has a name inside the
method: green-but-wrong, a build where every light is green while the product is quietly not
what was decided.
What it has built
Vemos is a real-time whiteboard for running facilitated sessions. Editors set a board up and
hold its scaffold still; participants join from a personal link and contribute freely, and
everything they touch is governed by rules the product enforces rather than merely records. X2
built it end to end, and the whole record ships with it in
teklabsdigital/x2-examples: the stories, the
locked design, every decision, and the numbered ledger of every human turn it took.
