Bring Back UML (Just Don't Make Humans Read It)
Formal modeling methods did not fail because upfront design was flawed; they failed because of human economics. When agents become the audience, disposable structured models solve planning ambiguity without maintenance tax.
Engineers who worked through the peak of Object-Oriented Programming remember the era of formal modeling: UML class diagrams, entity-relationship diagrams, sequence flows, statecharts, and interaction maps. By the mid-2000s, Agile had quietly buried most of these practices. For twenty years, the industry assumed they disappeared because upfront modeling was flawed.
It was not flawed. It failed because of human economics.
Why Formal Modeling Failed on Human Teams
A well-constructed entity-relationship model, sequence flow, or state-transition table forces a designer to name every entity, owner, and edge case before writing code. It exposes missing states, unhandled error branches, and forgotten service handoffs, giving every builder a shared picture of how components connect.
Those properties remain valuable on one condition: you must revise the model continuously or discard it the moment implementation reveals a better shape.
That condition broke down on human teams. Formal models were slow to draw, tedious to maintain, and politically difficult to throw away. After spending two days crafting a pristine sequence diagram, few teams discarded it on Thursday when a spike uncovered a cleaner design. Worse, the real cost was reviewing diagrams in meetings, circulating them for sign-off, and arguing over notation. Even when a diagram added clarity, it increased cognitive load and coordination overhead—the two dominant failure modes of human teams. Agile made the rational trade: drop the diagrams and let code serve as the truth.
The Audience Has Changed
In an agent-driven, spec-based workflow, humans are no longer the audience for design artifacts.
Most debates about spec-driven development miss a plain reality: humans do not read implementation specifications end-to-end. An operator reads the goal, reviews key product decisions, inspects the rendered application, and checks the final evidence. Nobody reads a fifteen-page implementation spec to trace file citations by hand.
When humans are not the readers, a formal model serves two different purposes:
- Keeping planning agents honest. Narrative prose lets a language model hand-wave over an integration seam. Requiring a structured artifact that cites real files, symbols, states, and explicit commitments makes bluffing far harder.
- Providing shared memory for parallel subagents. Five agents building different slices of a feature concurrently cannot lean across a desk to ask what field name a colleague picked. They require an unambiguous shared reference.
Under these two conditions, every reason formal modeling failed—authoring time, human cognitive load, alignment meetings, and doc-rot—vanishes.
Keep the Views, Drop the OOP Baggage
Reviving formal modeling for agents does not mean resurrecting 1998 inheritance hierarchies. The useful views are paradigm-neutral:
- Data and ER models: records, tables, ownership, cardinality, and invariants.
- Module and data-flow graphs: boundary ownership, inputs, outputs, and side effects.
- Sequence flows: caller, callee, message shape, timeouts, retries, and failure paths.
- State-transition tables: legal states, events, guards, and rejected transitions.
- User journeys: triggers, actors, cross-repo seams, and exits.
Written as plain structured text (YAML, JSON, or tables), these views can be checked deterministically against live repository files before a line of code is written, sliced per worker into Turn 1 context, and deleted at merge with zero maintenance tax.
Agent-Specific Failure Modes
Agents fail differently than humans. Language models can generate neat ER models that hallucinate nonexistent database columns, making a deterministic citation checker mandatory. Generating four views for a one-file bug fix creates planning bloat. Dumping full models into every worker prompt pollutes context windows. And forbidding workers from amending a model mid-run simply rebuilds waterfall at higher speed.
Formal design methods did not fail because thinking clearly before coding was useless. They failed because humans were too expensive to maintain them. Agents have no ego attached to a state table generated ten seconds ago—and they do not complain when you burn it after merge.
Join the PathGuided Closed Beta
Onboard your repositories with local-to-cloud spec execution, split-tier model routing, and commit-bound Work Tours.