Quickstart¶
Get up and running with Brat in 5 minutes.
Initialize Your Repository¶
Navigate to your project and initialize both Grite and Brat:
This creates:
refs/grite/wal- The append-only event log.brat/config.toml- Brat configuration file
Check Status¶
View the current state of your harness:
You'll see an empty status initially since there are no convoys or tasks yet.
Start the Mayor¶
The Mayor is Brat's AI orchestrator. Start it:
Ask the Mayor to analyze your code:
The Mayor will:
- Scan your codebase
- Identify issues
- Create a convoy with tasks for each issue
View Tasks¶
Check what the Mayor created:
You'll see convoys and tasks with their current status.
Spawn Agents¶
Run the Witness to spawn AI agents that work on tasks:
This:
- Picks up queued tasks
- Spawns AI coding agents in isolated worktrees
- Monitors their progress
Monitor Progress¶
Watch the status in real-time:
Or open the web dashboard:
Next Steps¶
- Your First Convoy - Detailed tutorial
- Using the Mayor - Learn Mayor commands
- Web Dashboard - Dashboard features