Agree before you delegate.

Agents made code cheaper to produce. They didn't make understanding cheaper. This talk explains why, and what to do about it.

Download the PDF (PDF, 417 KB)

17 slides, with speaker notes in present mode.

Prompting is fast. Agreeing is the work.

Without agreement up front, an agent builds the most plausible reading of the brief, and the team finds the gap after the build. Barry Boehm showed in 1981 that errors cost more the later they surface. Agents get you to that late stage in hours.

Pure vibe coding

Kai Lentit's sketch Senior Engineer tries Vibe Coding (6 minutes) exaggerates for laughs, but the failures are familiar: ignored rules, unrequested changes, a growing bill. Nobody agreed what done looks like, so there is nothing to check the output against.

Plan mode helps, but a plan is still prose

Net Ninja's Using Plan Mode (5 minutes) shows the better version: the agent asks questions and writes a plan first. The presenter then approves it without reading it. That's fine for a small feature. For a real system, nobody can check a long plan, and approving it is not agreement.

Approve something people can challenge

Diagrams, wireframes and a task plan can be looked at, questioned and corrected before any code exists. C4 models, UML, swimlanes and wireframes come from fifty years of software engineering. We don't invent a new way to agree. Agents let us produce the established ones in minutes. We reinvent everything to reinvent nothing.

The slides walk through the argument and a worked example. Present them from the buttons above, or download the PDF.

Agree before you delegate

Shared understanding in AI-assisted software delivery

Two overlapping circles Two blue circles overlap; the shared area between them is dark navy with a white dot at its centre, standing for shared understanding.
Agree before you delegate1 / 17

Speaker notes for slide 1 of 17

Thank you for having me. Over the next thirty minutes I want to talk about a pattern we see as teams adopt AI coding agents. Agents are getting very good at turning a specification into working software, often in hours. What they can't do is tell us whether we asked for the right thing. So the argument today is simple: before we delegate work to agents, we need visible, checkable agreement on what to build. The material draws on established work by Fred Brooks, Barry Boehm, Eric Evans and Simon Brown. We'll keep time for discussion at the end.

The problem

Two common ways to use agents

Assistant

Speeds up individual tasks

Limited gains

Autonomous builder

Builds a whole app from a brief

Fast, but the wrong thing

What both lack

Agreement on what to build, before the build starts.

Agree before you delegate2 / 17

Speaker notes for slide 2 of 17

Most organisations we work with use agents in one of two ways. The first is as an assistant: code completion, tests, documentation. It speeds up individual tasks, and the gains are real but limited. The second is as an autonomous builder: we describe an application and the agent produces the whole thing. That is fast, but it often produces something other than what the requester meant. The two approaches look very different, yet they lack the same layer: a reliable way for the people who want a system and the agents building it to agree on what the system is before the build starts. That missing layer is the subject of this talk.

Source: 'Agree before you delegate'.

Why now

AI moves the bottleneck

“The hardest single part of building a software system is deciding precisely what to build.”

Fred Brooks, No Silver Bullet (1986)

Accidental complexity

Expressing the solution in code

Agents reduce it

Essential complexity

Understanding the problem

Now the bottleneck

Agree before you delegate3 / 17

Speaker notes for slide 3 of 17

Fred Brooks made this point in 1986, in his essay 'No Silver Bullet'. He wrote that the hardest single part of building a software system is deciding precisely what to build. He separated essential complexity, which is understanding the problem, from accidental complexity, which is the effort of expressing a solution in code. In our experience, agents reduce accidental complexity a great deal: they write, wire and test code quickly. They don't reduce essential complexity, because that depends on knowledge of the business, its rules and its people. So the bottleneck doesn't disappear. It moves, from writing code to deciding what the code should do.

Sources: Brooks, 'No Silver Bullet' (1986); 'Agree before you delegate'.

Why now · Boehm, Software Engineering Economics (1981)

