DEV Community

Cover image for The Future Is Going to B(e) MAD
Yahya Bin Naveed
Yahya Bin Naveed

Posted on • Originally published at linkedin.com

The Future Is Going to B(e) MAD

The Dirty Secret Nobody Talks About

Everyone is excited about AI writing code. Cursor, Bolt, Replit Agent, Copilot. Describe what you want, get working code. Ship in hours, not months.

Nobody talks about the mess it creates.

AI hallucinates. Not just in chatbots, but in your codebase. It invents function signatures that don't exist. It fabricates requirements you never asked for. It writes authentication logic in one file that contradicts the auth logic three files over. It makes confident assumptions about your database schema that are quietly, completely wrong.

A December 2025 analysis of 470 open-source GitHub pull requests found that AI co-authored code contained 1.7x more major issues and 2.74x higher security vulnerability rates compared to human-written code. 95% of developers spend extra time correcting AI-generated output. The bigger the project, the worse it gets, because AI has no memory of what it decided three files ago, no understanding of why your architecture looks the way it does, and no spec to keep it honest.

This is the vibe coding problem. You vibe with the AI. It vibes back. And the code it produces vibes too, right until it hits production and everything falls apart.

There is a better way. It is called spec-driven development. And the most powerful implementation of it is an open-source framework called BMAD.


The SDLC Never Died. It Evolved.

If you have been in the industry long enough, BMAD's four phases will look familiar:

Phase 1: Analysis        Brainstorm, research, validate the idea
Phase 2: Planning        Create the PRD, your source of truth
Phase 3: Solutioning     Design architecture, break into epics and stories
Phase 4: Implementation  Build, review, iterate, story by story
Enter fullscreen mode Exit fullscreen mode

Requirements. Architecture. Stories. Implementation. Testing. Review.

That is the SDLC. The same lifecycle that has been shipping reliable software for decades. The phases that every working engineer already knows.

The industry is calling the new era the ADLC (Agentic Development Life Cycle). EPAM, Microsoft, PwC, Cycode, and others have all published frameworks for it in 2026. The shift from SDLC to ADLC is the most discussed transformation in software engineering right now. Gartner projects that enterprise applications using agentic AI will jump from less than 1% in 2024 to 33% by 2028.

But most ADLC discussions focus on replacing developers with agents. They assume the hard part is code generation. They miss the point entirely.

The hard part was never writing code. It was knowing what to write.

BMAD gets this right. It takes the proven SDLC structure (requirements first, then architecture, then implementation) and puts AI agents at every phase, not just the coding phase. The Business Analyst agent that interrogates requirements. The Architect agent that makes and documents technology decisions. The Developer agent that implements stories. The Code Reviewer agent that catches issues.

The SDLC works. It always worked. The problem was that it was slow and expensive because humans had to do everything manually. BMAD makes it fast by putting specialized AI agents at each phase, while preserving the discipline that made the lifecycle reliable in the first place.

Vibe coding threw out the lifecycle entirely and went straight to code generation. That is why vibe-coded projects carry 2.74x more security vulnerabilities. They skipped the phases that catch those problems.

BMAD is not a new invention. It is the SDLC, rebuilt for the age of AI agents.


What If AI Never Had to Guess?

Think about why AI hallucinates when writing code.

It is not because the model is bad. It is because you gave it nothing to work with. You said "build me a task management app" and expected it to read your mind about authentication flows, data models, edge cases, error handling, and the fifteen other decisions that separate a prototype from a product.

Of course it hallucinated. You would too if someone handed you a one-sentence brief and said "build this."

Now imagine the AI has:

  • A product requirements document with numbered functional requirements, success criteria, and measurable outcomes
  • An architecture decision document specifying the tech stack, database schema, API patterns, and cross-cutting concerns
  • An epic and story breakdown where every story references specific FRs, has acceptance criteria, and includes implementation notes grounded in the architecture

In that world, the AI does not hallucinate. It cannot. The specification will not let it. Every line of code traces back to a requirement. Every architectural choice is already documented. Every edge case is already enumerated.

This is what BMAD does.


BMAD: Build More Architect Dreams

