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.

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 | |
|---|---|
| Title | Build with agents. Validate with people. The Design-First Agentic Delivery playbook |
| Edition | Version 1.0, first edition, 29 November 2026 |
| Publisher | ZySec AI Engineering, Abu Dhabi |
| Length | 48 pages, 14 chapters in three parts, ten myths, a glossary and sources |
| For | CEOs, CTOs, CIOs and engineering leads |
| Format | PDF, 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.
| Stage | Artefact | Gate, and who passes it |
|---|---|---|
| 1 Design | Coded prototype, state inventory, acceptance criteria | Design sign-off: product owner, design lead |
| 2 Decide | Architecture Decision Records (ADRs), each with a fitness function | Decisions accepted: architect or tech lead |
| 3 Decompose | Contracts, epic plan in waves, failing tests | Plan ready: tech lead, factory engineer |
| 4 Build | Merged code with test and scan evidence | Build verified: gates green; a reviewer who did not build the epic |
| 5 Validate | Validation report across four lenses | Validated: an independent validation lead |
| 6 Release | Production readiness record | Go 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
- The prototype anchors the specification. Every screen and state, in code.
- Decisions are written down before code is. Each critical choice becomes an ADR that an automated check enforces.
- Contracts come before epics. Freeze interfaces and data models first, so epics can be built in parallel.
- 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.
- Validate in waves, not at the end. A validation sprint runs behind each wave.
Ten myths, and our position
| Myth | Our position |
|---|---|
| AI makes our teams ship much faster | Adoption is near universal; reported throughput gains are modest |
| With agents, engineering skill matters less | Engineers become orchestrators; vague specifications become defects at agent speed |
| A good mock-up tells the agent what to build | Mock-ups leave states open, so agents guess; a coded prototype leaves less to guess |
| The agent will pick a sensible architecture | Where agents could choose differently, they will; record costly decisions as ADRs |
| More agents in parallel means more delivered | Parallel agents collide; freeze contracts first and give each epic its own path |
| Tell the agent the rules and it will follow them | Instructions are advisory; a sandbox, locked tests and a merge gate enforce them |
| If every check is green, it is ready | Checks verify the specification; only people can judge fitness for use |
| Agents wrote it, so agents can look after it | Agents prepare a release; people sign it, own on-call and hold the rollback |
| Riskier changes need more approval steps | Heavy approval slows delivery without reducing failures; send only costly-to-reverse changes to a panel |
| Share of AI-written code shows our progress | Volume 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:
- A sandbox per agent, with filesystem and network egress restricted and no production credentials.
- Scoped credentials, short-lived and issued per session to a named agent identity.
- Lean instructions in one short file.
- Permission and deny rules, as a policy layer behind the sandbox, not the boundary.
- Protected verification files. Tests, fitness functions, contracts and gate scripts sit outside the agent's reach, so a failing test cannot be loosened.
- Hooks for fast feedback, such as lint after edits and tests before completion. Hooks advise; the gate enforces.
- A deterministic merge gate that blocks every merge on fast checks; slow checks run on a schedule.
- 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:
| Lens | Minimum activities |
|---|---|
| Functional | Acceptance criteria from the prototype; a user trial for user-facing waves; an accessibility standard such as WCAG 2.2 AA |
| Security | Threat model, authorisation tests, dependency and software bill of materials review, secrets scan, against a standard such as OWASP ASVS |
| Performance and scale | Service level objectives and cost limits |
| Reliability | Recovery 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:
| Level | Must have | Autonomy permitted |
|---|---|---|
| 1 Foundations | Coded prototype or contract examples, ADR log, CI on every merge, human release | Agents suggest; people merge |
| 2 Gated build | Frozen contracts, sandboxes, hooks, deterministic merge gate, protected and strength-checked tests | Routine changes merge on evidence |
| 3 Validated delivery | Validation sprints on four lenses, an independent validation lead, SLO-based release | The next wave builds while the last is validated |
| 4 Measured | Harness evaluation on every change, drills after any model or harness change, quarterly metrics against baseline | The 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
- Name the pilot product, its owner and an executive sponsor.
- Get data-handling approval for the models you will use.
- Put gate configuration and tests beyond agents' reach.
- Pull the last 30 merged changes and build the baseline.
- 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
- Anthropic (2025). Effective harnesses for long-running agents; Beyond permission prompts.
- AWS (2025). AI-Driven Development Life Cycle.
- Böckeler, B. (2025). Understanding spec-driven development.
- DORA (2025). Inside the 2025 DORA report; Streamlining change approval.
- DX (2026). AI's impact on engineering velocity is more modest than expected.
- OpenAI (2026). Harness engineering.
- Osmani, A. (2026). The future of agentic coding: conductors to orchestrators.
- Suchy, B. et al. (2026). Introducing the Elephant-Goldfish Model plugin.