Blog · AI engineering

Design-First Agentic Delivery: the ZySec AI playbook for building with AI agents

Our free playbook for engineering leaders: let AI agents build to a design-led plan inside a harness that enforces the rules, and let people validate each wave and decide what ships. Six stages, six gates, a pilot.

Download the playbook (PDF, 48 pages)

Cover of Build with agents. Validate with people. The Design-First Agentic Delivery playbook, version 1.0, by ZySec AI Engineering

Build with agents. Validate with people. is ZySec AI Engineering's playbook for delivering software with AI agents. It is free to download and is for engineering leaders who already use agents and want the speed without shipping what nobody checked.

About the playbook
TitleBuild with agents. Validate with people. The Design-First Agentic Delivery playbook
EditionVersion 1.0, first edition, 29 November 2026
PublisherZySec AI Engineering, Abu Dhabi
Length48 pages, 14 chapters in three parts, ten myths, a glossary and sources
ForCEOs, CTOs, CIOs and engineering leads
FormatPDF, free to download; short extracts may be quoted with attribution to ZySec AI

This page sets out the method in brief. The playbook has the full detail: every exhibit, role, rule and checklist.

The problem: code is cheap, trust is not

AI coding agents are now part of daily work. Google's DORA programme reported AI adoption among 90% of software professionals in 2025, and found that AI amplifies a team's existing strengths and weaknesses. Across more than 400 companies, DX reported AI adoption up 65% while median pull-request throughput rose about 8%.

Our working hypothesis: where agents work well, writing code is no longer the slow part. The slow part is verifying the code, understanding it and deciding to ship it. Most delivery lifecycles still assume code is the constraint. Agents produce more code; review queues grow; decisions go unrecorded.

The model: two phases, six stages, six gates

In Phase 1, agentic build, the team designs the next release as a coded prototype, records costly decisions and freezes contracts. Agents then build in parallel inside a harness. In Phase 2, human validation, people test each wave and decide what to release.

StageArtefactGate, and who passes it
1 DesignCoded prototype, state inventory, acceptance criteriaDesign sign-off: product owner, design lead
2 DecideArchitecture Decision Records (ADRs), each with a fitness functionDecisions accepted: architect or tech lead
3 DecomposeContracts, epic plan in waves, failing testsPlan ready: tech lead, factory engineer
4 BuildMerged code with test and scan evidenceBuild verified: gates green; a reviewer who did not build the epic
5 ValidateValidation report across four lensesValidated: an independent validation lead
6 ReleaseProduction readiness recordGo or no-go: product owner, service owner

Stages 1 to 5 repeat for each wave; stage 6 gates each release. Validation runs behind the build, so people validate one wave while agents build the next.

Five rules that make it work

  1. The prototype anchors the specification. Every screen and state, in code.
  2. Decisions are written down before code is. Each critical choice becomes an ADR that an automated check enforces.
  3. Contracts come before epics. Freeze interfaces and data models first, so epics can be built in parallel.
  4. Block on evidence, not people. Routine changes merge on green checks; contract, security and harness changes need a named approver. Regulated or money-moving products start with full human review.
  5. Validate in waves, not at the end. A validation sprint runs behind each wave.

Ten myths, and our position

MythOur position
AI makes our teams ship much fasterAdoption is near universal; reported throughput gains are modest
With agents, engineering skill matters lessEngineers become orchestrators; vague specifications become defects at agent speed
A good mock-up tells the agent what to buildMock-ups leave states open, so agents guess; a coded prototype leaves less to guess
The agent will pick a sensible architectureWhere agents could choose differently, they will; record costly decisions as ADRs
More agents in parallel means more deliveredParallel agents collide; freeze contracts first and give each epic its own path
Tell the agent the rules and it will follow themInstructions are advisory; a sandbox, locked tests and a merge gate enforce them
If every check is green, it is readyChecks verify the specification; only people can judge fitness for use
Agents wrote it, so agents can look after itAgents prepare a release; people sign it, own on-call and hold the rollback
Riskier changes need more approval stepsHeavy approval slows delivery without reducing failures; send only costly-to-reverse changes to a panel
Share of AI-written code shows our progressVolume metrics reward output; measure escaped defects, lead time and cost per verified change

