Working with BMad Agents
BMad Method’s power comes from specialized AI agents that guide you through structured workflows. Each agent has a distinct persona, expertise, and role in the development process. This guide teaches you how to work effectively with BMad agents, understand their personas, and leverage their collaboration patterns.Understanding Agent Architecture
BMad agents are more than just prompts — they’re complete personas with:Identity & Expertise
Each agent has a name, role, background, and specialized capabilities
Communication Style
Distinct personality that shapes how they interact with you
Principles
Core beliefs and methodologies that guide their decisions
Workflow Menu
Specialized workflows the agent can execute
Agent Definition Structure
Every BMad agent is defined in a YAML file:Meet the BMad Method Agents
BMad Method (BMM module) includes specialized agents for every phase of development.Mary: Business Analyst 📊
Agent:
mary (Analyst)Load: /bmad-agent-bmm-analystPersona:- Senior analyst with deep expertise in market research and competitive analysis
- Speaks with the excitement of a treasure hunter — thrilled by every clue
- Structures insights with precision while making analysis feel like discovery
- Market research and competitive analysis
- Requirements elicitation
- Domain expertise discovery
- Business case development
brainstorming→/bmad-brainstormingmarket-research→/bmad-bmm-market-researchdomain-research→/bmad-bmm-domain-researchtechnical-research→/bmad-bmm-technical-researchcreate-product-brief→/bmad-bmm-create-product-brief
- Starting a new project and need to explore the problem space
- Conducting competitive analysis
- Researching technical feasibility
- Creating a product brief before diving into PRD
John: Product Manager 📋
Agent:
john (PM)Load: /bmad-agent-bmm-pmPersona:- Product management veteran with 8+ years launching B2B and consumer products
- Asks “WHY?” relentlessly like a detective on a case
- Direct and data-sharp, cuts through fluff to what actually matters
- PRD creation through user interviews
- Requirements discovery
- Stakeholder alignment
- Epic and story breakdown
create-prd→/bmad-bmm-create-prdvalidate-prd→/bmad-bmm-validate-prdedit-prd→/bmad-bmm-edit-prdcreate-epics-and-stories→/bmad-bmm-create-epics-and-stories
- Creating or editing Product Requirements Documents
- Breaking down requirements into epics and stories
- Validating PRD completeness and quality
- Handling course corrections during implementation
Sally: UX Designer 🎨
Agent:
sally (UX Designer)Load: /bmad-agent-bmm-ux-designerPersona:- Senior UX Designer with 7+ years creating intuitive experiences
- Paints pictures with words, telling user stories that make you FEEL the problem
- Empathetic advocate with creative storytelling flair
- User research and persona development
- Interaction design patterns
- UI component strategy
- Experience strategy and user journeys
create-ux-design→/bmad-bmm-create-ux-design
- Designing user interfaces and experiences
- Creating user journey maps
- Defining component strategies
- Establishing design systems
Winston: Architect 🏗️
Agent:
winston (Architect)Load: /bmad-agent-bmm-architectPersona:- Senior architect with expertise in distributed systems and cloud infrastructure
- Speaks in calm, pragmatic tones, balancing “what could be” with “what should be”
- Champions boring technology for stability
- System architecture design
- Technology stack selection
- API design and patterns
- Database schema design
- Scalability and performance planning
create-architecture→/bmad-bmm-create-architecturecheck-implementation-readiness→/bmad-bmm-check-implementation-readiness
- Designing system architecture
- Making technology stack decisions
- Validating implementation readiness
- Reviewing architectural patterns
Bob: Scrum Master 🏃
Agent:
bob (Scrum Master)Load: /bmad-agent-bmm-smPersona:- Certified Scrum Master with deep technical background
- Crisp and checklist-driven — every word has a purpose
- Zero tolerance for ambiguity
- Sprint planning and tracking
- Story preparation with comprehensive context
- Agile ceremonies facilitation
- Backlog management
sprint-planning→/bmad-bmm-sprint-planningcreate-story→/bmad-bmm-create-storyretrospective→/bmad-bmm-retrospectivecorrect-course→/bmad-bmm-correct-course
- Initializing sprint tracking
- Creating comprehensive story files for developers
- Running retrospectives after epic completion
- Handling course corrections
Amelia: Developer 💻
Agent:
amelia (Developer)Load: /bmad-agent-bmm-devPersona:- Senior Software Engineer with strict standards
- Ultra-succinct — speaks in file paths and AC IDs
- Every statement citable, no fluff, all precision
- Story execution with TDD
- Test-driven development (red-green-refactor)
- Code implementation following architecture
- Code review and quality validation
- Read entire story file before implementation
- Execute tasks/subtasks in exact order
- Mark complete only when tests pass 100%
- Never lie about tests or completion status
dev-story→/bmad-bmm-dev-storycode-review→/bmad-bmm-code-review
- Implementing stories with TDD approach
- Conducting code reviews (ideally with different LLM)
- Addressing code review findings
How to Invoke Agents
There are two ways to work with BMad agents:Method 1: Load Agent Directly
Load an agent for general conversation or exploration:- Ask questions about their domain
- Discuss approaches and options
- Then run a specific workflow
Method 2: Run Workflow Directly
Run a workflow command, which automatically loads the appropriate agent:Understanding Workflows
Workflows are structured processes that agents facilitate. They follow disciplined execution patterns.Workflow Architecture Types
BMad uses two main workflow architectures:1. Step-File Architecture
Used for complex, multi-phase workflows like PRD creation:- One step file loaded at a time
- Sequential enforcement (no skipping)
- State tracking in document frontmatter
- Just-in-time loading prevents context overflow
2. XML Workflow Architecture
Used for implementation workflows requiring precise execution:- Precise control flow with conditions
- Halt points for user input
- Validation gates
- Error handling
Workflow Execution Patterns
Red-Green-Refactor (TDD)
Dev agent follows strict TDD cycle:Ultimate Context Engine (Story Creation)
Scrum Master agent uses comprehensive analysis:Party Mode: Multi-Agent Collaboration
Some workflows (like retrospective) use Party Mode — multiple agent personas collaborate in a single session.How Party Mode Works
Example: Retrospective in Party Mode
Diverse Perspectives
Multiple expert viewpoints surface insights you might miss alone
Natural Dialogue
Conversation flows naturally, mimicking real team discussions
Expertise Integration
Technical, product, and process concerns all get addressed
Learning Capture
Insights are documented as action items for future work
Agent Best Practices
1. Always Use Fresh Chats
Why this matters:- AI models have context windows (token limits)
- Long conversations reduce available context for the agent
- Fresh chats give agents maximum context for the workflow
- Previous conversations can bias or confuse the agent
2. Let Agents Guide You
Agents will:- Ask clarifying questions
- Challenge assumptions
- Guide you through structured processes
- Ensure completeness
- Skip steps or rush through questions
- Provide vague answers hoping the agent will “figure it out”
- Override the agent’s process without good reason
- Answer questions thoughtfully
- Ask the agent to explain their reasoning
- Trust the structured process
3. Use BMad-Help Liberally
- Inspects your project state
- Recommends next steps
- Answers questions about which agent to use
- Guides you when stuck
- “What should I do after installing?”
- “I just finished the architecture, what’s next?”
- “Which planning track should I use?”
- “How do I fix this error in my workflow?“
4. Understand Agent Handoffs
Workflows often involve agent handoffs:5. Use Different LLMs for Code Review
Example approach:Advanced Agent Patterns
Pattern 1: Iterative Refinement
Agents support iterative workflows:Pattern 2: Course Correction
When plans change during implementation:Pattern 3: Parallel Story Development
With team capacity:Troubleshooting Agent Issues
Agent not following instructions
Agent not following instructions
Cause: Context overflow or incorrect agent loadedSolution:
- Start a completely fresh chat
- Verify you loaded the correct agent:
/bmad-agent-bmm-[name] - Ensure you’re running the intended workflow
- Check your IDE agent configuration
Agent provides incomplete output
Agent provides incomplete output
Cause: Token limits or early stoppingSolution:
- Use fresh chat with clean context
- Tell agent explicitly: “Continue from where you stopped”
- For long documents, workflows handle incremental writing
- Check your LLM’s token limits
Agent skips workflow steps
Agent skips workflow steps
Cause: Not following step-file architecture disciplineSolution:
- Restart workflow in fresh chat
- Remind agent: “Follow step-file architecture strictly”
- If issue persists, report on Discord or GitHub
Agent contradicts previous agent's work
Agent contradicts previous agent's work
Cause: Missing context or artifact not loadedSolution:
- Verify all planning artifacts exist in correct locations
- Check that discovery protocol loaded files (agents mention this)
- Explicitly tell agent: “Load the PRD at [path]”
- Re-run workflow in fresh chat with proper context
Agent Quick Reference
| Agent | Load Command | Primary Workflows | Best For |
|---|---|---|---|
| Mary (Analyst) | /bmad-agent-bmm-analyst | brainstorming, research, product-brief | Analysis phase, market research |
| John (PM) | /bmad-agent-bmm-pm | create-prd, edit-prd, create-epics-and-stories | Planning phase, requirements |
| Sally (UX Designer) | /bmad-agent-bmm-ux-designer | create-ux-design | User experience and interface design |
| Winston (Architect) | /bmad-agent-bmm-architect | create-architecture, implementation-readiness | Technical architecture, system design |
| Bob (Scrum Master) | /bmad-agent-bmm-sm | sprint-planning, create-story, retrospective | Sprint management, story preparation |
| Amelia (Developer) | /bmad-agent-bmm-dev | dev-story, code-review | Implementation, code review |
Next Steps
Build Your First Project
Put agents to work in a complete project walkthrough
Explore Workflow Map
See all workflows and when to use each agent
Project Context Guide
Learn how to give agents project-wide context
Join Discord Community
Share your agent experiences and get help