BMAD is an open-source, AI-driven development framework with 46,000+ GitHub stars and 5,400+ forks. Created by Brian Madison, it has been validated across 15+ teams with measurable results: 2.7x faster delivery and 75% fewer bugs compared to traditional approaches.

But calling it a "framework" undersells it. BMAD is a complete methodology for building software with AI, from the first spark of an idea to production deployment. It provides:

  • 12+ specialized AI agent personas: a Business Analyst, Product Manager, Architect, UX Designer, Developer, and more, each with distinct expertise, communication styles, and principles
  • 34+ guided workflows spanning the full development lifecycle
  • 4 structured phases that turn a vague idea into production-ready code

The key insight is this: BMAD does not use AI to write code first. It uses AI to think first.

The Full Workflow

BMAD Method Spec-Driven Development Phase 1 & Phase 2

BMAD Method Spec-Driven Development Phase 3 & Phase 4

BMAD Method Spec-Driven Development More Details

Each phase produces documents that feed the next. The brainstorming report feeds into the PRD. The PRD constrains the architecture. The architecture informs the epics and stories. By the time you reach Phase 4 and the AI starts writing code, it has a complete specification chain. There is nothing left to guess about.

Every agent loads the artifacts from previous phases as context. The Developer agent does not start from zero. It starts from a story that was shaped by architecture that was shaped by requirements that were shaped by research. That is what makes BMAD different from throwing a prompt at an AI and hoping for the best.

This is the opposite of vibe coding. This is spec coding.


Brainstorming That Actually Works

Most people brainstorm by opening a chat and typing "I want to build X." The AI says "great idea!" and starts generating code. You just skipped the most important part of building software: understanding what you are actually building and why.

BMAD's brainstorming workflow is different. It does not generate ideas for you. It facilitates your thinking using proven creativity techniques. 62 of them, organized across 10 categories:

Category Example Techniques
Structured SCAMPER Method, Six Thinking Hats, Mind Mapping
Creative Reverse Brainstorming, First Principles Thinking, Analogical Thinking
Deep Five Whys, Assumption Reversal, Question Storming
Collaborative Yes-And Building, Role Playing, Brain Writing
Theatrical Alien Anthropologist, Dream Fusion Lab, Emotion Orchestra
Wild Chaos Engineering, Anti-Solution, Zombie Apocalypse Planning
Biomimetic Nature's Solutions, Ecosystem Thinking, Evolutionary Pressure

This is not a gimmick. Each technique is a structured protocol that forces you to examine your idea from angles you would never reach on your own.

Reverse Brainstorming asks: "How could we make this product fail spectacularly?" In answering that question, you discover every assumption you did not know you were making.

First Principles Thinking strips away all assumptions: "What do we know for certain? If we started from scratch, what would we build?" Suddenly your "obvious" feature list looks very different.

Question Storming generates questions before seeking answers, ensuring you are solving the right problem, not just the first one you thought of.

The workflow targets 100+ ideas before any organization. The facilitator's mindset: "The first 20 ideas are usually obvious. The magic happens in ideas 50-100."

It also has a built-in Anti-Bias Protocol. Every 10 ideas, the facilitator deliberately shifts creative domains, from technical to UX to business viability to edge cases, preventing the AI from clustering around semantically similar ideas.

A Simple Example

Say you want to build a task management app. A typical BMAD brainstorming session does not start coding. It starts pushing your thinking:

"You've identified the core concept, but what if the opposite were true? What if people don't want to manage tasks, they want tasks to manage themselves? What does that look like?"

"Alien Anthropologist technique: imagine you've never seen a todo list. You're observing humans. Why do they write things down? What problem are they actually solving? Memory? Prioritization? Anxiety reduction? Accountability to others?"

"Resource Constraints: you have exactly one screen, one button, and no text input. Build the entire product. What survives? That's your core."

BMAD Method Spec-Driven Development Brainstorming Example 1
BMAD Method Spec-Driven Development Brainstorming Example 2
BMAD Method Spec-Driven Development Brainstorming Example 3
BMAD Method Spec-Driven Development Brainstorming Example 4

By the time you finish brainstorming, you do not have "a task management app." You have a deep understanding of the problem space, ten viable angles you had not considered, and a clear thesis about what makes your approach different.


The BA Agent That Fights You

After brainstorming comes the Product Requirements Document, and this is where BMAD gets serious.

