Agentic Spec-Driven Development
{"all_nodes":"stitched from OCR output; frontier verification status per node"}local graph
Agentic Spec-Driven Development — Anatoly Volkhover
Section titled “Agentic Spec-Driven Development — Anatoly Volkhover”A Practical Method for Using AI to Build Complete Specifications for Software, Products, and Knowledge Work — self-published via agentic-spec.com.
The book is organized as 16 numbered chapters preceded by two unnumbered front sections (Why This Book?, The Method), followed by six appendices reproducing the downloadable bootstrap files (A–F), the Index, and a Methodological Roots reference appendix.
chapter_01
Section titled “chapter_01”node-book_agentic-spec-driven-development_chapter-01-prerequisites — Prerequisites
chapter_02
Section titled “chapter_02”node-book_agentic-spec-driven-development_chapter-02-token-efficiency — Token Efficiency
chapter_03
Section titled “chapter_03”node-book_agentic-spec-driven-development_chapter-03-the-ai-agent — The AI Agent
chapter_04
Section titled “chapter_04”node-book_agentic-spec-driven-development_chapter-04-the-prompt — The Prompt
chapter_05
Section titled “chapter_05”node-book_agentic-spec-driven-development_chapter-05-durable-rules — Durable Rules
chapter_06
Section titled “chapter_06”node-book_agentic-spec-driven-development_chapter-06-the-bootstrap — The Bootstrap
chapter_07
Section titled “chapter_07”node-book_agentic-spec-driven-development_chapter-07-auditability — Auditability
chapter_08
Section titled “chapter_08”node-book_agentic-spec-driven-development_chapter-08-sessions-and-memory — Sessions and Memory
chapter_09
Section titled “chapter_09”node-book_agentic-spec-driven-development_chapter-09-glossary — Glossary
chapter_10
Section titled “chapter_10”node-book_agentic-spec-driven-development_chapter-10-artifacts — Artifacts
chapter_11
Section titled “chapter_11”node-book_agentic-spec-driven-development_chapter-11-trust-but-verify — Trust, but Verify
chapter_12
Section titled “chapter_12”node-book_agentic-spec-driven-development_chapter-12-course-correction — Course Correction
chapter_13
Section titled “chapter_13”node-book_agentic-spec-driven-development_chapter-13-dry-run — Dry Run
chapter_14
Section titled “chapter_14”node-book_agentic-spec-driven-development_chapter-14-interactive-wiki — Interactive Wiki
chapter_15
Section titled “chapter_15”node-book_agentic-spec-driven-development_chapter-15-closing-pass — Closing Pass
chapter_16
Section titled “chapter_16”node-book_agentic-spec-driven-development_chapter-16-spec-driven-development — Spec-Driven Development
appendix-a-claudemd-bootstrap
Section titled “appendix-a-claudemd-bootstrap”node-book_agentic-spec-driven-development_appendix-a-claudemd-bootstrap — Appendix A — CLAUDE.md (Bootstrap)
appendix-b-rule-analysis-bootstrap
Section titled “appendix-b-rule-analysis-bootstrap”node-book_agentic-spec-driven-development_appendix-b-rule-analysis-bootstrap — Appendix B — rule-analysis.md (Bootstrap)
appendix-c-rule-conflict-protocol
Section titled “appendix-c-rule-conflict-protocol”node-book_agentic-spec-driven-development_appendix-c-rule-conflict-protocol — Appendix C — rule-conflict-protocol.md
appendix-d-rule-conflict-log-bootstrap
Section titled “appendix-d-rule-conflict-log-bootstrap”node-book_agentic-spec-driven-development_appendix-d-rule-conflict-log-bootstrap — Appendix D — rule-conflict-log.md (Bootstrap)
appendix-e-regen-all
Section titled “appendix-e-regen-all”node-book_agentic-spec-driven-development_appendix-e-regen-all — Appendix E — regen-all.md
appendix-f-disambiguate
Section titled “appendix-f-disambiguate”node-book_agentic-spec-driven-development_appendix-f-disambiguate — Appendix F — disambiguate.md
back-index
Section titled “back-index”node-book_agentic-spec-driven-development_back-index — Index
back-methodological-roots
Section titled “back-methodological-roots”node-book_agentic-spec-driven-development_back-methodological-roots — Methodological Roots
Title Page
Section titled “Title Page”[!visual-conversion] Cover, PDF 001. All cover text is transcribed below. The rest of the cover is decorative: a vertical rule beside the title and an isometric line drawing of interlocking boxes, stairs and openings (an impossible-architecture motif). It carries no information the text needs, so no raster is embedded.
Agentic Spec-Driven Development
A Practical Method for Using AI to Build Complete Specifications for Software, Products; and Knowledge Work
ANATOLY VOLKHOVER
“Ask and it shall be given you.”
— Matthew 7:7
Contents
Section titled “Contents”Contents
Section titled “Contents”- Acknowledgments — xi
- Why This Book?
- Why Now
- The Reader
- Becoming a Handler
- How to Use This Book
- The Method
- Just Tell Me What You Want? — 9
- Chapter 1: Prerequisites — 13
- Domain Expertise — 13
- AI Agent — 13
- Version Control — 14
- Project Structure — 15
- Chapter 2: Token Efficiency — 17
- Tokens — 17
- File Formats — 18
- Chapter 3: The AI Agent — 21
- Two Halves — 21
- What Makes It Agentic — 21
- All Talk, No Memory — 22
- Chapter 4: The Prompt — 25
- Command — 25
- Research — 26
- Suggest — 27
- Draft — 27
- Analyze — 29
- Explain — 30
- Critique — 31
- Combining Modes — 31
- Iterate — 33
- Plan — 35
- Playbook — 36
- Intent Over Instruction — 37
- Guardrails — 39
- Triggers — 40
- The Language of Rules — 42
- Challenge — 43
- Chapter 5: Durable Rules — 45
- Rules of Engagement — 45
- The Rules Trap — 46
- How Reliable? — 46
- Chapter 6: The Bootstrap — 51
- CLAUDE.md — 51
- rule-analysis.md — 64
- rule-conflict-protocol.md — 68
- rule-conflict-log.md — 71
- Installation — 72
- Challenge — 73
- Chapter 7: Auditability — 75
- The Audit Trail — 75
- Installing the Log — 76
- Anatomy of the Rule — 79
- Log in Action — 81
- Help the AI Help You — 83
- Chapter 8: Sessions and Memory — 85
- Chat Session — 85
- Context Window — 87
- Context Rot — 88
- Tool Calls — 88
- File Memory — 90
- Triangulation — 91
- Challenge — 92
- Chapter 9: Glossary — 93
- Lost in Translation — 93
- Project Glossary — 95
- Glossary in Action — 102
- Challenge — 105
- Chapter 10: Artifacts — 107
- When Text Isn’t Enough — 107
- The Naive Path — 108
- The Better Path — 109
- Source of Truth and Artifacts — 110
- The Artifact Discipline — 111
- Artifact in Action — 119
- Challenge — 133
- Chapter 11: Trust, but Verify — 135
- Does AI Earn Your Trust? — 135
- Before You Ask — 138
- Manual Review — 139
- Polygraph — 140
- Challenge — 154
- Chapter 12: Course Correction — 155
- Validating Ground Truths — 155
- Updating Ground Truths — 156
- Full Audit — 157
- Challenge — 159
- Chapter 13: Dry Run — 161
- Total Recall — 161
- Recall in Action — 163
- Challenge — 167
- Chapter 14: Interactive Wiki — 169
- Chapter 15: Closing Pass — 173
- Sweep — 173
- Triage — 175
- Beyond Text — 177
- Challenge — 178
- Chapter 16: Spec-Driven Development — 179
- Afterword — 185
- Leave an Honest Review — 187
- About the Author — 189
- Appendix A: CLAUDE.md (Bootstrap) — 191
- Appendix B: rule-analysis.md (Bootstrap) — 197
- Appendix C: rule-conflict-protocol.md (Bootstrap) — 199
- Appendix D: rule-conflict-log.md (Bootstrap) — 201
- Appendix E: regen-all.md — 203
- Appendix F: disambiguate.md — 205
- Appendix G: specs/errata-flow.md (v1) — 207
- Appendix H: gen-errata-flow.md — 211
- Appendix I: errata-flow.html — 213
- Appendix J: specs/errata-flow.md (v2) — 215
- Index — 219
- Methodological Roots — 235
- Structure and Organization — 235
- Language and Meaning — 237
- Auditability and Traceability — 238
- Validation and Quality — 239
- Knowledge and Memory — 242
- Design and Architecture — 243
- Military and Intelligence Thinking — 246
- Cognitive Science and Human Factors — 247
- Anti-Patterns and Cautionary Principles — 248
- Process Frameworks — 249
Acknowledgments
Section titled “Acknowledgments”Acknowledgments
Section titled “Acknowledgments”This book owes a debt to Levon Hovhannisyan.
He was among the first to put the methodology — still half-formed, shifting week to week — to work on a real project. The friction he hit shaped the methods in these chapters.
Levon read drafts, pushed back, and asked the questions that tightened the prose and sharpened the methods. The book is much better for his help.
Why This Book?
Section titled “Why This Book?”Why This Book?
Section titled “Why This Book?”Specifications have always mattered. Agentic AI makes them matter more.
The shift began in software engineering with vibe coding. You prompt an AI agent, it writes code, you review and fix what it got wrong — turn after turn, in the loop on every step. It feels like magic, until the project grows. Then the loop starts to slow you down.
As agents gained autonomy, the approach shifted. AI can now work through a large task on its own, without a check at every turn. That changes when your judgment is applied, not who applies it. The hard calls are still yours: the architecture, the trade-offs, the constraints. What changes is the timing. Instead of correcting the agent as it works, you settle those calls up front, in a specification the agent builds from. This is spec-driven development. When applied fully, the code becomes a generated artifact — the output of decisions you already made, not the place you make them. The engineer’s judgment relocates (does not disappear) into the spec.
There is a catch. Almost no one can think of everything up front. You do not see a gap until a concrete task drags it into view — the edge case, the conflict, the decision you did not know you owed. Specifying a whole system with nothing prompting you is close to impossible. That is the problem this book takes on. The method builds the specification a little at a time, each step surfacing the next set of decisions. It leans on AI throughout — to research, draft, cross-check, and keep the project consistent — so the rote work moves to AI and your attention stays on the judgment only you can supply.
On a team, this shift also changes who owns the spec. The spec used to belong to the product manager: a product requirements document — a PRD — was written, then handed over the wall to engineering, one direction only, to become a design and then code. An autonomous agent will not wait at that wall. It needs product intent and technical judgment in one place: what the product should do and how it should be built, the requirements and the architecture, side by side. That is more than a PRD ever held. Now the product manager and the engineer work the same spec, and they live in it full-time — it is where decisions get made, recorded, and changed.
The same shift is reaching other knowledge-work fields. Before a lawyer drafts the final contract, they work out the parties, the obligations, the consideration, the edge cases, and the termination conditions — drafting a contract is the coding step; all the prep work is the specification step. Lawyers do not call it that, but the shape of the work is the same. A researcher writes a protocol before the study runs. A policy writer drafts intent and scope before the policy text. An author drafts a synopsis and an outline before writing the book. In every case, detailed material is produced before the final stage of the work begins; that material is the specification. The method in this book applies to most such cases, not just to engineering. If anything, these fields are better positioned than software. Their final stage was always light — drafting a contract from a settled position, writing up a study that is already designed — never a heavy, separate build phase. Handing that step to AI is a relatively small leap.
The goal of the method is a complete, validated specification. The specification is the deliverable.
Sometimes the specification is the finished product itself — a contract ready for signing, a policy, a research protocol ready for approval by an institutional review board, a fully formatted book that goes to publication.
Sometimes the specification is a blueprint that an AI agent executes — software is coded, a site is built, a deck is generated. The final step is no longer yours: building from the spec is AI’s job. That is why this book contains no code — not a gap, the point. There is no longer any code for you to write; your work is to make the spec complete enough that the agent executes it consistently, without guesswork. Your side of the work begins and ends in the specification.
The skill of building specs is durable. AI will keep getting better — fewer hallucinations, sharper reasoning, longer context windows — but as long as it remains a system that predicts text without truly understanding your project, the method holds. As models improve, the method works better, not worse. Every step asks the AI to reason about the context created earlier, and a stronger model does so more effectively.
Why Now
Section titled “Why Now”Specifications are not new. What is new is using AI to build them. AI is not human, and most older methods for writing specs were built around what people can do. Some of those methods fall apart with AI. Others — methods that never worked well with people because they demanded too much patience or too much rigor — work surprisingly well when an agent runs them.
Here is a reality most people outside the field have not noticed: today’s agentic AI and the original ChatGPT of late 2022 are very different tools. Agentic AI is far more capable, and it looks deceptively simple to operate. It is not. Working manually is crawling. Chatting with AI is walking. Operating an AI agent is driving — and driving takes training.
The Reader
Section titled “The Reader”The book is aimed at anyone whose deliverable is precise, detailed material — sometimes a blueprint that someone else (a person or an AI agent) executes, sometimes the finished product itself.
Two roles sit at the center of this shift — judgment moving up front, into a spec an agent builds from — because software felt it first:
- Software architects and engineers — for whom coding is increasingly automated, so the technical judgment that once came out turn by turn, in the back-and-forth with the agent, now has to be settled up front, in the spec.
- Product managers — whose craft has always been the spec, only now the spec must fuse product intent with technical judgment, co-authored with engineering, and stand complete enough for an autonomous agent to execute.
The same method serves everyone else in knowledge work:
- Consultants producing scopes of work, RFP responses, proposals, and decision memos.
- Legal and patent practitioners translating informal intent into precise contract language, settlement letters, policy text, and patent applications.
- Researchers writing clinical trial protocols, experimental scripts, and study procedures that a stranger should be able to run.
- Policy and compliance professionals writing corporate policies, regulatory submissions, and audit-grade documentation.
- Marketing, brand, and communications professionals writing go-to-market and launch plans, brand and tone-of-voice guidelines, positioning and messaging frameworks, content and campaign briefs, PR plans, and long-form assets like white papers and sales decks.
- Operations and data professionals writing SOPs, runbooks, incident playbooks, analysis specs, and dashboard requirements.
- Technical writers producing documentation, manuals, API references, and user guides.
- Authors of instructional, reference, and how-to material — textbooks, training curricula, and long-form content where structure and precision matter.
- Educators and curriculum designers writing course outlines, syllabi, lesson plans, and training scripts.
Each of these roles faces the same dilemma. Using AI without a framework carries a high risk of failure. When the deliverable is a blueprint, the downstream executor — a person or an AI agent, especially AI — fills the gaps with wrong assumptions, and the output misses the intent. When the deliverable is the end product, the product fails to do its job: the contract has loopholes, the policy is misread, the report misleads. Avoiding AI is not an option — the people who use it well will outpace you. This book gives you the framework for avoiding the worst of those failures.
The book speaks to solo practitioners and to small teams equally. Modern AI has made it possible for one person to do what used to require a group, but the method holds up just as well when several people share the project.
Becoming a Handler
Section titled “Becoming a Handler”A common assumption: if you know how to do a job, you can tell AI how to do it — just faster. An engineer expects AI to generate code. A lawyer expects AI to draft a contract. A researcher expects AI to design a clinical protocol. It does not work that way. The proof predates AI and is everywhere: many great engineers make poor managers. Doing the work and directing someone — or something — to do the work are different skills. This book is about the second skill, applied to AI.
Here is an analogy from the intelligence community. A handler does not do the field agent’s job. The handler sets direction, provides context, judges what the agent brings back, and decides what to act on. The handler’s skill is not the field agent’s skill — it is the skill of running the field agent effectively. Apply the analogy to you and AI. You are not learning how AI is built internally. You are not studying its architecture or its training algorithms. You are learning how to direct AI by building a specification, getting reliable results from an unreliable yet extraordinarily capable partner.
Concretely: the spec’s content — the vision, the structure, the architecture — comes from your domain expertise; this book teaches the tradecraft that turns AI into a reliable partner in producing it. The expertise itself is not taught here — each field has its own, far beyond the scope of a single book. If your field is software engineering, the relevant expertise is covered in my earlier book, Become an Awesome Software Architect.
How to Use This Book
Section titled “How to Use This Book”The book is opinionated by design. You are getting one practitioner’s method — the one that works — not a balanced survey of options. The method is grounded in several successful commercial projects. The language is deliberately plain — no literary flourish, just clarity — so the book reads equally well for native and non-native English speakers.
Throughout this book, “you” is the person responsible for the specification — the one whose intent must be captured and whose judgment cannot be delegated. Whether you are working alone, in a small team, or as one specialist inside a larger group, the method remains the same.
If you are working as a team, every member must read the book end to end so the team applies the same methodology. The split of responsibilities is up to you and most often follows each member’s area of expertise.
Some of the methods in this book may look familiar. They are derived from manual, pre-AI disciplines proven over decades: requirements management, change control, auditability, validation, glossaries, and more. But those disciplines were designed for human teams, not for AI agents.
AI has its own weaknesses. It hallucinates — fabricates facts without hesitation. It defaults to overconfidence. It lacks the common sense any human teammate would have. It “forgets” what you told it moments ago. It claims to have completed work that has not started.
AI also has superhuman strengths. It can read a hundred-page specification in seconds and catch gaps a human reviewer would miss. It can compare a dozen documents and flag discrepancies. It can generate a polished visual artifact — a diagram, a chart, a slide deck — in less time than it takes you to describe what you want. No human team works that fast or that tirelessly.
In this book, the old, proven methods are tweaked — sometimes beyond recognition — to exploit AI’s strengths and defend against its weaknesses. The resulting techniques may resemble pre-AI practices, but they work very differently underneath. To avoid confusion, the chapters do not call out which technique descends from which pre-AI practice; the Methodological Roots at the end of the book lists those practices for the curious. Treat every method here as new. If you happen to recognize the ancestry, fine — but do not assume you know how a method works until you have read the chapter and seen the examples.
Do not follow the methods blindly. Adapt them to your own workflows once you understand the principles. Do not assume; dig in, even when a concept seems obvious. The book is meant to be read in order, and it is optimized for brevity. It is a guide, not a reference.
A note before going further. If you are looking for recipes to follow without thinking, this book is not for you. The book builds the mental model you need to drive agentic AI for spec-driven development — not the engineering underneath, but enough to understand why AI behaves the way it does and how to steer it. The book leans on frontier AI agents by design, and you are expected to put in the work to learn. If you want a packaged solution that does the job without your involvement, look for software built for your field — if any such option exists.
Intuition and Muscle Memory
Section titled “Intuition and Muscle Memory”Some of the examples and methods in this book may look too simple. They are simple by design. They are illustrations and suggestions — not production blueprints, not sacred prompt templates, not magic skill files. Their purpose is to build your intuition for working with AI. Think about how you would make these techniques more robust — as an exercise.
Some of my explanations may not be scientifically accurate. That is intentional. My goal is not to fill your head with abstract concepts and formulas. I am giving you a working mental model — one that helps you make good decisions when building with AI. Practical usefulness matters more here than academic precision.
The book gives a lot of space to real examples — prompts, rule files, and actual AI responses, walked through in detail. A book cannot replace hands-on practice, but worked examples come closest. They give you a clearer sense of what is happening inside the conversation, and they implant a way of thinking that abstract description never will. Read the examples as the operator, not the observer. Better still: run the same dialog — or a similar one — in your own agent. If you cannot, read carefully anyway — you still get most of the value.
One note on running the examples yourself. AI is probabilistic. The responses your agent returns will not match what is printed here word for word, and the formatting will differ. The substance — what AI is doing and why — will be the same.
The skill this book teaches is tacit. The chapters give you the moves, but reading alone is too abstract for the skill to stick. Plan for two passes. First, read the book end to end. Then go back to the start and work through your own project — one that genuinely needs a precise detailed spec — applying each method in the order the chapters introduce them. After one or two real projects, the moves become muscle memory.
If you do not have a pressing project, invent one. Anything that needs careful thinking and cannot be described on a single page will do.
The Running Example
Section titled “The Running Example”The book has a companion website at agentic-spec.com. It serves three purposes: promoting the book outside Amazon, capturing errata, and providing online reader assistance.
The site is the running example. Across the chapters ahead, you will watch its specification take shape layer by layer, each step introducing a new method. The website is worth visiting early — seeing the deployed site first makes the examples easier to follow. The final, complete project is available for download from agentic-spec.com/downloads/full-project.zip
That is my running example. Yours is your own project — work you would have had to spec anyway. You are not creating a practice exercise; you are doing real work, now with the method behind you.
The Method
Section titled “The Method”The Method
Section titled “The Method”This approach leans heavily on agentic AI to keep you out of rote work. You start with an idea. You end with a spec that a person or an AI agent can act on with confidence. In between, you push the heavy lifting to AI and save your attention for the judgment calls only you can make.
If the specification is for software, an AI agent turns it into the code. If it is for a contract, the spec is the contract draft itself. The method is the same. The only thing that changes is what AI does after the spec is done — and that part runs without you.
Just Tell Me What You Want?
Section titled “Just Tell Me What You Want?”Many people think, “Just tell AI what you want and it will produce it.” I do not believe in that approach — not because the technology cannot deliver, but because no one can describe a need of any real size in full, correct, consistent detail in one sitting. You will miss things. You will contradict yourself. You will change your mind halfway through. That is how real thinking works — in product design, contract drafting, research design, policy work, and any knowledge work where the spec matters. Any method that pretends otherwise breaks the first time the work pushes back.
My approach is gradual. You and AI build the specification in layers. Every layer narrows the unknowns, so later phases have less to guess at and more to build on.
You start with ideation. You share your idea with AI — what you want the specification to govern, what problem it solves, who will act on it. You ask AI to research the relevant context: the market and competition for a product, comparable contracts and prior agreements for legal work, prior protocols and published trials for research, existing policies and regulatory guidance for a policy. You use AI as a partner and as a critic. Good human collaborators do both, and AI should too.
Once the idea takes shape, you record it. That record becomes the first ground truth for the project. The ground truth is not locked forever — you can change it — but from that point on, everything else rests on top of it.
Next, you build the vision — the layer above the ground truth. For a product, the vision includes user stories, workflows, and integrations. For a contract, the parties, obligations and scope. For a research protocol, the questions, population, and endpoints. For a policy, the principles, scope, and controls. You talk through decisions with AI, and AI records both the decisions and the reasoning as you go, so you do not waste time writing them up yourself. AI is reliable at pulling the gist out of a conversation. Your earlier ideas will shift along the way and AI reshuffles the pieces so everything stays consistent.
At every step, the pattern is the same: push the heavy lifting to AI, and keep the judgment calls for yourself.
Notice what is accumulating at each stage. Not instructions. Rationale. You are not building a specification that tells AI what to do step by step. You are building a body of recorded reasoning — why this business model, why this workflow, why this constraint — that AI can reason from. The method prefers rationale to commands. As that body grows, AI works from it and arrives at better solutions on its own. You do not need to dictate the answer. You need to give AI enough context to find it.
As the vision fills in, the room for guesswork in later stages shrinks. By the time you read the structural detail — the data model for a software spec, the term sheet for a contract spec, the variables and arms for a research protocol, the controls list for a policy — most of the structure is already implied by what came before. AI can draft the structural detail and cross-check its own work against the ground truths you recorded. You review — not the raw AI output, which would be huge, but small, disposable visual digests that show the shape of the work at a glance.
When the structural detail is settled, the next step is assembly — how the pieces fit together and how the spec will read to its consumer. For software, assembly means the architecture, the test criteria, and the user interface design. For a contract, the section ordering and the cross-references. For a research protocol, the workflow a coordinator will follow on day one.
For software, notice what has collected in one place. The vision carried the product intent — what to build, for whom, and why. The structural detail and the architecture carried the technical judgment — the data model, the interfaces, how it holds up under load. Both live in the same spec. That is the fusion an autonomous agent needs, and it is what lets a product manager and an engineer work on the same document, each owning the layers closest to the expertise.
By that point, the spec is information-complete — every decision recorded with its rationale. What remains is mechanical work, not art. Artifacts still need to be produced — documentation, diagrams, review-ready views — but the spec already holds the judgment; producing the artifacts takes none.
Those artifacts have two jobs. First, they hand the spec to whoever — or whatever — will consume it next. Second, they let you review the result in a format you can actually scan, because reading hundreds of pages of raw spec is inefficient and error-prone. If the review turns up a gap, you loop back to the layer responsible for the gap. Otherwise, you move on.
Final artifacts usually carry the instructions and conclusions, not the rationale that produced them. Sometimes the rationale gets its own artifact; more often, it stays with the spec project. That matters in two places. When a review finds a gap, the rationale is what lets you (and AI) reason about the fix and trace it to the right layer. And when a question arises after handoff — engineering proposing a shortcut, a counterparty asking why a clause reads the way it does, a coordinator wondering about a procedure — the spec project doubles as an interactive knowledge base.
A note on what this book does and does not teach. Ideation, vision, structural detail, and architecture are the substance of any specification, and they belong to your domain. How to write a vision for a product, design an architecture, draft a term sheet for a contract, or structure a study requires expertise this book takes as a prerequisite. What the book teaches is the tradecraft that runs underneath when AI is the partner doing the rote work: how to direct AI, how to record decisions so AI can reason from them, how to catch its mistakes, and how to keep your project consistent as it grows. The chapters ahead are organized around that tradecraft.
Ready to start? Almost. Building with AI begins with a basic understanding — not of math or the inner workings of language models, but of how an agentic system is put together and how it behaves. Let us have a look.