百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bmad-assist

> 编程语言
开源

⚠️ 已过时且不再维护。此工具只支持 BMAD v6.0.0-alpha.22。请使用 bmad-automator。

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

⚠️ 已过时且不再维护。此工具只支持 BMAD v6.0.0-alpha.22。请使用 bmad-automator。

bmad-assist

[!WARNING]

This project is no longer maintained

bmad-assist is in end-of-life status. It was a solo project and only works with BMAD v6.0.0-alpha.22 (an early alpha release). It still runs against that version, but will receive no further updates, fixes, or support.

Active development has moved to its spiritual successor:

bmad-automator

A skills-based, community-maintained tool that works with the latest BMAD versions. If you're starting out or migrating, use that instead.

*This repository stays online for posterity and reference. Huge thanks to everyone who used it, forked it, filed issues, and sent PRs. *

CLI tool that reads your project documentation (PRD, architecture, epics) and implements it story by story using multiple LLMs. Built on the BMAD methodology.

What does it do?

BMAD (Breakthrough Method of Agile AI Driven Development) structures AI-driven projects into docs: PRD, architecture, epics, and stories. bmad-assist uses BMAD workflows to produce code, adding multi-LLM orchestration, automated quality loops, and hands-free execution on top.

You write the docs (or have AI help you write them with BMAD). bmad-assist reads them and runs an automated loop:

  1. Creates the next story from your epics
  2. Validates the story using multiple LLMs in parallel (catches issues a single LLM would miss)
  3. Implements the story - writes code, tests, updates files
  4. Reviews the code with multiple LLMs as adversarial reviewers
  5. Pauses between stories and epics to let you quit gracefully - or skip prompts with --skip-story-prompts / -n
  6. Repeats for every story in the epic, then runs a retrospective and moves to the next epic

One LLM (Master) writes all code. The others only validate and review - they never touch your files.

  Create Story ──► Validate (multi-LLM) ──► Synthesis ──► Dev Story ──► Code Review (multi-LLM) ──► Synthesis
       │                                                                                                │
       └────────────────────────────────── next story ◄─────────────────────────────────────────────────┘

Features

  • Multi-LLM Orchestration - Claude Code, Gemini CLI, Codex, OpenCode, Amp, Cursor Agent, GitHub Copilot, Kimi CLI working in parallel
  • A/B Testing - Compare workflow configs, prompts, or model fleets side-by-side with git worktree isolation and LLM-powered analysis reports
  • TEA (Test Engineering Architect) - 8 integrated workflows: framework setup, CI scaffolding, test design, ATDD, automation, NFR assessment, traceability, test review
  • Bundled Workflows - BMAD workflows included and ready to use out of the box
  • Git Auto-commit - Automatic commits after create-story, dev-story, and code-review-synthesis phases (-g flag)
  • Deep Verify (WIP) - Multi-method artifact verification (pattern matching, boundary analysis, cross-reference checks)
  • Security Agent (WIP) - Parallel CWE pattern analysis with tech stack detection, integrated into code review phase

Under the Hood

  • Workflow Compiler - Builds single comprehensive prompts with resolved variables and embedded context - minimizes tool usage and LLM turns
  • AST-aware Truncation - Intelligent file truncation based on code structure (classes, functions) to fit token budgets
  • Evidence Score System - Mathematical validation scoring with anti-bias checks for reliable quality assessment
  • Antipatterns Module - Learns from validation and code review findings, injects lessons into subsequent prompts to prevent recurring mistakes
  • Strategic Context Loading - Config-driven loading of PRD/Architecture per workflow with intelligent truncation to token limits
  • Patch System - Removes interactive elements from BMAD workflows for fully automated execution
  • Python State Tracking - Deterministic sequencing maintains sprint status internally instead of relying on LLM inference

Installation

bash
git clone https://github.com/Pawel-N-pl/bmad-assist.git
cd bmad-assist
python -m venv .venv
source .venv/bin/activate
pip install -e .

Requirements: Python 3.11+ and at least one LLM CLI tool (Claude Code, Gemini CLI, or Codex).

Platform: Linux and macOS only. Windows is not supported — the subprocess management layer depends on POSIX APIs (os.killpg, signal.SIGKILL, process groups, start_new_session) throughout the codebase. On Windows, use WSL2.

