Skip to main content

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:
This architecture ensures consistency and expertise across all interactions.

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
Capabilities:
  • Market research and competitive analysis
  • Requirements elicitation
  • Domain expertise discovery
  • Business case development
Key Workflows:
  • brainstorming/bmad-brainstorming
  • market-research/bmad-bmm-market-research
  • domain-research/bmad-bmm-domain-research
  • technical-research/bmad-bmm-technical-research
  • create-product-brief/bmad-bmm-create-product-brief
When to use Mary:
  • 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
Example interaction:

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
Capabilities:
  • PRD creation through user interviews
  • Requirements discovery
  • Stakeholder alignment
  • Epic and story breakdown
Key Workflows:
  • create-prd/bmad-bmm-create-prd
  • validate-prd/bmad-bmm-validate-prd
  • edit-prd/bmad-bmm-edit-prd
  • create-epics-and-stories/bmad-bmm-create-epics-and-stories
When to use John:
  • Creating or editing Product Requirements Documents
  • Breaking down requirements into epics and stories
  • Validating PRD completeness and quality
  • Handling course corrections during implementation
Example interaction:

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
Capabilities:
  • User research and persona development
  • Interaction design patterns
  • UI component strategy
  • Experience strategy and user journeys
Key Workflows:
  • create-ux-design/bmad-bmm-create-ux-design
When to use Sally:
  • Designing user interfaces and experiences
  • Creating user journey maps
  • Defining component strategies
  • Establishing design systems
Example interaction:

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
Capabilities:
  • System architecture design
  • Technology stack selection
  • API design and patterns
  • Database schema design
  • Scalability and performance planning
Key Workflows:
  • create-architecture/bmad-bmm-create-architecture
  • check-implementation-readiness/bmad-bmm-check-implementation-readiness
When to use Winston:
  • Designing system architecture
  • Making technology stack decisions
  • Validating implementation readiness
  • Reviewing architectural patterns
Example interaction:

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
Capabilities:
  • Sprint planning and tracking
  • Story preparation with comprehensive context
  • Agile ceremonies facilitation
  • Backlog management
Key Workflows:
  • sprint-planning/bmad-bmm-sprint-planning
  • create-story/bmad-bmm-create-story
  • retrospective/bmad-bmm-retrospective
  • correct-course/bmad-bmm-correct-course
When to use Bob:
  • Initializing sprint tracking
  • Creating comprehensive story files for developers
  • Running retrospectives after epic completion
  • Handling course corrections
Example interaction:

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
Capabilities:
  • Story execution with TDD
  • Test-driven development (red-green-refactor)
  • Code implementation following architecture
  • Code review and quality validation
Critical Actions:
  • 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
Key Workflows:
  • dev-story/bmad-bmm-dev-story
  • code-review/bmad-bmm-code-review
When to use Amelia:
  • Implementing stories with TDD approach
  • Conducting code reviews (ideally with different LLM)
  • Addressing code review findings
Example interaction:

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:
This loads the agent’s persona and makes their workflow menu available. You can:
  • Ask questions about their domain
  • Discuss approaches and options
  • Then run a specific workflow
Example:

Method 2: Run Workflow Directly

Run a workflow command, which automatically loads the appropriate agent:
This implicitly loads the PM agent and starts the PRD creation workflow immediately. Example:
Best Practice: If you’re unsure which workflow to run, load the agent first and have a conversation. If you know exactly what you want, run the workflow directly.

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:
Key principles:
  • One step file loaded at a time
  • Sequential enforcement (no skipping)
  • State tracking in document frontmatter
  • Just-in-time loading prevents context overflow
Example flow:

2. XML Workflow Architecture

Used for implementation workflows requiring precise execution:
Key features:
  • 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

1

Workflow activates Party Mode

Certain workflows are designated as Party Mode workflows
2

Multiple personas load

The AI embodies multiple agent personas simultaneously
3

Structured dialogue format

All dialogue uses format: Name (Role): dialogue
4

Natural collaboration

Agents interact naturally, with disagreements and diverse perspectives
5

User participates

You join as “Project Lead” in the conversation

Example: Retrospective in Party Mode

Benefits of 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

Start a new chat for each workflow to avoid context limitations and ensure optimal agent performance.
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
Example of chat management:

2. Let Agents Guide You

Trust the agent’s expertise and follow their guided process. They’re designed with best practices built in.
Agents will:
  • Ask clarifying questions
  • Challenge assumptions
  • Guide you through structured processes
  • Ensure completeness
Don’t:
  • Skip steps or rush through questions
  • Provide vague answers hoping the agent will “figure it out”
  • Override the agent’s process without good reason
Do:
  • Answer questions thoughtfully
  • Ask the agent to explain their reasoning
  • Trust the structured process

3. Use BMad-Help Liberally

BMad-Help is your meta-agent that:
  • Inspects your project state
  • Recommends next steps
  • Answers questions about which agent to use
  • Guides you when stuck
Ask BMad-Help questions like:
  • “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:
Each agent ends their workflow by suggesting the next logical step.

5. Use Different LLMs for Code Review

For code review, use a different LLM than the one that implemented the story. This provides fresh perspective and catches more issues.
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

Cause: Context overflow or incorrect agent loadedSolution:
  1. Start a completely fresh chat
  2. Verify you loaded the correct agent: /bmad-agent-bmm-[name]
  3. Ensure you’re running the intended workflow
  4. Check your IDE agent configuration
Cause: Token limits or early stoppingSolution:
  1. Use fresh chat with clean context
  2. Tell agent explicitly: “Continue from where you stopped”
  3. For long documents, workflows handle incremental writing
  4. Check your LLM’s token limits
Cause: Not following step-file architecture disciplineSolution:
  1. Restart workflow in fresh chat
  2. Remind agent: “Follow step-file architecture strictly”
  3. If issue persists, report on Discord or GitHub
Cause: Missing context or artifact not loadedSolution:
  1. Verify all planning artifacts exist in correct locations
  2. Check that discovery protocol loaded files (agents mention this)
  3. Explicitly tell agent: “Load the PRD at [path]”
  4. Re-run workflow in fresh chat with proper context

Agent Quick Reference

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
You now understand how BMad agents work, their personas, and how to collaborate with them effectively. Time to put this knowledge into practice! 🚀