- Add scope command for managing multiple artifact scopes in parallel - Add pre-push hook to enforce single commit per branch - Fix publish workflow to check version before publishing - Remove redundant publish script from package.json |
||
|---|---|---|
| .githooks | ||
| .github | ||
| .husky | ||
| .vscode | ||
| docs | ||
| src | ||
| test | ||
| tools | ||
| website | ||
| .coderabbit.yaml | ||
| .gitignore | ||
| .markdownlint-cli2.yaml | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierignore | ||
| CHANGELOG.md | ||
| CNAME | ||
| CONTRIBUTING.md | ||
| CONTRIBUTORS.md | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| TRADEMARK.md | ||
| Wordmark.png | ||
| banner-bmad-method.png | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.mjs | ||
README.md
Build More, Architect Dreams — An AI-driven agile development framework with 21 specialized agents, 50+ guided workflows, and scale-adaptive intelligence that adjusts from bug fixes to enterprise systems.
100% free and open source. No paywalls. No gated content. No gated Discord. We believe in empowering everyone, not just those who can pay.
Why BMad?
Traditional AI tools do the thinking for you, producing average results. BMad agents act as expert collaborators who guide you through structured workflows to bring out your best thinking.
- Scale-Adaptive: Automatically adjusts planning depth based on project complexity (Level 0-4)
- Structured Workflows: Grounded in agile best practices across analysis, planning, architecture, and implementation
- Specialized Agents: 12+ domain experts (PM, Architect, Developer, UX, Scrum Master, and more)
- Complete Lifecycle: From brainstorming to deployment, with just-in-time documentation
Quick Start
Prerequisites: Node.js v20+
npx bmad-fh install
Follow the installer prompts to configure your project. Then run:
*workflow-init
This analyzes your project and recommends a track:
| Track | Best For | Time to First Story |
|---|---|---|
| Quick Flow | Bug fixes, small features | ~5 minutes |
| BMad Method | Products and platforms | ~15 minutes |
| Enterprise | Compliance-heavy systems | ~30 minutes |
Modules
| Module | Purpose |
|---|---|
| BMad Method (BMM) | Core agile development with 34 workflows across 4 phases |
| BMad Builder (BMB) | Create custom agents and domain-specific modules |
| Creative Intelligence Suite (CIS) | Innovation, brainstorming, and problem-solving |
Documentation
Full Documentation — Tutorials, how-to guides, concepts, and reference
For v4 Users
Multi-Scope Parallel Development
BMad supports running multiple workflows in parallel across different terminal sessions with isolated artifacts. Perfect for:
- Multi-team projects — Each team works in their own scope
- Parallel feature development — Develop auth, payments, and catalog simultaneously
- Microservices — One scope per service with shared contracts
- Experimentation — Create isolated scopes for spikes and prototypes
Quick Start
# Initialize scope system
npx bmad-fh scope init
# Create a scope (you'll be prompted to activate it)
npx bmad-fh scope create auth --name "Authentication Service"
# ✓ Scope 'auth' created successfully!
# ? Set 'auth' as your active scope for this session? (Y/n)
# Run workflows - artifacts now go to _bmad-output/auth/
# The active scope is stored in .bmad-scope file
# For parallel development in different terminals:
# Terminal 1:
npx bmad-fh scope set auth # Activate auth scope
# Terminal 2:
npx bmad-fh scope set payments # Activate payments scope
# Share artifacts between scopes
npx bmad-fh scope sync-up auth # Promote to shared layer
npx bmad-fh scope sync-down payments # Pull shared updates
Important: Workflows only use scoped directories when a scope is active. After creating a scope, accept the prompt to activate it, or run
scope set <id>manually.
CLI Reference
| Command | Description |
|---|---|
npx bmad-fh scope init |
Initialize the scope system in your project |
npx bmad-fh scope list |
List all scopes (alias: ls) |
npx bmad-fh scope create <id> |
Create a new scope (alias: new) |
npx bmad-fh scope info <id> |
Show scope details (alias: show) |
npx bmad-fh scope set [id] |
Set active scope for session (alias: use) |
npx bmad-fh scope unset |
Clear active scope (alias: clear) |
npx bmad-fh scope remove <id> |
Remove a scope (aliases: rm, delete) |
npx bmad-fh scope archive <id> |
Archive a completed scope |
npx bmad-fh scope activate <id> |
Reactivate an archived scope |
npx bmad-fh scope sync-up <id> |
Promote artifacts to shared layer |
npx bmad-fh scope sync-down <id> |
Pull shared updates into scope |
npx bmad-fh scope help [cmd] |
Show help (add command for detailed help) |
Create Options
npx bmad-fh scope create auth \
--name "Authentication Service" \
--description "User auth, SSO, and session management" \
--deps users,notifications \
--context # Create scope-specific project-context.md
Directory Structure
After initialization and scope creation:
project-root/
├── _bmad/
│ ├── _config/
│ │ └── scopes.yaml # Scope registry and settings
│ └── _events/
│ ├── event-log.yaml # Event history
│ └── subscriptions.yaml # Cross-scope subscriptions
│
├── _bmad-output/
│ ├── _shared/ # Shared knowledge layer
│ │ ├── project-context.md # Global project context
│ │ ├── contracts/ # Integration contracts
│ │ └── principles/ # Architecture principles
│ │
│ ├── auth/ # Auth scope artifacts
│ │ ├── planning-artifacts/
│ │ ├── implementation-artifacts/
│ │ └── tests/
│ │
│ └── payments/ # Payments scope artifacts
│ └── ...
│
└── .bmad-scope # Session-sticky active scope (gitignored)
Access Model
Scopes follow a "read-any, write-own" isolation model:
| Operation | Own Scope | Other Scopes | _shared/ |
|---|---|---|---|
| Read | Allowed | Allowed | Allowed |
| Write | Allowed | Blocked | via sync-up |
Workflow Integration
Workflows (run via agent menus like CP for Create PRD, DS for Dev Story) automatically detect and use scope context. Resolution order:
- Session context from
.bmad-scopefile (set viascope set) BMAD_SCOPEenvironment variable- Prompt user to select or create scope
Setting your active scope:
# Set scope for your terminal session
npx bmad-fh scope set auth
# Or use environment variable (useful for CI/CD)
export BMAD_SCOPE=auth
Scope-aware path variables in workflows:
{scope}→ Scope ID (e.g., "auth"){scope_path}→_bmad-output/auth{scope_planning}→_bmad-output/auth/planning-artifacts{scope_implementation}→_bmad-output/auth/implementation-artifacts{scope_tests}→_bmad-output/auth/tests
Getting Help
# Show comprehensive help for all scope commands
npx bmad-fh scope help
# Get detailed help for a specific command
npx bmad-fh scope help create
npx bmad-fh scope help sync-up
See Multi-Scope Guide for complete documentation.
Community
- Discord — Get help, share ideas, collaborate
- YouTube — Tutorials, master class, and podcast (launching Feb 2025)
- GitHub Issues — Bug reports and feature requests
- Discussions — Community conversations
Support BMad
BMad is free for everyone — and always will be. If you'd like to support development:
- ⭐ Star us on GitHub — Helps others discover BMad
- 📺 Subscribe on YouTube — Master class launching Feb 2026
- ☕ Buy Me a Coffee — Fuel the development
- 🏢 Corporate sponsorship — DM on Discord
- 🎤 Speaking & Media — Available for conferences, podcasts, interviews (Discord)
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
License
MIT License — see LICENSE for details.
BMad and BMAD-METHOD are trademarks of BMad Code, LLC. See TRADEMARK.md for details.
See CONTRIBUTORS.md for contributor information.