The later we find it, the more we redo

Time to fix a misunderstanding, by the stage where it is found Illustrative bar chart. Found in Q and A: minutes, change one answer. Diagram review: minutes, change one label; the second attempt caught it here. Prototype review: hours, change one screen. Built code: days, redo code, data model and plan; the first attempt caught it here and the build was discarded. In production: weeks, redo code and data and rebuild trust. Time to fixMinuteschange one answerQ&AMinuteschange one labelSecond attempt:caught hereDiagram reviewHourschange one screenPrototype reviewDaysredo code, data model, planFirst attempt: caught here.Build discarded.Built codeWeeksredo code and data,rebuild trustIn productionLegendWhere the case caught itOther stagesIllustrative figures
Agree before you delegate4 / 17

Speaker notes for slide 4 of 17

This changes where delivery risk sits. When implementation took weeks, misunderstandings surfaced along the way, in conversations, demos and code reviews. Now an agent can finish the build before anyone has looked at what it is building. Barry Boehm showed in 'Software Engineering Economics', published in 1981, that a requirements error costs substantially more to fix the later it is found, because each stage builds more work on top of it. The chart shows the shape of that argument. The timings are illustrative, not measured data, and the two highlighted bars refer to the fictional example coming up. Agents make the build faster. They do not make rework cheaper.

Sources: Boehm (1981); figure from 'Agree before you delegate'.

Why a specification is not enough

Prose hides gaps

Two readers can agree with every sentence and still picture different systems.

An agent rarely asks. It builds the most plausible reading.

One specification, two different pictures A specification document points to two readings: what we pictured, drawn as a blue hexagon, and what the agent built, drawn as a navy triangle. Specification What wepictured What theagent built
Agree before you delegate5 / 17

Speaker notes for slide 5 of 17

A natural reaction is to write a better specification. Prose is good at nuance, but it is poor at exposing gaps. Two readers can agree with every sentence of a requirements document and still picture different systems, because each fills the ambiguity with their own assumptions without noticing. A colleague might stop and ask what a term means. An agent rarely does, unless our process requires it. It takes the most plausible reading and builds on it. And a longer specification doesn't solve this; it adds more text to misread. So the answer isn't more words. It's a different kind of artefact, one that people can look at and challenge.

Source: 'Agree before you delegate'.

Why a plan is not enough

Prompting and planning both end in prose

Vibe coding

Prompt, run, patch

Rules ignored, scope drifts, the bill grows

Plan mode

The agent plans first

Better, but the plan is a wall of text

Humans must not approve a wall of text.

Agree before you delegate6 / 17

Speaker notes for slide 6 of 17

Two videos make this concrete. The first is Kai Lentit's 'Senior Engineer tries Vibe Coding', a comedy sketch. Played for laughs, it lists the failures we see in earnest: rules the agent ignores, changes nobody asked for, a bill that keeps growing, and no shared picture of what was meant. The second is Net Ninja's 'Using Plan Mode' for the GitHub Copilot app. It is a fair tutorial, and plan mode is a real step forward: the agent asks clarifying questions and writes a task list before it builds. But look at what the human receives. A long markdown plan. The presenter says he isn't going to read all of it out, approves it, and the agent goes on in autopilot. That is our point. A wall of text can't be checked, so approving it isn't agreement. The agreement that matters is in artefacts people can look at and challenge, and software engineering defined those over fifty years: diagrams, a shared vocabulary, wireframes, a task plan. So what do we ask people to approve instead? The next slides answer that.

