AI

Spec driven development: what it is, and why agencies are already set up for it

Spec driven development is a way of building software with AI coding agents where a written specification comes first: requirements, design and acceptance criteria that the agent builds from and the output is checked against. The spec becomes the document people review and maintain. Agencies have written precise specs for clients for years, so they already have the skill this method runs on.

Scope & Bill · Updated · Last verified

Most agency owners first hear the phrase spec driven development from a developer who has just read about it, and assume it is a new discipline they will have to hire for. It is mostly a new name for something agencies already sell. You write down what the software must do, precisely enough that someone else can build it and a third person can check it. What has changed is that the someone building it is now often a coding agent.

That moves the value of a project toward the document. This page covers what the method is, why an agency is better placed for it than most product teams, and what it changes in the statement of work, the price and the code you already own. The rest of the AI material for owners is on the AI hub.

What is spec driven development?

Spec driven development is a way of building software with AI coding agents in which a written specification comes first. A person writes down the requirements, the design decisions and the acceptance criteria. The agent turns that into a plan and a list of tasks, then writes the code task by task. When the output is wrong, you fix the spec or the task and run it again. The spec is the thing people review and argue about. The code follows from it.

The term is still loosely defined, and people use it for different degrees of commitment. Birgitta Böckeler at Thoughtworks describes three levels. In spec-first, a spec is written before the work and used for the task at hand. In spec-anchored, the spec is kept after the task and used to evolve and maintain the feature. In spec-as-source, the spec is the maintained artifact and the code is regenerated from it. Most teams that say they do spec driven development are at the first level. Some are at the second. In the agencies I talk to, the third is still mostly an idea.

The comparison people reach for is vibe coding. Vibe coding means describing what you want to an agent in conversation, running whatever comes back, and prompting again until it seems to work. Nothing is written down except the chat. That is fine for a prototype you will throw away on Friday. It falls apart on anything that has to be maintained, handed over or paid for against a contract, because nobody can say afterwards what the software was supposed to do. Spec driven development puts that answer in a file in the repository.

The term came into use once coding agents could work through a multi-step task on their own. Teams found that the output was only as good as the instructions the agent started from, and that a long chat was a poor place to keep instructions. Writing them down as a structured document was the obvious fix.

Owners will hear three tools named. GitHub Spec Kit is an open-source toolkit that works with a coding agent you already use; it adds a “constitution” of principles the agent must always follow, and runs the work through three steps: specify, plan, tasks. Kiro, from AWS, is an IDE built around three stages: requirements, design, tasks. Tessl takes the spec-as-source position, treating the spec as the long-lived artifact and the code as something produced from it. All three share one shape: a document a person can read and approve sits upstream of the code. You do not need any of them to start. A folder of Markdown files and an agent that reads them will get you most of the way.

Why agencies are already set up for it

Product companies are discovering that they have to write specs again. Many stopped years ago. Requirements lived in a ticket, a chat thread and the head of the engineer who had been there longest. Spec driven development makes them relearn a skill they let lapse.

Agencies never had that option. A client will not pay for something nobody has described, and we all learned the hard way that whatever we failed to write down became free work. Every agency that has lasted ten years has a scope of work template, a habit of listing exclusions, a change request process, and a project manager who can turn a vague brief into numbered requirements. That is the spec skill. It is exactly what a coding agent needs from the person instructing it.

What I have seen in my own shop is that an agent punishes the same weaknesses a junior developer did, only faster. A requirement that says “users can manage their account” produces something. It is rarely what the client meant. A requirement that says which fields can be edited, what happens to the old email address, and which error appears when the new one is already taken produces the right thing on the first or second attempt. The discipline that kept scope creep under control is the same discipline that keeps agent output usable.

The DORA research team made the general point in its 2025 report: AI amplifies what’s already there (DORA, September 2025). Of the nearly 5,000 technology professionals it surveyed, 90% were using AI in their work. The report found that AI adoption now has a positive relationship with delivery throughput and still a negative one with delivery stability. Without strong automated testing, mature version control and fast feedback loops, more change volume leads to more instability. An agency with sloppy scoping will get sloppy software faster. An agency with good scoping gets more out of the same agent.

The practical change is where the senior hours go. In a traditional project the spec was a pre-sales document and most of the paid time went into building. With agents doing much of the building, the spec becomes the main thing the senior people on the project produce. The agent builds from it, the tests check against it, and the client signs it off. The documents this rests on are collected on the scope hub. If you are bringing agents into a whole team, start with how to adopt AI in a dev agency and put an AI usage policy for dev teams in place before the first client project.

What changes in the SOW

The statement of work template already has the right sections: deliverables, exclusions, acceptance, change control. Three of them need rewriting for work an agent builds.

Acceptance criteria an agent and a client can both check. “The checkout works” is something a client can dispute and an agent cannot test. Write each criterion as a starting state, an action and a result anyone can observe. The agent can generate a test from that, and the client can click through it on staging.