Meet Mary, the Business Analyst agent. Mary channels Michael Porter's strategic rigor and Barbara Minto's Pyramid Principle. Her guiding principles:

  • Every finding grounded in verifiable evidence
  • Requirements stated with absolute precision
  • Every stakeholder voice represented

Mary does not accept vague requirements. She interrogates them.

When you say "the app should be fast," Mary asks: fast for whom? Under what conditions? What is the measurable threshold? What happens when it is slow, graceful degradation or error? She will not write the requirement until the answer is precise enough to test.

When you say "users can create accounts," Mary asks: what identity model? Email, phone, social auth, SSO? What is the verification flow? What happens on duplicate registration? What are the password policies? What about account recovery? She maps the entire surface area of what seems like a simple feature.

The PRD workflow has two modes:

  • Fast path: for experienced users who dump everything upfront. Mary batches remaining gaps into consolidated questions, drafts the full PRD, and tags assumptions with [ASSUMPTION] markers for your review.
  • Coaching path: for users who want to think through the product. Mary walks you through PM-thinking section by section, using open-ended elicitation rather than multiple choice. She pulls your vision out. She does not insert hers.

Before the PRD is finalized, it passes through a Reviewer Gate: parallel subagent reviewers that critique the document against a quality rubric. They surface findings tiered by severity, critical issues first, with medium and low findings summarized. Every finding gets a disposition: autofix, discuss, defer, or ignore.

The result is a PRD with numbered functional requirements, non-functional requirements, success criteria, user journeys, and measurable outcomes. Not a wishlist. An executable specification.


The Anti-Hallucination Chain

This is why all of it matters for code quality.

In BMAD, documents form a chain where each constrains the next:

Brainstorming
    ↓  themes and validated ideas feed into...
PRD (numbered FRs, NFRs, success criteria)
    ↓  requirements constrain...
Architecture (tech stack, patterns, decisions)
    ↓  architecture informs...
Epics & Stories (implementation-ready specs with acceptance criteria)
    ↓  stories guide...
Code (every line traces to a requirement)
Enter fullscreen mode Exit fullscreen mode

When the Developer agent picks up a story in Phase 4, it does not start from "build a login page." It starts from a story that references FR-12 (JWT authentication), links to the architecture decision about token storage, includes acceptance criteria derived from NFR-SEC-3 (session timeout policy), and has implementation notes referencing the specific database schema.

There is nothing left to hallucinate.

The AI is not guessing what authentication should look like. It is implementing a specification. The code it produces is consistent across files because every file references the same architecture document. The database queries are correct because the schema is documented. The edge cases are handled because the PRD enumerated them.

Vibe Coding Spec Coding (BMAD)
Input "Build me a login page" Story referencing FR-12, Architecture section 4.2, NFR-SEC-3
AI behavior Guesses auth flow, invents schema, assumes token strategy Implements documented decisions with no room for invention
Consistency Varies file to file, AI forgets context Uniform, every component references the same spec
Edge cases Missed until production Enumerated in PRD, tested in acceptance criteria
Security 2.74x more vulnerabilities Security requirements are first-class FRs
Rewrite needed? Almost always No, production-grade from day one

The Proof: From Holiday Brainstorm to National Scale

Theory only goes so far. Let me tell you what actually happened.

It was a Friday night. A national holiday, Eid. I sat down with a blank screen and a high-pressure brief: build an enterprise platform that would need to handle thousands of requests per second, integrate with multiple government agencies, and serve millions of users across an entire country.

I was the sole engineer.

I started with BMAD Phase 1, brainstorming. By the end of the night, I had a structured understanding of the problem space, the stakeholder landscape, and the critical constraints.

By Sunday, I had a complete PRD. Not a sketch. A real PRD with dozens of numbered functional requirements, non-functional requirements across performance, security, reliability, and scalability, user journeys for every user type, and measurable success criteria. The BA and PM agents had interrogated every assumption, challenged every vague requirement, and forced precision into every specification.

Monday, the architecture document was done. Technology decisions, database schema, API patterns, cross-cutting concerns, deployment topology. Every decision traced back to a PRD requirement.

By midweek, epics and stories were broken down and validated against both the PRD and architecture. Implementation readiness was checked.

