# "BMAD V3 Orchestrating Agent Is Live – Setup, and Fullstack Coding Demo"
<!--
ref: @content/youtube/bmad-code/2025-05-24-bmad-v3-orchestrating-agent-is-live-setup-and-full
triggers: [struggling with AI coding agents, need for structured development, context loss during coding, inefficient resource management]
trigger_prompt: When developers face challenges with AI coding agents losing context or failing to deliver structured results, they should consider using BMAD V3 for a more organized approach.
version: 4
updated_at: 2026-10-31T19:15:54.539Z
-->
From BMad Code, 2025-05-24: Vibe coding fails because agents drift as projects grow, waste tokens without planning, and offer no recovery path when scope shifts mid-build.
*Synthesized from BMad Code on BMad Code, 2025-05-24.*
Brian ("BMad Code") walks through the V3 release of his BMAD method — an agile-persona-based agent orchestration system for AI-assisted software development — demonstrating a full planning-to-coding flow across Gemini Gems and Cursor.
## Core Thesis
Vibe coding fails because agents drift as projects grow, waste tokens without planning, and offer no recovery path when scope shifts mid-build. BMAD V3 fixes this by splitting agent personas, tasks, checklists, and templates into separately composable files, introducing a single "BMAD agent" that orchestrates specialist agents (analyst, PM, design architect, application architect, PO, scrum master, dev) through a document-driven pipeline that keeps developer agents on-rails via extremely detailed user stories.
## Key Insights
- The core V2→V3 change: personas, tasks, checklists, and templates are now four independent folders. In V2 roles were hardcoded to actions; V3 lets any agent be composed from any combination, so you can define multiple specialized dev agents (e.g., a frontend expert in Next.js, React, TypeScript, HTML, Tailwind vs. a generalist backend dev).
- The BMAD orchestrator agent prompt is **under 8,000 characters**, which is the specific threshold that lets it fit into both Gemini Gems and ChatGPT custom GPTs without truncation. All other content (personas, tasks, templates, checklists, data) is uploaded as separate knowledge files rather than bloating the system prompt.
- Agents run **section-by-section elicitation** with 8 options per section; the first 7 force self-reflection: critical self-reflection on user goal alignment, generation of 2–3 alternative design solutions the agent must defend or swap in, user journey / integration stress testing, and deep dive into hidden design assumptions.
- The tech stack doc must pin **exact versions** (e.g., "use Axios" — not "Axios or fetch"). Without this, agents hit a failing unit test and silently install a second HTTP library rather than fix the test. V3 architecture templates enforce single-choice specificity.
- The IDE flow uses two tuned agents — `sm-ide` (scrum master) and `dev-ide` (developer) — in a strict loop: **new chat window per action**, SM drafts one story, DEV implements it, repeat. SM reads the docs folder, finds the last completed story, reads sharded architecture docs, and produces a story with tasks/subtasks so detailed the dev agent needs no cursor rules.
- The sharding task breaks a monolithic PRD into per-epic files and splits the architecture into: API reference, component view, data models, project structure, and tech stack — these shards (especially data models and project structure) are what keep agents from putting files in random places.
- V3 adds a **course correction agent/task** for mid-MVP pivots (e.g., swapping databases). It decides whether to roll back, discard stories, or pivot in place, and updates all downstream artifacts and remaining stories accordingly.
- Stories include placeholder sections the dev agent fills in: progress notes, completion notes for the next scrum master, a change log, and which agent was used — creating a per-story audit trail and letting the SM learn from prior deviations when drafting the next story.
- The design architect can one-shot a v0/Lovable/Replit prompt that bakes in the full PRD, MVP scope, UX/UI spec, and architecture — the demo produced a working Next.js app matching an "80s retro CRT terminal, green glowing text" aesthetic, downloaded, `npm install`, `npm run dev`, running locally with API routes pre-wired.
## Actionable Takeaways
1. **Install the web orchestrator:** Clone the BMAD method repo. In `web-build-sample/` there are 7 files. Copy the agent-prompt text (<8k chars) into a new Gemini Gem (use Gemini 2.5 Pro for the context window) as instructions; upload every other file as knowledge. Name it "BMAD." Start with `/help` or `list agents`.
2. **Run the planning flow in a single chat thread:** Analyst (brainstorm → project brief, optional deep research) → PM (PRD with epics/stories) → Design Architect (UX/UI spec, optional v0/Lovable prompt) → Application Architect (source tree, tech stack with pinned versions) → PO (runs master checklist across all artifacts). Avoid YOLO mode unless demoing.
3. **Install the IDE orchestrator in Cursor/Windsurf/Roo/Cline/Copilot:** Copy `ide-bmad-orchestrator.md` into a new custom agent mode under Advanced Options. Copy the `bmad-agent/` folder (checklists, data, personas, tasks, templates) into your project.
4. **Shard before coding:** Run the document sharding task on the PRD (produces per-epic files) and on the architecture (produces API reference, component view, data models, project structure, tech stack).
5. **Dev loop — one new chat window per action:** Select `sm-ide` → "draft the next story" → accept the generated story file, mark in-progress → new window, select `dev-ide` → "implement this story" → mark done → repeat. Do NOT draft all stories upfront; the SM uses the previous story's dev notes to improve the next draft.
6. **Skip cursor rules initially.** Only add a rule when the same mistake appears in a story's "issues encountered" section — paste that section into an agent window and ask it to generate a targeted rule.
7. **Customize agents via the config file:** Edit `agent-config` to add/remove agents, bind specific tasks/templates/checklists to each, and add a persona customization prompt (e.g., "specialize in Next.js, React, TypeScript, HTML, Tailwind") to produce specialist dev agents side-by-side with a generalist.
8. **For brownfield or scope changes:** Invoke the course correction task through the BMAD agent before continuing — it will pivot artifacts and rewrite remaining stories rather than letting you push forward on stale plans.
## Notable Quotes
> "If you fail to plan, you are planning to fail. And that is what the BMAD method is about." — BMad Code
> "You should not see any multiple-choice maybe use this maybe use that." — BMad Code (on architecture tech-stack specificity)
> "I always start a new context window after each action. Scrum master creates a story, start a new window for the dev agent." — BMad Code
> "The BMAD agent coordinates as your method coach and organizes your whole entire AI agile team." — BMad Code
---
*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).*