WSL2 Notes:

  • Keep your projects on the Linux filesystem (/home/...), not on Windows drives (/mnt/c/...), for correct Unix socket permissions and optimal IPC performance
  • The IPC socket directory (~/.bmad-assist/sockets/) is always on the Linux filesystem by default
  • DrvFS (Windows filesystem) does not properly support Unix socket file permissions — bmad-assist will warn if it detects this configuration
  • All WSL2 terminals (Windows Terminal tabs, VS Code integrated terminal) share the same bmad-assist IPC socket

Quick Start

bash
# Initialize project
bmad-assist init --project /path/to/your/project

# Run the development loop
bmad-assist run --project /path/to/your/project

Recommended: Customize bmad-assist.yaml for your provider and model configuration before running. See Configuration Reference for available options.

Your project needs documentation in docs/:

  • prd.md - Product Requirements
  • architecture.md or architecture/ - Technical decisions
  • epics.md or epics/ - Epic definitions with stories
  • project-context.md - AI implementation rules

CLI Commands

…

Configuration

See docs/configuration.md for full reference.

Basic example:

yaml
providers:
  master:
    provider: claude-subprocess
    model: opus
  multi:
    - provider: gemini
      model: gemini-2.5-flash
    - provider: codex
      model: gpt-5.3-codex
      reasoning_effort: high
    - provider: opencode-sdk
      model: opencode/glm-5-free

timeouts:
  default: 600
  dev_story: 3600

Documentation

  • Configuration Reference - Providers, timeouts, paths, compiler settings
  • Providers Guide - Setting up Claude Code, Gemini CLI, Codex, and other LLM tools
  • TEA Configuration - TEA (Test Engineering Architect) switch hierarchy and modes
  • A/B Testing - Running controlled experiments comparing workflow configurations
  • Strategic Context - Smart document loading optimization
  • Sprint Management - Sprint status tracking and story lifecycle
  • Experiment Framework - Benchmarking with fixture isolation
  • Workflow Patches - Customizing BMAD workflows for automation
  • Troubleshooting - Common issues and solutions

Workflow Architecture

bmad-assist extends BMAD Method workflows for Multi-LLM automation.

Modified from BMAD

Workflow Changes
code-review Removed interactive steps, file discovery handled by compiler, outputs to stdout with extraction markers
create-story Removed user menus, context injected by compiler
dev-story Removed interactive confirmations
retrospective Automated summary generation

Added by bmad-assist

Workflow Purpose
validate-story Multi-LLM story validation with INVEST criteria and Evidence Score
validate-story-synthesis Consolidates multiple validator reports into single verdict
code-review-synthesis Consolidates code review findings from multiple reviewers
qa-plan-generate Generates QA test plans from requirements
qa-plan-execute Executes generated QA plans

Key Differences from Vanilla BMAD

  • No user interaction - Workflows run non-interactively for automation
  • Context injection - Compiler embeds all needed files (story, architecture, PRD) instead of runtime loading
  • Stdout output - Reports written to stdout with markers (``) for orchestrator extraction
  • Read-only validators - Multi-LLM validators cannot modify files; only Master LLM writes code

Patches are transparent - see .bmad-assist/patches/ for implementation details.

Multi-LLM Orchestration

bmad-assist uses different LLM patterns depending on the workflow phase:

Phase Pattern Description
create_story Master Single LLM creates story for consistency
validate_story Multi (parallel) Multiple LLMs validate independently for diverse perspectives
validate_story_synthesis Master Single LLM consolidates validator reports
dev_story Master Single LLM implements code for consistency
code_review Multi (parallel) Multiple LLMs review independently as adversarial reviewers
code_review_synthesis Master Single LLM consolidates review findings
retrospective Master Single LLM generates retrospective

Why this pattern?

  • Validation & Review benefit from multiple perspectives - different models catch different issues
  • Creation & Implementation need single source of truth - multiple writers cause conflicts
  • Synthesis consolidates parallel outputs into actionable decisions

Per-Phase Model Configuration: You can specify different models for each phase - use powerful models for critical phases, faster models for synthesis. See Configuration Reference for details.

Development

bash
pytest -q --tb=line --no-header
mypy src/
ruff check src/

Community

  • Discord: Join our server - Get help, share workflows, discuss AI-assisted development
  • Issues: GitHub Issues - Bug reports and feature requests
  • BMAD Method Community: Original BMAD community - For questions about the BMAD methodology itself (not bmad-assist tool specific)

License

MIT

Links

  • BMAD Method - The methodology behind this tool
  • Discord Community - Chat, support, and discussions

Issues· 10 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言