Then I built it. Story by story, each one a self-contained unit of work grounded in the full specification chain. The AI knew exactly what to implement because the specs left nothing to interpretation. No hallucinated requirements. No inconsistent patterns. No invented database columns.

In 2 weeks, the platform was ready to go live. Ready for Thousands of requests per second. Multiple integration points with government systems. Millions of end users.

One engineer. One methodology. From brainstorm to production in days, not months.

Without BMAD, this would not have been possible. Not because I could not write the code, but because no human can hold the full complexity of an enterprise system in their head while simultaneously directing AI agents to build it. The specification chain is what made it work. It was the shared memory between me and every AI session I ran.


How to Start Using BMAD Today

Installation

BMAD requires Node.js v20.12+ and Python 3.10+.

npx bmad-method install
Enter fullscreen mode Exit fullscreen mode

The installer guides you through setup: selecting your Agent Harness (Claude Code, Cursor, or others), configuring modules, and initializing your project structure.

Your First Project

  1. Start with brainstorming. Open a fresh chat and invoke the brainstorming skill. Tell it what you want to build. Let it guide you through techniques. Try AI-Recommended for your first time.
  2. Create a PRD. Invoke the PRD workflow. Feed it your brainstorming output. Choose the Coaching path to learn the process, or Fast path if you already have a clear vision.
  3. Design architecture. Once your PRD is solid, the architecture workflow walks you through technology decisions grounded in your requirements.
  4. Break into epics and stories. The epic/story workflow decomposes your architecture and PRD into implementable stories with acceptance criteria.
  5. Build story by story. Each story is a self-contained implementation unit. The developer agent picks it up, references the full spec chain, and produces code.

Which AI Tool Do I Need?

BMAD is designed for Claude Code (Anthropic's CLI tool) as the primary environment. It supports Claude Code natively with full agent orchestration, skill invocation, and multi-agent workflows.

But you have alternatives:

Tool BMAD Support Notes
Claude Code Full native support Best experience. Agent personas, skill system, multi-session workflows
Cursor Supported via cross-platform config Works with .cursorrules and agent configuration
Codex (OpenAI) Supported Cross-platform agent team feature in BMAD v6.6+
Gemini/Antigravity CLI Supported Might have difficulty accessing skills in the new Antigravity version

The methodology works regardless of tooling. The core value is in the specification chain: brainstorm, PRD, architecture, stories, code. Even if you cannot install BMAD, you can adopt the principle: never let AI write code without a spec.

The Minimum Viable Process

If full BMAD feels like too much for your first project, start with just this:

  1. Write a PRD before writing code, even a simple one with numbered requirements
  2. Document your architecture decisions: tech stack, database schema, API patterns
  3. Break work into stories that reference specific requirements
  4. Give the AI the full context (PRD + architecture + story) before asking it to implement

This alone will eliminate most hallucinations and produce dramatically better code than "build me a thing."


The Anti-Vibe-Coding Manifesto

The vibe coding era created something remarkable. Millions of non-technical people can now build working prototypes. That matters.

But prototypes are not products. And the gap between them is exactly where vibe coding breaks down.

The numbers:

  • 1.7x more major issues in AI-generated code
  • 2.74x higher security vulnerability rates
  • 41% higher code churn (code that gets rewritten within weeks)
  • 45% of AI-generated code contains security vulnerabilities
  • 95% of developers spend extra time correcting AI output

The vibe coding tools market is worth $4.7 billion in 2026, growing at 38% annually. That is a lot of prototypes being built. And every single one that tries to reach production will hit the same wall: the code works until it does not, and fixing it costs more than building it right would have.

Spec-driven development is not a step backwards. It is a step through. You still use AI for everything: brainstorming, requirements, architecture, code. You just do it in the right order, with the right constraints, producing the right artifacts.

The future of software development is not humans writing code. It is not AI writing code either. It is humans thinking clearly about what to build, documenting those decisions precisely, and AI implementing those decisions faithfully.

The SDLC never died. It just needed better agents.

The future is going to B(e) MAD.


BMAD Method is open-source and free. 46,000+ stars. 34+ workflows. 12+ agent personas. Start building right.

Have questions? The BMAD community is active on GitHub. The official documentation covers everything from installation to advanced workflows.

Top comments (0)