Package Exports
- bmad-method
- bmad-method/tools/cli.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bmad-method) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
BMad-METHOD: Universal AI Agent Framework
Foundations in Agentic Agile Driven Development, known as the Breakthrough Method of Agile AI-Driven Development, but it is 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.
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!
⭐ 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!
🧭 Quick Navigation - Find Your Path
🚨 MUST READ: Understanding the BMAD Workflow
Before diving in, review these critical workflow diagrams that explain how BMAD works:
- Planning Workflow (Web UI) - How to create PRD and Architecture documents
- 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?
- Build software with Full Stack Agile AI Team → Quick Start Instruction
- Learn how to use BMAD → Complete user guide and walkthrough
- See available AI agents → Specialized roles for your team
- Explore non-technical uses → Creative writing, business, wellness, education
- Create my own AI agents → Build agents for your domain
- Browse ready-made expansion packs → Game dev, DevOps, infrastructure and get inspired with ideas and examples
- Understand the architecture → Technical deep dive
- Join the community → Get help and share ideas
Popular Use Cases
- Software Development - Quick Start | User Guide | Workflow Guides
- Game Development - 2D Phaser Pack
- Business Strategy - Full Guide
- Creative Writing - Full Guide
- DevOps/Infrastructure - Infrastructure Pack
Quick Links
- Installation → Get started in minutes
- Documentation → All guides and references
- Contributing → Help improve BMAD
- Support → Get help and connect
🔄 Important: Keeping 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
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
This makes it easy to benefit from the latest improvements, bug fixes, and new agents without losing your customizations! If for some reason this fails, you can rename or remove your .bmad-code folder and run the install again. The main thing to look out for is if you have set up custom modes that are not file driven (Cursor is the only one at this time that is not done through project files lagging behind) - you will want to ensure your sm and dev custom modes especially are kept up to date.
🚀 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:
npm run install:bmad
This single command handles:
- New installations - Sets up BMad in your project
- Upgrades - Updates existing installations automatically
- Expansion packs - Installs any expansion packs you've added to package.json
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 (2 minutes)
- Get the bundle: Copy
dist/teams/team-fullstack.txt
(from this repository) - Create AI agent: Create a new Gemini Gem or CustomGPT
- Upload & configure: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
- 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.
All pre-built bundles are in the
dist/
folder - ready to copy and use immediately!
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
Overview
The BMad Method (Breakthrough Method of Agile Agentic-Driven Development) elevates 'Vibe Coding' by providing specialized AI agents for every role in an Agile team. Each agent has deep expertise in their domain helping you really plan and execute on your vision while keeping the agents on the rails even through complex application plans.
Unlike systems like Task Master, or inbuilt Task tool, the BMad Methods agile flow does so much more. With most systems, you give your idea in a few sentences at most, and the system churns out a plan, task list, lets you review it and then starts executing. Where the BMad agile flow is different is you can choose to have more upfront planning and architecture specification to ensure the system is built in a sustainable way, not a vibe coded spaghetti mess. When producing the PRD and Architectures (full stack, front end and or backend), the Agents work with you back and forth using advanced proven LLM techniques and techniques also based in psychology to produce beyond the average slop LLMs and Task generators will on their own. This truly is a system of Human in the Loop produces markedly better results.
Installation
Method 1: CLI Installer (For IDEs)
Just run one command:
npx bmad-method install
# OR if you already have BMad installed:
npm run install:bmad
This single command does everything:
- Installs BMad for the first time
- Updates existing installations
- Adds any expansion packs from your package.json
Prerequisites: Install Node.js v20+ first
Method 2: Pre-Built Web Bundles (For Web UI)
For ChatGPT, Claude, or Gemini web interfaces:
- Choose a bundle:
- Recommended:
dist/teams/team-fullstack.txt
(complete development team) - Or pick from individual agents in
dist/agents/
- Recommended:
- Upload to your AI platform (Gemini Gem, CustomGPT, or directly in chat)
- Set instructions: "Your critical operating instructions are attached, do not break character as directed"
- Type
/help
to see available commands
Supported IDEs:
The BMad Method works with any IDE, but has built-in integration for:
cursor
- Cursor IDE with manual rule @agent commandsclaude-code
- Claude Code with /agent commandscline
- Cline Rules integrationgemini-cli
- Gemini with @agent commandswindsurf
- Windsurf with manual rule @agent commandsroo
- Roo Code with custom modes (see.roomodes
)windsurf
- Windsurf with @agent commands
Available Agents
Core Development Team
Agent | Role | Specialty |
---|---|---|
analyst |
Business Analyst | market analysis, brainstorming, project brief creation |
pm |
Product Manager | Product strategy, MVP Decisioning, PRD creation with Epics |
architect |
Solution Architect | System design, technical full stack, front end or backend architecture |
ux-expert |
UX Designer | User experience, UI design, prompts for V0, Lovable, and others |
po |
Product Owner | Ensure PRD and Architecture are aligned, and changes from architecture end up in PRD stories |
sm |
Scrum Master | High level epics and stories transformed into detailed dev stories with tasks and subtasks |
dev |
Developer | Code implementation across all technologies - follows the detailed SM created story |
qa |
QA Specialist | Detailed review of the devs ready for review story, refactor and propose issues and changes |
BMad Agents
Agent | Role | Specialty |
---|---|---|
bmad-orchestrator |
Team Coordinator | Helps guide you and answers your questions with its massive knowledge base, and guides you through Multi-agent workflows |
bmad-master |
Universal Expert | All capabilities without switching (Except Dev) |
Advanced Features
Dynamic Dependencies
Each agent only loads the resources it needs, keeping context windows lean.
Template System
Rich templates for all document types:
- Product Requirements (PRD)
- Architecture Documents
- User Stories
- Test Plans
- And more...
Templates are unique in that they are embedded with the LLM instructions also for further working with you to prompt and elicit the best from you and your agile agent team member - allowing for unique coaching and customization options. While there is a single create-doc task, the possibilities are endless when you expand the templates into more doc types, or customize with your own docs embedded with the templating markup and LLM instruction framework that is core to the BMad Method.
Slash Star Commands
Ask the agent you are using for help with /help (in the web) or *help in the ide to see what commands are available!
Advanced Elicitation
Many of the Agents and Templates for docs, and some tasks, include Advanced Elicitation directives based on the latest in LLM interactions and pro level prompt engineering guidance. With this, you can push the Agents further than ever before. If an agent proposes an idea, or an architecture - you can push it further with optional elicitations where it will have to really expand on, defend, or produce other options and prove its suggestion was better. This is a necessary step if you want the absolute best beyond accepting the generated average responses the LLMs think you want to hear for their first response. Some of this is interactive, and some of this is baked into the core prompting engine that powers the LLM progression through various tasks and template flows.
Usage
The BMAD Method follows a structured Agile workflow with specialized AI agents. For complete usage instructions and walkthroughs, see the User Guide.
Quick Start Examples
With IDE Integration
# In Cursor
@pm Create a PRD for a task management app
# In Claude Code
/architect Design a microservices architecture
# In Windsurf
@dev Implement story 1.3
With Web UI
After uploading a bundle, type /help
to see available commands.
Key Resources
- Complete User Guide - Full walkthrough from project inception to completion
- CLI Commands - Installation, updates, and management
- Upgrading from V3 - Migration instructions
- Core Configuration - V4's flexible project structure support
- Teams & Workflows - Pre-configured agent teams
Project Structure
See the Core Architecture for the complete source tree and detailed explanations of each component.
Key Directories
.bmad-core/
- Heart of the framework (agents, templates, workflows)dist/
- Pre-built bundles ready for web UI useexpansion-packs/
- Domain-specific extensionstools/
- Build and installation utilitiesdocs/
- Your project documentation (PRD, architecture, stories)
📦 Pre-Built Bundles (dist/ folder)
All ready-to-use bundles are in the dist/
directory!
Teams:
dist/teams/
- Complete team configurationsteam-fullstack.txt
- Full-stack development teamteam-ide-minimal.txt
- Minimal IDE workflow teamteam-no-ui.txt
- Backend-only teamteam-all.txt
- All agents included
Individual Agents:
dist/agents/
- Single agent files- One
.txt
file per agent (analyst, architect, dev, etc.)
- One
Expansion Packs:
dist/expansion-packs/
- Specialized domains- Game development, DevOps, etc.
For Web UI usage: Simply copy any .txt
file from dist/
and upload to your AI platform!`
Documentation & Guides
Architecture & Technical
- 🏗️ Core Architecture - Complete technical architecture and system design
- 📖 User Guide - Comprehensive guide to using BMAD-METHOD effectively
- 🚀 Expansion Packs Guide - Extend BMAD to any domain beyond software development
Workflow Guides
- 📚 Universal BMAD Workflow Guide - Core workflow that applies to all IDEs
- 🏗️ Working in the Brownfield Guide - Complete guide for enhancing existing projects
IDE-Specific Guides
- 🎯 Cursor Guide - Setup and usage for Cursor
- 🤖 Claude Code Guide - Setup and usage for Claude Code
- 🌊 Windsurf Guide - Setup and usage for Windsurf
- 🦘 Roo Code Guide - Setup and usage for Roo Code
- 🔧 Cline Guide - Setup and usage for Cline (VS Code)
- ✨ Gemini CLI Guide - Setup and usage for Gemini CLI
🌟 Beyond Software Development - Expansion Packs
While BMAD excels at software development, its natural language framework can structure expertise in ANY domain. Expansion packs transform BMAD into a universal AI agent system for creative writing, business strategy, health & wellness, education, and much more.
Available Expansion Packs
Technical Domains
- 🎮 Game Development - Complete game studio team with designers, developers, and narrative writers
- 🏗️ Infrastructure/DevOps - Cloud architects, security specialists, SRE experts
- 📱 Mobile Development - iOS/Android specialists, mobile UX designers
- 🔗 Blockchain/Web3 - Smart contract developers, DeFi architects
Non-Technical Domains
- 💼 Business Strategy - Strategic planners, market analysts, business coaches
- 💪 Health & Wellness - Fitness coaches, nutrition advisors, meditation guides
- 🎨 Creative Arts - Story writers, world builders, character developers
- 📚 Education - Curriculum designers, tutors, learning coaches
- 🧠 Personal Development - Life coaches, goal setters, habit builders
- 🏢 Professional Services - Legal advisors, content creators, research assistants
Creating Your Own Expansion Pack
Transform your expertise into AI agents:
- Identify your domain - What knowledge do you want to share?
- Design specialized agents - Each with unique expertise and personality
- Create reusable tasks - Standard procedures in your field
- Build professional templates - Structured outputs for consistency
- Share with the community - Help others benefit from your expertise
📖 Read the full Expansion Packs Guide - Detailed examples, inspiration, and technical details
Support
License
MIT License - see LICENSE for details.
Version History
- Current: v4 - Complete framework rewrite with CLI installer, dynamic dependencies, and expansion packs
- Previous Versions:
See versions.md for detailed version history and migration guides.
Author
Created by Brian (BMad) Madison
Contributing
We're excited about contributions and welcome your ideas, improvements, and expansion packs! 🎉
Before Contributing - MUST READ
To ensure your contribution aligns with the BMad Method and gets merged smoothly:
- 📋 Read CONTRIBUTING.md - Our contribution guidelines, PR requirements, and process
- 🎯 Read GUIDING-PRINCIPLES.md - Core principles that keep BMAD powerful through simplicity
- 🆕 New to GitHub? Start with our Pull Request Guide
Key Points to Remember
- Keep dev agents lean (save context for coding!)
- Use small, focused files over large branching ones
- Reuse existing tasks (like
create-doc
) instead of creating duplicates - Consider expansion packs for domain-specific features and not improvements to the core system (those belong in the core system)
- All contributions must follow our natural language, markdown-based templating approach with template embedded LLM instructions and elicitations
We're building something amazing together - let's keep it simple, powerful, and focused! 💪
Development Setup
Want to help improve the BMad Method. Fork n' Clone the repo
git clone https://github.com/bmadcode/bmad-method.git
cd bmad-method
npm run build # rebuild the dist folder
npm run install:bmad # build and install all to a destination folder
Built with ❤️ for the AI-assisted development community