# "How to Plan and Build Complex Apps with Free AI BMAD V2"
<!--
ref: @content/youtube/bmad-code/2025-05-06-how-to-plan-and-build-complex-apps-with-free-ai-bm
triggers: [complex app development, vague specifications, multiple competing libraries, inefficient coding processes]
trigger_prompt: When a team struggles with unclear specifications, faces issues with agent collaboration, or needs to streamline the development of complex applications.
version: 4
updated_at: 2026-10-31T20:26:24.098Z
-->

From BMad Code, 2025-05-06: Complex apps fail when AI coding agents drown in vague specs, bloated context, and ambiguous tech choices.

The creator of the BMAD Method ("Breakthrough Method for Agile AI-Driven Development") walks through a community-revised V2 of his multi-agent workflow, demonstrated end-to-end by building a Hacker News daily digest app.

## Core Thesis
Complex apps fail when AI coding agents drown in vague specs, bloated context, and ambiguous tech choices. BMAD V2 fixes this by splitting work across specialized agents (Analyst → PM → Architect → PO → Scrum Master → Developer), running the planning phases in large-context web tools (Gemini Gems, ChatGPT GPTs) to preserve IDE credits, and producing granular, decision-locked artifacts that "dumb developer agents" can execute one small story at a time.

## Key Insights
- **Web-first planning, IDE-only coding**: Move analyst, PM, and architect agents into Gemini 2.5 Pro Gems / ChatGPT GPTs to exploit a 1M-token context window — saving paid IDE credits (Cursor, Windsurf) for the actual implementation.
- **Parity between web and IDE agents**: V2 makes the same agents leaner, interactive, and functionally identical across surfaces.
- **Iterative beats single-shot**: Every agent (PRD, architect, PO, SM) now asks questions section-by-section instead of dumping a monolith — keeping the human in control and catching issues early.
- **Ambiguity is the root of agent death spirals**: Vague tech choices ("use Axios or fetch") cause agents to swap libraries mid-build, leaving multiple competing libraries and broken tests. The architect must pin one library per concern.
- **Granular artifacts replace monolithic docs**: The architect emits separate files for coding standards, data models, env variables, and project structure — what each downstream agent can load in isolation.
- **The PO is alignment-focused, not generative**: It runs a checklist across PRD + epics + architecture, flags inconsistencies and manual setup steps (API keys, accounts, infra). Gemini's context window makes this gate viable.
- **Context isolation per story**: Every story runs in a *fresh* chat window. The SM curates only the relevant slices of context into the story file so the dev agent gets a focused brief.
- **Granular stories enable cheap rollback**: When an agent derails, revert to last commit, refine the story to remove ambiguity, retry — usually faster than debugging.
- **Scaffold manually**: Start from Next.js / Nest.js templates rather than burning agent credits on lint/config boilerplate.

## Actionable Takeaways
1. Clone the BMAD repo's `current-V2` folder and load the `gems/` and `GPTs/` agent definitions into Gemini Gems or ChatGPT Custom GPTs (prefix names with a number — Gemini only shows the first character).
2. Upload required templates (e.g., architecture template + checklist) and confirm files turn **blue** (valid).
3. Run the workflow in order: Analyst (brainstorm → product brief) → PM (PRD + epics + stories, section-by-section) → Architect (granular artifacts, with explicit library picks) → PO (checklist gate) → SM (one story at a time in IDE) → Dev agent.
4. Save every artifact (brief, PRD, epics, architecture files) into the project's `docs/` folder for traceability.
5. Tell the AI both **current constraints** (local-only, simple) AND **future intentions** (deployment, local LLM via Ollama) so architectural decisions accommodate both.
6. Skip "yolo mode" — use granular interactive mode to catch issues and learn the artifacts.
7. Run the PO checklist before leaving the web — "if nothing else, do this one." Attach every artifact, or you'll get false-positive deficiency reports.
8. Always start a fresh chat window per story for both SM and dev agents.
9. Insist on strong **unit test coverage**; before each commit, verify current-story tests pass *and* all prior stories' tests still pass.
10. Commit and push to remote at the end of every story — that's your rollback safety net.

## Notable Quotes
> "The breakthrough method for agile AI-driven development."

> "One person even told me they saved over $1,000 in credits since switching over to my method."

> "Test, failure, death spiral... they try changing the code, they try fixing the code, things start breaking. All of a sudden, you have two libraries in your project. You don't even realize it. And then just everything is off the rails."

> "All the PO does is run a checklist."

> "LLMs even with the most powerful models are still not that smart. They will still make mistakes without the proper context."

> "Never finish a story and then start a new story in the same chat window."

> "Those tests will save your ass time and again."

> "So many times I've seen it's better to throw that all out and go back to the beginning. These stories are meant to be granular incremental deliveries."

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*