User Guides¶
In-depth guides for working with Brat's features.
Guides by Topic¶
-
Using the Mayor
Start the AI orchestrator, ask questions, and create work.
-
Managing Convoys
Create, monitor, pause, and complete convoys.
-
Managing Tasks
Add tasks, assign agents, track progress, and close.
-
Web Dashboard
Monitor and control agents through the web UI.
-
Workflow Templates
Create reusable workflows for common patterns.
-
Troubleshooting
Common issues and how to fix them.
Common Workflows¶
Bug Fixing¶
- Start the Mayor:
brat mayor start - Ask to analyze:
brat mayor ask "Analyze src/ for bugs" - Review tasks:
brat status - Spawn agents:
brat witness run --once - Merge fixes:
brat refinery run --once
Feature Development¶
- Create convoy:
brat convoy create --title "New feature" --goal "Add X" - Add tasks:
brat task add --convoy <id> --title "Implement Y" - Run agents:
brat witness run --once - Review and merge:
brat refinery run --once
Code Review¶
- Start Mayor:
brat mayor start - Ask for review:
brat mayor ask "Review the changes in src/" - View feedback:
brat status
Choosing a Workflow¶
| Goal | Approach |
|---|---|
| Find and fix bugs | Use Mayor to analyze, then spawn agents |
| Implement a feature | Create convoy manually, add specific tasks |
| Review code | Use Mayor for analysis |
| Refactor | Create convoy with targeted tasks |
| Quick single task | Use --solo flag |
Getting Help¶
- Troubleshooting - Common issues
- CLI Reference - All commands
- Configuration - Customize behavior