Inside the build: the harness

A harness is the software around the model: tools, context, permissions, sandboxes and checks. The playbook sets eight controls:

  1. A sandbox per agent, with filesystem and network egress restricted and no production credentials.
  2. Scoped credentials, short-lived and issued per session to a named agent identity.
  3. Lean instructions in one short file.
  4. Permission and deny rules, as a policy layer behind the sandbox, not the boundary.
  5. Protected verification files. Tests, fitness functions, contracts and gate scripts sit outside the agent's reach, so a failing test cannot be loosened.
  6. Hooks for fast feedback, such as lint after edits and tests before completion. Hooks advise; the gate enforces.
  7. A deterministic merge gate that blocks every merge on fast checks; slow checks run on a schedule.
  8. Telemetry and run records per session, write-once, with a named halt list and a rehearsed halt-and-revert drill.

People then review by risk. Routine feature code merges on green gates, with every merge reviewed after it lands in the first wave and a sample after that. Contract changes need the architect; security, data and money-moving code needs a named reviewer; harness changes need two people. AI review is advisory, and agents never sign gates.

Validation and release stay human

A validation sprint starts only after every automated gate passes. It runs for three to five working days, led by someone who neither built the wave nor wrote its acceptance criteria, across four lenses mapped to ISO/IEC 25010:2023:

LensMinimum activities
FunctionalAcceptance criteria from the prototype; a user trial for user-facing waves; an accessibility standard such as WCAG 2.2 AA
SecurityThreat model, authorisation tests, dependency and software bill of materials review, secrets scan, against a standard such as OWASP ASVS
Performance and scaleService level objectives and cost limits
ReliabilityRecovery objectives, load and failure-injection tests, a rollback drill

Defects go back to the harness as failing tests. Release is a human decision on a signed readiness record: validation report, accepted risks, rollback plan, service level objectives and a named on-call engineer who can explain and roll back every epic. No service level objectives, no release.

After release: change without breaking what works

Every change is classified before work starts. Standard changes take the normal merge path. Costly-to-reverse changes, such as a breaking contract, a shared data model or authentication, go first to a small panel drawn from a standing pool of roles, with fresh-context reviewers restating and challenging the change before people decide. Emergencies skip the panel, never the merge approver. After an incident, add a test or a fitness function, not another approval.

Making it a standard

Teams adopt the method in four cumulative levels:

LevelMust haveAutonomy permitted
1 FoundationsCoded prototype or contract examples, ADR log, CI on every merge, human releaseAgents suggest; people merge
2 Gated buildFrozen contracts, sandboxes, hooks, deterministic merge gate, protected and strength-checked testsRoutine changes merge on evidence
3 Validated deliveryValidation sprints on four lenses, an independent validation lead, SLO-based releaseThe next wave builds while the last is validated
4 MeasuredHarness evaluation on every change, drills after any model or harness change, quarterly metrics against baselineThe full model

A level is a self-assessed claim, not a certification. The playbook replaces volume measures (lines of code, pull requests per week, share of code written by AI) with delivery, quality and cost measures: escaped defects within 30 days, change failure rate, lead time, validation queue age, first-time gate pass rate and cost per verified change.

Prove it on one product: the pilot

The playbook is candid that its core claims are hypotheses. It closes with a six-week pilot (four weeks when prerequisites are met) on one product, with a decision rule the product owner and executive sponsor sign in week 1, before anything is built. Against a baseline of the team's last 30 merged changes, the pilot scales, adjusts or stops on cost per verified change, first-time gate pass rate and validation queue age, with escaped defects confirmed at 30 days.

Where to start on Monday

  1. Name the pilot product, its owner and an executive sponsor.
  2. Get data-handling approval for the models you will use.
  3. Put gate configuration and tests beyond agents' reach.
  4. Pull the last 30 merged changes and build the baseline.
  5. Draft the pre-registration and book the week 1 signing.

The ten-question readiness checklist in chapter 14 then tells you which level you can claim. To discuss a pilot, or to have an independent team test the agents and applications you build this way, write to hello@zysec.ai.

Sources cited in the playbook

All posts