4.2 Acceptance criteria. Each feature in Schedule A is specified as numbered acceptance criteria. Each criterion states a starting condition, an action and an observable result, and can be verified by running the software or an automated test. A Deliverable is accepted when every criterion listed for it passes in the staging environment. Behavior not described by a listed criterion is outside this SOW and is handled under the change request procedure in Section 7.

Test coverage as a contract term. The DORA finding on stability is the reason. More code arriving faster means more breakage unless the tests keep pace, and a client buying agent-built software should be able to see that they did. I tie the tests to the acceptance criteria. A line-coverage percentage is easy to hit with tests that check very little.

5.1 Automated tests. The Agency will provide at least one automated test for each acceptance criterion in Schedule A. The tests run in the project’s continuous integration pipeline and are delivered with the source code. A milestone is complete when the full test suite passes on the main branch. The Client may run the suite at any time during the project and after handover.

Who owns the spec. The spec is now a valuable document, so say who owns it. The client should get the spec for their system. It describes what they paid for, and they will need it to maintain the software with any agency or any agent. The agency should keep its method: the spec templates, the agent instruction files (AGENTS.md is the open format most coding agents read), the prompts and the checklists. That is background IP, and it improves with every project.

9.3 Specification. The project specification, meaning the requirements, design and task documents written for the Deliverables, forms part of the Deliverables, and the Client receives the same rights in it. The specification templates, agent instruction files, prompts, checklists and methods the Agency used to produce it are Agency Background IP. The Agency keeps all rights in its Background IP and grants the Client a perpetual, non-exclusive, royalty-free license to use it as incorporated in the Deliverables.

Clients rarely argue with this split. They get a complete written description of their own system, which most of them have never had. The background IP carve-out works the same way it does for code, and the wording is in the IP clause in a software development agreement.

Change control gets simpler too. A change request becomes an edit to the spec, with the affected criteria and tests listed beside it. The client sees exactly what moved and what it costs.

What changes in pricing

If an agent builds in a day what took a developer a week, hourly billing pays you for the day. A worked example: a feature once quoted at 80 hours at $150 an hour came to $12,000. If the spec now takes 20 hours and the agent-assisted build and review take 30, the same feature billed by the hour is 50 hours at $150, which is $7,500. The client gets the same feature for $4,500 less, and you send a smaller invoice for better work. The senior judgment went into the spec, so price the outcome the spec describes and quote fixed fees against signed acceptance criteria. The full argument, including what happens once clients learn how fast the work has become, is in pricing when AI makes you faster.

What it does to your old code

Spec driven development has a side effect on the archive. If a good spec and an agent can rebuild an internal tool in two weeks, the internal tool your team wrote eight years ago is worth less as something to resell or relaunch. The same goes for the shelved product and the half-finished framework. Their rebuild value falls as the cost of rebuilding falls. I have watched it happen to my own back catalogue.

Their value as training material holds. Code written by people before agents existed, with a real commit history, is the kind the models cannot produce more of, and AI labs need it for training and evaluation. Specs make new code cheap. They do nothing to make old human-written code more plentiful. That argument is laid out in what your old code is worth, and the first step is checking which repositories you actually own.

If agents and a good spec have made your shelved products cheap to reproduce, find out what the original code is worth under a non-exclusive license. See what your repositories are worth.

The wider question, whether an agency survives cheaper code at all, is in is software engineering dead. My answer is that the agencies that could always write a clear spec are in a better position than they have been for years. The skill clients paid for in the scoping meeting is now the skill that runs the build.

Common questions

What is spec driven development?
Spec driven development is a way of building software with AI coding agents in which a written specification of requirements, design and acceptance criteria comes first. The agent plans and writes the code from that spec, and the output is checked against it. When something is wrong, you correct the spec and regenerate the affected work.
Is spec driven development the same as vibe coding?
No. Vibe coding is prompting an agent in conversation and keeping whatever seems to work, with nothing written down except the chat. Spec driven development writes the requirements and acceptance criteria first and checks the code against them. Vibe coding suits a throwaway prototype. Software a client pays for and has to maintain needs the spec.
What tools are used for spec driven development?
There are three broad kinds: open-source toolkits that add specify, plan and task steps to a coding agent you already use, editors built around requirements, design and task stages, and platforms that treat the spec as the source the code is regenerated from. You can start without any of them. A folder of Markdown spec files in the repository and a coding agent that reads them covers most of the method.
Who owns the spec in spec driven development?
Whoever the contract says owns it, so put it in the statement of work. A sensible split gives the client the specification for their own system with the same rights as the code, and keeps the agency's spec templates, agent instruction files, prompts and checklists as background IP licensed to the client. Without a clause, the answer depends on your IP assignment wording and is usually unclear.
How does spec driven development change a statement of work?
Three clauses change. Acceptance criteria are written as a starting state, an action and an observable result, so an agent can test them and a client can check them. Automated tests tied to each criterion become a deliverable. And the SOW states who owns the specification and what the agency keeps as background IP.