The BMad Code Method
Major Update: V2 (beta) Release
The BMad Method has undergone a significant transformation with our V2 (beta) release! The previous implementation (still available in the LEGACY-V1 folder) has been replaced by a drastically improved workflow and agent system in the CURRENT-V2 folder.
What's New in V2?
- Optimized Agent Prompts: Completely revised agent prompts for better outputs
- Standardized Templates: Comprehensive set of templates for consistent document creation
- Streamlined Workflow: Clearer process from idea to deployment
- Improved Agile Integration: Better support for agile methodologies
No Rules Required!
One of the biggest advantages of the BMad Method is that it doesn't require custom rules when using the custom agents. The dev agents and other personas are configured to automatically reference standards documents when coding. This provides two major benefits:
- No Platform Lock-in: Work across any AI system without being tied to proprietary rule formats
- Maximum Flexibility: Still compatible with rules-based systems like Claude or Cursor if you prefer that approach
This flexibility allows you to choose the implementation that works best for your workflow while maintaining consistent quality across your project.
What is the BMad Method?
The BMad Method is a revolutionary approach that elevates "vibe coding" to the next level—what I call "Vibe CEOing." Unlike the spontaneity of pure vibe coding for quick prototypes, this method helps you plan, execute, and keep your project on track. Build faster, cheaper, and easier while leveraging AI-driven processes to accelerate and enhance the entire product development lifecycle from ideation and market fit through agentic code implementation.
This V2 release incorporates valuable feedback from V1 users and draws inspiration from projects like Claude's memory bank and the Taskmaster project. However, the BMad Method goes further by providing a comprehensive framework for those who want to thoroughly define and develop projects from conception to completion.
This comprehensive, step-by-step approach transforms a product idea into a fully implemented application by:
- Structuring the development process into distinct AI persona-based phases
- Generating detailed artifacts at each phase
- Using a sequential workflow to track progress
- Enabling AI to code the full application based on generated specifications
The method is tool agnostic with a workflow built into the role-prompts, making it adaptable to any agentic coding toolset, IDE, or platform.
Join the Community Discussion Forum to help contribute and evolve these ideas.
Video Tutorials
- The legacy workflow is explained in Part 1 and 2 on the BMad Code YouTube channel
- A new tutorial for the V2 workflow will be coming soon - with a full end to end project build!
Coming Soon(ish)
- A fully output of a simple and advanced project artifact files of executing the agents to build all the artifacts for a project build with prompt examples that lead to the output from the agents.
- Exploration into leveraging MCP.
Workflow Visual Diagram
Step-by-Step Process
Phase 0: Ideation (Optional)
- Start with the Business Analyst (BA) agent if your idea is vague
- The BA will help analyze market conditions and competitors
- Output is a Project Brief used as input for the Product Manager
Phase 1: Product Definition
- The Product Manager (PM) agent takes the project brief or your idea
- PM creates a comprehensive Product Requirements Document (PRD)
- Initial epic breakdowns are drafted
Phase 2: Technical Design
- The Architect agent reviews the PRD and creates an architecture document
- Architect identifies technical dependencies and reference files
- Optional: Use Deep Research mode for more in-depth technical exploration
Phase 3: Refinement and Validation
- PM, Architect, and Scrum Master collaborate to refine the plan
- Product Owner (PO) validates scope, story sequence, and PRD alignment
- Final documents are approved and indexed
Phase 4: Story Generation
- Technical Scrum Master generates stories using the story template
- Each story has clear acceptance criteria and technical details
Phase 5: Development
- The Developer Agent works on stories one at a time
- Developer creates draft stories for review before implementation
- Code and tests are committed, and story files are updated
Phase 6: Review and Acceptance
- Code reviews by Tech SM/Architect
- Functionality reviews by User/QA
- Story marked as Done when approved
Phase 7: Deployment
- Developer Agent handles deployments
- Infrastructure as Code is used for deployment commands
- System is updated with the new functionality
Template Dependencies
Important: The agents in this system rely on template files located in the CURRENT-V2/docs/templates folder. These templates should remain named as they are for proper functionality, including:
architecture.mdstory-template.mdprd.mdproject-brief.md- And more specific templates for various document types
Using Agents with Web-Based AI Interfaces (Highly recommended, save lots of money, larger context windows, deep research is a game changer)
If you plan to use the agents in web interfaces like Gemini Web or OpenAI Web, we recommend:
-
For Analyst, Architect, PM/PO, and SM agents:
- Either paste the templates into your web session
- Or modify the agent prompt to include the template as an addendum
- Change file paths references to point to the document itself rather than external files
-
Implementation approaches:
- Recommended: Add the template content directly into the prompt as an addendum
- Reference the template in the document rather than as an external file
Getting Started
- Clone this repository
- Set up your AI assistant custom agents in your IDE OR (recommended) some of them in Gemini
- Start with the BA or PM agent depending on how well-defined your idea is
- Follow the workflow phases sequentially until you have your epics all lined up and you (and the PO) are happy with the proposed epic sequence.
IDE Integration
The method works with any IDE or AI assistant with these approaches:
- Custom Modes: For IDEs that support custom modes (Cursor, RooCode)
- Custom Gems: For Gemini, create a Custom Gem for each agent
- Direct Prompting: For any AI assistant, use the agent prompts directly
License
Contributing
Interested in improving the BMad Method? See our contributing guidelines.