VOOZH about

URL: https://thenewstack.io/spec-driven-development-the-key-to-scalable-ai-agents/

⇱ Spec-Driven Development: The Key to Scalable AI Agents - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-09-18 11:00:09
Spec-Driven Development: The Key to Scalable AI Agents
sponsor-aviator,sponsored-post-contributed,
CI/CD / Large Language Models

Spec-Driven Development: The Key to Scalable AI Agents

Spec-driven development is not a choice but a necessity as we move from vibe coding a cool app to building real-world brownfield projects.
Sep 18th, 2025 11:00am by Ankit Jain
👁 Featued image for: Spec-Driven Development: The Key to Scalable AI Agents
Image by Vilius Kukanauskas from Pixabay.
Aviator sponsored this post.

“The person who communicates the best will be the most valuable programmer in the future. The new scarce skill is writing specifications that fully capture your intent and values,” Sean Grove from OpenAI said recently at the AI Engineer conference.

Specifications, not prompts or code, Grove says, are becoming the fundamental unit of programming, and writing specs is the new superpower.

As AI makes it easier than ever to generate code, two things have become clear. The first is that generating more code with AI does not remove complexity from software engineering; it just abstracts it away to debugging, testing and deployment pipelines. And that writing code was never the bottleneck.

Writing Code Isn’t the Bottleneck

The bottleneck is knowing what to build, gathering requirements, knowing why to build it, and, ultimately, knowing if it has been built correctly and achieved its intentions. Engineering organizations are going to feel that squeeze the more advanced the AI models get, Grove points out.

Design alignment across teams, resolving conflicting requirements, eliminating tech debt, bringing rigor to code reviews and preserving institutional knowledge when senior engineers leave are listed as the fundamental challenges that make building software difficult in Amazon’s announcement for its AI IDE and the concept of spec-driven development.

The main thing that determines whether an agent succeeds or fails is the quality of the context it’s given. And, if we want agents to succeed not only at vibe coding cool apps from scratch, but in messy, brownfield enterprise codebases, giving agents the right context — or context engineering — is the missing piece to make it happen.

But getting context is hard. Even as large language models’ (LLMs’) context windows are increasing, we already know that providing larger context to LLMs actually drops the quality. The secret is the quality of the provided context.

Specs are “refined context” that provides just enough information to the LLMs to be effective without being overwhelmed.

What Is Spec-Driven Development?

Spec-driven development is the practice of writing specifications before writing code — or asking an AI tool to write code. Instead of just trying your luck with prompts, no matter how carefully crafted, and then prompting for fixes, spec-driven development starts with clear and structured documents that capture requirements, intentions and constraints.

In the AI coding era, a specification acts as a guide for AI agents, something they can reference, validate their work against and use to stay oriented. It’s a North Star that enables agents to take on larger, more complex tasks without losing track of intent.

Spec-driven development replaces the chaos of ad hoc, prompt-driven vibe coding with a structured, durable way for programmers to express their goals. It allows developers to be more specific about particular details, and for the agent to communicate its plan ahead of time.

A specification becomes a kind of version-controlled, human-readable super prompt.

How Does Spec-Driven Development Work?

If you simply prompted AI to “implement user permissions,” it might create a standard role-based access control (RBAC) system with admin and user roles. On the surface, the code might look polished and production-ready. But it won’t stop to ask if you need fine-grained permissions, temporary access windows or hooks into an existing identity provider. The generated code looks professional and complete, masking the fact that it solves the wrong problem.

Spec-driven development requires engineers to slow down, think clearly about what they’re building and communicate in a clear and structured way about:

  • Specific input/output formats and data types.
  • Explicit business rules and edge cases.
  • Integration constraints and existing system dependencies.
  • Performance requirements and expected scale.
  • Error handling and validation rules.
  • Security and compliance requirements.

From there, the agents create a task list of things to do to build the code according to the specifications. Engineers can still interact with agents via prompts and steer them.

From Developer-Agent Collaboration to Multiplayer Coding

Building software with AI agents isn’t a solo sport, especially in larger engineering organizations. Modern projects often span multiple repositories, microservices, prompts and specs. Imagine adding a “Share” button to your specs to share expertise across your team and delegate execution.

That’s where Runbooks come in. A concept we’ve been developing is to turn AI-assisted coding from a single-player activity into a multiplayer one. Runbooks give teams a shared space to collaborate on prompts, align on execution workflows and maintain a clear audit trail of decisions.

Think of Runbooks as the missing link between product specifications and code. A runbook isn’t just documentation, it’s a living knowledge base that others can pick up, extend and adapt. You can build on top of someone else’s Runbook, transfer context across repositories or code paths, draft your own specs and get feedback, or bring stakeholders and coding agents together in a single, structured session.

Try Runbooks and turn AI coding from individual experiments into team-wide engineering projects.

Aviator is a developer productivity platform used by modern engineering teams to ship AI-generated code at scale. Shared context, faster reviews, deterministic verification, and merge-to-deploy automation built for the volume AI creates.
Learn More
The latest from Aviator
Hear more from our sponsor
TRENDING STORIES
Ankit Jain is a cofounder and CEO of Aviator, a developer productivity platform used by modern engineering teams to ship AI-generated code at scale. He also leads The Hangar, a community of senior DevOps and senior software engineers focused on...
Read more from Ankit Jain
Aviator sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: OpenAI.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.