BMAD-METHOD/README.md

16 KiB

BMad-Method: Universal AI Agent Framework

🧪 ENHANCED VERSION: Quality Framework + Collaborative Workspace System

This repository now contains the complete BMAD Method 4.0 with integrated quality framework enhancements including automatic remediation execution, enhanced reality auditing, zero-touch workflow automation, and collaborative workspace features. These enhancements have been successfully tested and integrated into the main BMAD Method repository.

Version License: MIT Node.js Version Discord

Foundations in Agentic Agile Driven Development, known as the Breakthrough Method of Agile AI-Driven Development, yet so much more. Transform any domain with specialized AI expertise: software development, entertainment, creative writing, business strategy to personal wellness just to name a few.

🚀 Latest Enhancements

This version includes comprehensive quality framework enhancements and collaborative workspace system features:

  • 🤖 Automatic Remediation Execution - Zero-touch issue resolution without manual commands
  • 📊 Automatic Options Presentation - Eliminate "what's next?" confusion with grade-based recommendations
  • 🔍 Enhanced Reality Enforcement - 10-phase comprehensive quality auditing with scope management
  • 🛡️ Regression Prevention - Story context analysis and pattern compliance checking
  • 🪙 78-86% Token Reduction - Smart resource management with intelligent task routing and caching
  • 📋 Story-to-Code Audit - Automatic cross-reference between completed stories and actual implementation
  • 🔧 IDE Environment Detection - Auto-adapt to 8+ IDEs including Cursor, Claude Code, Windsurf, and more
  • 🎛️ Role-Optimized LLM Settings - Custom temperature and parameters per agent for maximum performance
  • 🤝 Collaborative Workspace System - Multi-session AI coordination with auto-escalation to external LLMs
  • 📦 Universal Installer Integration - Automated workspace deployment with IDE-specific configuration

📄 View Complete Enhancement Details

Subscribe to BMadCode on YouTube

Join our Discord Community - A growing community for AI enthusiasts! Get help, share ideas, explore AI agents & frameworks, collaborate on tech projects, enjoy hobbies, and help each other succeed. Whether you're stuck on BMad, building your own agents, or just want to chat about the latest in AI - we're here for you! Some mobile and VPN may have issue joining the discord, this is a discord issue - if the invite does not work, try from your own internet or another network, or non-VPN.

If you find this project helpful or useful, please give it a star in the upper right hand corner! It helps others discover BMad-Method and you will be notified of updates!

Overview

BMad Method's Three Key Innovations:

1. Agentic Planning: Dedicated agents (Analyst, PM, Architect) collaborate with you to create detailed, consistent PRDs and Architecture documents. Through advanced prompt engineering and human-in-the-loop refinement, these planning agents produce comprehensive specifications that go far beyond generic AI task generation.

2. Context-Engineered Development: The Scrum Master agent then transforms these detailed plans into hyper-detailed development stories that contain everything the Dev agent needs - full context, implementation details, and architectural guidance embedded directly in story files.

3. Collaborative Quality Assurance: Built-in workspace system enables cross-agent coordination, automatic escalation to external LLMs when stuck, and comprehensive quality validation to prevent technical debt from ambiguous requirements.

This three-phase approach eliminates planning inconsistency, context loss, and implementation ambiguity - the biggest problems in AI-assisted development. Your Dev agent opens a story file with complete understanding of what to build, how to build it, and why, plus automatic collaboration when requirements need clarification.

📖 See the complete workflow in the User Guide - Planning phase, development cycle, and all agent roles

Quick Navigation

Understanding the BMad Workflow

Before diving in, review these critical workflow diagrams that explain how BMad works:

  1. Planning Workflow (Web UI) - How to create PRD and Architecture documents
  2. Core Development Cycle (IDE) - How SM, Dev, and QA agents collaborate through story files

⚠️ These diagrams explain 90% of BMad Method Agentic Agile flow confusion - Understanding the PRD+Architecture creation and the SM/Dev/QA workflow and how agents pass notes through story files is essential - and also explains why this is NOT taskmaster or just a simple task runner!

What would you like to do?

Important: Keep Your BMad Installation Updated

Stay up-to-date effortlessly! If you already have BMad-Method installed in your project, simply run:

npx bmad-method install
# OR
git pull
npm run install:bmad

This will:

  • Automatically detect your existing v4 installation
  • Update only the files that have changed and add new files
  • Create .bak backup files for any custom modifications you've made
  • Preserve your project-specific configurations
  • Install new workspace utilities and collaboration features

This makes it easy to benefit from the latest improvements, bug fixes, quality enhancements, and collaborative features without losing your customizations!

Quick Start

One Command for Everything (IDE Installation)

Just run one of these commands:

npx bmad-method install
# OR if you already have BMad installed:
git pull
npm run install:bmad

This single command handles:

  • New installations - Sets up BMad in your project with quality enhancements
  • Upgrades - Updates existing installations automatically
  • Expansion packs - Installs any expansion packs you've added to package.json
  • Workspace setup - Configures collaborative workspace features

That's it! Whether you're installing for the first time, upgrading, or adding expansion packs - these commands do everything.

Prerequisites: Node.js v20+ required