Sources: Kai Lentit, 'Senior Engineer tries Vibe Coding' (https://youtu.be/_2C2CNmK7dQ); Net Ninja, 'GitHub Copilot App Tutorial #8 - Using Plan Mode' (https://youtu.be/fxgsyY_t82Q).

The practice

Agree before you delegate

Reach visible, checkable agreement on what to build before handing implementation to agents.

C4, UML, wireframes: fifty years of practice.

We reinvent everything to reinvent nothing.

  1. Pictures before prose
  2. Agree progressively, in order
  3. Engineers act as the stakeholder
  4. Agreement stays with people
Agree before you delegate7 / 17

Speaker notes for slide 7 of 17

We use the phrase 'agree before you delegate' for a simple practice: reach visible, checkable agreement on what to build before handing implementation to agents. Visible means people can look at it. Checkable means someone can say 'that's wrong' before any code exists. The practice rests on four principles. First, pictures before prose. Second, agree progressively, in order. Third, engineers act as the stakeholder when they commission work from agents. Fourth, agreement stays with people, even as verification becomes more automated. These are techniques software engineering already has: C4, UML, wireframes and more, refined over fifty years. We don't invent a new way to agree; agents let us reuse the old ones quickly. In short, we reinvent everything to reinvent nothing. What has changed is that agents make skipping them riskier, and producing them quicker.

Source: 'Agree before you delegate'.

Principle 1

Pictures before prose

A diagram forces decisions that prose can leave open.

Technique The question it answers
C4 model · Simon Brown What is inside, and who is outside?
Sequence and swimlane diagrams Who does each step, in what order?
Ubiquitous language · Eric Evans Does one word have one meaning?
State machines How does a business object change state?
Wireframes and prototypes What will using it be like?
Agree before you delegate8 / 17

Speaker notes for slide 8 of 17

Software engineering has spent decades building techniques that help requesters and builders picture the same system, and each answers one question for one audience. Simon Brown's C4 model shows the system boundary, the containers inside it, and the people and systems around it. Sequence and swimlane diagrams show behaviour and who owns each step. Eric Evans's ubiquitous language, from 'Domain-Driven Design', keeps one word for one meaning across the business and the code. State machines show how a business object moves through approvals, waits and retries. Wireframes and prototypes show what using the system will be like. You can write 'the system handles requests' without saying whose; you can't draw the submitter without labelling the box.

Sources: Brown; Evans.

Principle 2

Agree progressively, in order

  1. Ask What problem, for whom, and what is out of scope?
  2. Sketch The first journey: who does what, person, AI or system?
  3. Draw Context, containers, deployment, data and AI flows.
  4. Specify Testable behaviour and acceptance criteria.
  5. Click A throwaway prototype that future users can try.
  6. Then delegate.

Each step narrows the range of possible systems before the next adds detail.

Skip a step, and a wrong assumption reaches code unchallenged.

Agree before you delegate9 / 17

Speaker notes for slide 9 of 17

Shared understanding is built in steps, and each step narrows the range of possible systems before the next one adds detail. Ask: clarify the problem, who it's for and what's out of scope. Sketch: agree a high-level plan and the first user journey, including which steps belong to a person, the AI and fixed system logic. Draw: agree the context, containers, deployment, and data and AI flows. Specify: write testable behaviour and acceptance criteria that trace back to the diagrams. Click: let future users try a throwaway, low-fidelity prototype with synthetic data. The order matters. In our example, the architect went from planning documents straight to code, so a wrong assumption reached working software unchallenged.

Source: 'Agree before you delegate'.

Principles 3 and 4

Sign-off stays with people

03

Engineers act as the stakeholder

Review an agent’s proposal like a supplier’s: see it, try it, then sign off.

04

Agreement stays with people

Agents help us brainstorm and verify. Deciding what to build stays human.

Agree before you delegate10 / 17

Speaker notes for slide 10 of 17

Two shifts in our role. Traditionally, developers and architects received requirements, and someone from the business signed off a mock-up or demo. When agents do more of the implementation, we are the ones commissioning the work. So we review an agent's proposal the way a business stakeholder reviews a supplier's: by looking at it and trying it, and signing off only when we can see the system we want. Second, we brainstorm with agents, agree with them and verify their work. Verification is increasingly automated, through generated tests, automated code review and agents checking agents. Deciding what is right to build, for whom and within which constraints remains a human responsibility.

Source: 'Agree before you delegate'.

The model

Brainstorm, agree, delegate, verify

Brainstorm, agree, delegate, verify: a loop around shared understanding Brainstorm with agents drafts the shared understanding, made of glossary, diagrams, prototype and spec. Agree, where humans sign off on pictures, feeds it as signed off. Delegate: agents implement from the spec, reading it. Verify with tests and review, which updates it. When reality differs from the spec, the loop returns to brainstorm. Verification is increasingly automated; agreement still needs people. Reality ≠ specDraftsSigned offUpdatesReads spec Brainstormwith agents Agreehumans sign off on pictures Delegateagents implement from the spec Verifytests, review Shared understandingglossary · diagramsprototype · spec Verification is increasingly automated.Agreement still needs people.

Once the pictures are agreed, delegation becomes lower risk.

The quality of the agreed input matters more than the choice of framework.

Agree before you delegate11 / 17

Speaker notes for slide 11 of 17

Here is the model that ties it together. We brainstorm with agents, which drafts the shared understanding: glossary, diagrams, prototype and specification. People agree by signing off on pictures. Agents then implement from the agreed specification, and we verify their work through tests and review. When reality doesn't match the specification, we go round again. Once the pictures are agreed, delegation becomes lower risk: the specification is anchored to artefacts people have reviewed, and acceptance criteria map to scenarios they have walked through. A spec-driven development approach can then drive the agents, and the quality of the agreed input matters more than the choice of framework.

Source: 'Agree before you delegate'.

For engineering leaders

What changes for engineering leaders

  1. Ask who has seen it, not who has read it
  2. Plan time for agreement as well as build
  3. Keep the agreed artefacts with the code
  4. Track rework as well as throughput
Agree before you delegate12 / 17

Speaker notes for slide 12 of 17

Four things change for engineering leaders. First, ask who has seen it, not who has read it: sign-off on a diagram or prototype holds up better than sign-off on a document someone skimmed. Second, plan time for agreement as well as build. As agents shorten implementation, agreement takes a larger share of the schedule, so budget for it explicitly. Third, keep the agreed artefacts with the code. Versioned diagrams, glossary, specification and prototype give agents a stable source of truth, and give auditors a record of what was approved and why, which matters in regulated and public-sector work. Fourth, track rework as well as throughput. A team that ships quickly and then throws work away is not fast.

Source: 'Agree before you delegate'.

Getting started

Five questions before you delegate

  1. Can we draw the system boundary?
  2. Can we walk the main and failure paths?
  3. Do we use one word for one meaning?
  4. Have future users tried a prototype?
  5. Did we agree in order?

If any answer is no, the work isn’t ready for an agent.

Agents have made code cheaper to produce.

They have not made understanding cheaper.

Agree before you delegate13 / 17

Speaker notes for slide 13 of 17

To finish, five questions to ask before we delegate. Can we draw the system boundary and name who and what sits outside it? Can we walk through the main journey and its failure path on one page, including what happens when the AI is unavailable or unsure? Do the humans and the agent use one word for one meaning, backed by a short glossary? Have the people who will use the system tried a prototype, not just read a description of one? And did we agree in order, without skipping steps? If any answer is no, the work isn't ready for an agent. Agents have made code cheaper to produce. They have not made understanding cheaper.

Source: 'Agree before you delegate'.

A fictional example · Regional public works

“Request” meant two different systems

What was intended compared with what the agent built Left, what was intended: a contractor, who builds for the department, submits through change request intake for variation orders; an AI pre-assessment reads contract, budget and procurement rules from the contract and budget system of record; the contract manager decides with site inspector evidence, updates the budget and keeps an audit log. Right, what the agent built: a citizen uses a public request portal, an open web form; an AI chatbot answers questions and routes complaints using a public map of roadworks; a works progress dashboard shows public status updates with no decision and no approver. Middle, five differences: a contractor became a citizen; a contract change request became a public enquiry form; checks against the contract became a chatbot; contract and budget records became a public map; nobody approves or rejects the request. What was intendedContractor change-request reviewPersonContractorbuilds for the departmentStepChange request intakevariation ordersAIAI pre-assessmentcontract · budget ·procurement rulesHumanContract manager decides+ site inspector evidenceupdates budgetaudit logExternalContract & budgetsystem of recordReadsWhere they differFive differences01Who submitsA contractor becamea citizen02IntakeA contract change requestbecame a public enquiry form03AI stepChecks against the contractbecame a chatbot04DataContract and budget recordsbecame a public map05DecisionNobody approves or rejectsthe requestWhat the agent builtCitizen request portalPersonCitizenmember of the publicStepPublic request portalopen web formAIAI chatbot triageanswers questionsroutes complaintsViewWorks progress dashboardpublic status updatesno decisionno approverExternalMap of roadworkspublic map layerReadsLegendThe decision stepPersonStepExternal data
Agree before you delegate14 / 17

Speaker notes for slide 14 of 17

Here's a fictional but realistic example. An architect prepares a demo for a regional department responsible for public construction works. The goal is for AI to pre-assess contractor change requests, also called variation orders, against contract clauses, lot budgets and procurement thresholds, with a contract manager making the decision. The architect and an agent produce a full set of planning documents, which the architect reviews for a few hours and judges coherent. The agent then builds a citizen-facing portal for reporting roadworks issues. The documents use the word 'request' throughout. The architect read it as a contractor's change request; the implementation treated it as a citizen's request. The build had to be discarded.

Source: 'Agree before you delegate'.

  1. Ask
  2. Sketch
  3. Draw
  4. Specify
  5. Click

In practice · Fictional example, second attempt

The swimlane shows who decides

Swimlane: one change request from submission to decision Four lanes. The contractor submits a change request with drawings, photos and cost. The AI pre-assessment checks the rules, meaning clauses, budget and limits, then drafts an assessment that cites clauses and flags gaps. The site inspector verifies on site and writes a site report. The contract manager decides whether the request is within delegated authority. If yes, they approve and the budget is updated. If it is over the threshold, it escalates to the board, above the sign-off limit. If there is an evidence gap, the contractor provides more evidence to fill the flagged gaps and resubmits for a re-check. ContractorAIpre-assessmentSiteinspectorContractmanagerResubmitsEvidence gapYesOver thresholdSubmits change requestdrawings · photos · costChecks the rulesclauses · budget · limitsDrafts assessmentcites clauses, flags gapsVerifies on sitesite reportProvides more evidencefills the flagged gapsWithin delegatedauthority?Approvesbudget updatedEscalates to boardabove sign-off limitLegendStepHuman decisionDesired outcomeHandoffLoop back for re-check
Agree before you delegate15 / 17

Speaker notes for slide 15 of 17

Back to the fictional change-request example, on the second attempt. This is the Sketch step: one change request, end to end, as a swimlane. It makes responsibility explicit. The AI checks the rules and drafts an assessment, citing clauses and flagging gaps. A site inspector verifies the work on site. The contract manager makes the financial decision and escalates to the board when the request exceeds their delegated authority. Notice what the picture forces. We can't draw it without saying who submits the request, and that it's a contractor, not a citizen. The misunderstanding from the first attempt becomes visible in minutes, before any code exists.

Source: 'Agree before you delegate'; the example is fictional.

  1. Ask
  2. Sketch
  3. Draw
  4. Specify
  5. Click

In practice · Fictional example, second attempt

The AI suggests; a named person approves

Container view of the change request review system Outside the system boundary, three people: a contractor from an external firm submits; a site inspector from department staff adds evidence; a contract manager approves or rejects and decides. Inside the boundary, the web app for submit and review calls the change request API for rules and routing. The API records cases and an audit trail in the case store, checks budget in the external contract and ERP system holding clauses, budget and commitments, and asks the AI pre-assessment, which reads the external document store of drawings and site photos. The AI pre-assessment is the focal step and is annotated: the AI suggests; a named person approves. Change request review · systemSubmitsAddsevidenceDecidesAsksRecordsReadsChecks budgetPersonContractorexternal firmPersonSite inspectordepartment staffPersonContract managerapproves or rejectsWebWeb appsubmit & reviewAPIChange request APIrules · routingAIAI pre-assessmentsuggests · a person decidesStoreCase storecases + audit trailExternalDocument storedrawings · site photosExternalContract & ERP systemclauses · budget · commitmentsThe AI suggests.A named person approves.LegendPersonContainerData storeFocal: the AI stepExternal systemCall to external systemSystem boundary
Agree before you delegate16 / 17

Speaker notes for slide 16 of 17

This is the Draw step: a container view in the style of Simon Brown's C4 model. It shows where the AI sits inside the system boundary, which systems it reads, the document store and the contract and ERP system, and who works with it from outside: the contractor, the site inspector and the contract manager. The key line is the annotation on the AI component: it suggests, and a named person approves. In regulated and public-sector work, that line between suggestion and decision is what auditors and accountable managers will ask about. It is simple enough for a contract manager, an architect and a developer to say whether it's right.

Sources: Brown (C4); fictional example.

  1. Ask
  2. Sketch
  3. Draw
  4. Specify
  5. Click

In practice · Fictional example, second attempt

The prototype surfaced three requirements

Throwaway prototype of the contract manager review screen for change request CR-0147 Sketchy low-fidelity wireframe of contracts.example/change-requests/CR-0147: Change request CR-0147, Bridge deck resurfacing, Lot 3, status Awaiting site inspection. Request: contractor Lot 3 contractor, amount 48,200 euros, reason unforeseen rebar corrosion under deck, evidence three photos. AI pre-assessment, a suggestion, not a decision: clause 12.3 covers unforeseen structural conditions (check); lot budget remaining 112,000 euros (check); warning: cumulative changes 17 percent of contract value, re-tender review at 20 percent; missing: inspector site report. Each line links to the clause, ledger entry or document it was checked against. Buttons: Request more info, Send to site inspection, and Approve, which is disabled and enabled after inspection. Markers 1 to 3 point to the Approve button, the cumulative-changes warning and the AI panel heading. contracts.example/change-requests/CR-0147 Change request CR-0147 · Bridge deck resurfacing, Lot 3 Awaiting site inspection Request Contractor Lot 3 contractor Amount €48,200 Reason Unforeseen rebar corrosion under deck Evidence photo photo photo AI pre-assessment — a suggestion, not a decision Clause 12.3 covers unforeseen structural conditions Lot budget remaining: €112,000 Cumulative changes: 17% of contract value (re-tender review at 20%) Missing: inspector site report Each line links to the clause, ledger entry or document it was checked against. Request more info Send to site inspection Approve enabled after inspection 1 2 3

Throwaway prototype · synthetic data · fictional example

  1. Approve stays disabled until the site report is attached.
  2. The cumulative-changes warning is the most important line.
  3. The AI panel says clearly that it only suggests.
Agree before you delegate17 / 17

Speaker notes for slide 17 of 17

This is the Click step: a throwaway prototype of the contract manager's review screen, shown to the people who will use it. Reviewing it surfaced three requirements the documents didn't state. First, the Approve button must stay disabled until the inspector's site report is attached. Second, the cumulative-changes warning is the most important line on the screen, because it decides whether a re-tender review is needed. Third, the AI panel must say clearly that its output is a suggestion. None came from reading; they came from looking and trying. The amounts on screen are synthetic, and the example is fictional.

Source: 'Agree before you delegate'.