Fastest Start: Web UI Full Stack Team at your disposal (2 minutes)

  1. Get the bundle: Save or clone the full stack team file or choose another team
  2. Create AI agent: Create a new Gemini Gem or CustomGPT
  3. Upload & configure: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
  4. Start Ideating and Planning: Start chatting! Type *help to see available commands or pick an agent like *analyst to start right in on creating a brief.
  5. CRITICAL: Talk to BMad Orchestrator in the web at ANY TIME (#bmad-orchestrator command) and ask it questions about how this all works!
  6. When to move to the IDE: Once you have your PRD, Architecture, optional UX and Briefs - its time to switch over to the IDE to shard your docs, and start implementing the actual code! See the User guide for more details

Alternative: Clone and Build

git clone https://github.com/bmadcode/bmad-method.git
npm run install:bmad # build and install all to a destination folder

🌟 Beyond Software Development - Expansion Packs

BMad's natural language framework works in ANY domain. Expansion packs provide specialized AI agents for creative writing, business strategy, health & wellness, education, and more. Also expansion packs can expand the core BMad-Method with specific functionality that is not generic for all cases. See the Expansion Packs Guide and learn to create your own!

🧪 Collaborative Workspace Features

Cross-IDE Workspace Utilities

The enhanced BMad Method now includes comprehensive workspace utilities that work across all major IDEs:

# Initialize workspace for collaborative development
npm run workspace-init

# Check workspace health and status
npm run workspace-status

# Manage agent handoffs and context sharing
npm run workspace-handoff

# Sync workspace state across sessions
npm run workspace-sync

# Monitor workspace health
npm run workspace-health

Supported IDEs: Cursor, Claude Code, Windsurf, Trae, Roo, Cline, Gemini, GitHub Copilot, VS Code, JetBrains

Automatic Escalation System

When agents encounter ambiguity that could lead to technical debt, the workspace system automatically:

  1. Detects ambiguity - Pattern recognition identifies unclear requirements
  2. Initiates collaboration - Automatically escalates to appropriate specialists (UX designer, analyst, PM, architect)
  3. External LLM coordination - Creates prompts for external LLMs like Gemini for additional guidance
  4. Maintains context - Preserves all collaboration context for seamless handoffs

Quality Framework Enhancements

  • 10-phase comprehensive auditing with A-F scoring system
  • Automatic remediation execution without manual intervention
  • Story-to-code audit ensuring implementation matches requirements
  • Regression prevention through pattern compliance checking
  • 78-86% token reduction through intelligent resource management

Available Personas & Capabilities

Core Business Personas:

  • Business Analyst (BA) - Requirements analysis, stakeholder management, process optimization
  • Product Manager (PM) - Product strategy, roadmap planning, feature prioritization
  • Product Owner (PO) - Backlog management, user story creation, acceptance criteria

Technical Personas:

  • System Architect - Technical architecture, system design, technology decisions
  • Developer - Code implementation, technical solutions, development best practices
  • Design Architect - Design systems, visual architecture, design standards

Specialized Personas:

  • v0 UX/UI Architect (Veronica/Victor) - AI-powered design-to-code workflows
  • Scrum Master - Agile facilitation, process improvement, team coaching

Process Personas:

  • DevOps/Platform Engineer - Infrastructure, deployment, operational excellence
  • Quality Assurance - Testing strategies, quality frameworks, validation processes

Enhanced Specialized Personas:

Documentation & Communication Specialists:

  • Technical Documentation Architect - Eliminates "all hands on deck" debugging scenarios through systematic documentation
  • DevOps Documentation Specialist - Streamlines infrastructure and deployment documentation

Polyglot Technology Specialists:

  • Cross-Platform Integration Specialist - React + Node.js + ASP.NET + Python integration mastery
  • Polyglot Code Review Specialist - Multi-language code review expertise
  • Performance Optimization Specialist - Cross-stack debugging and performance optimization
  • Security Integration Specialist - Security practices across multiple technology stacks

Strategic Technology Architects:

  • Advanced Troubleshooting Specialist - Cross-stack troubleshooting and root cause analysis
  • Enterprise Architecture Consultant - Enterprise-scale architecture and governance

All personas now include:

  • Automatic Context Recognition - Frameworks for detecting important decisions and insights
  • Cross-Session Continuity Patterns - Methodologies for context restoration across AI sessions
  • Context Handoff Procedures - Structured context sharing between personas
  • Quality Context Standards - Consistent context quality across all personas
  • Performance Optimization Patterns - Intelligent context organization and retrieval

Documentation & Resources

Essential Guides

Complete Documentation Ecosystem

BMAD Method includes the most comprehensive AI-driven development documentation available, with complete persona packages, integration guides, and quality frameworks.

Complete Persona Documentation Packages

Each persona has a complete documentation package including comprehensive guides, templates, quality standards, workflows, and success metrics:

Integration & Architecture Documentation

Memory Management System

Support

Contributing

We're excited about contributions and welcome your ideas, improvements, and expansion packs! 🎉

📋 Read CONTRIBUTING.md - Complete guide to contributing, including guidelines, process, and requirements

License

MIT License - see LICENSE for details.

Contributors

Built with ❤️ for the AI-assisted development community