Getting Started
Get Maggus installed and run your first automated task in minutes.
Prerequisites
You need:
- Git
- A terminal
- An AI coding agent on your
PATH:- Claude Code — Anthropic's coding agent (default)
- OpenCode — open-source agent supporting multiple providers
Installation
Download the latest release for your platform from GitHub Releases.
| Platform | Archive |
|---|---|
| Linux (amd64, arm64) | maggus_*_linux_*.tar.gz |
| macOS (amd64, arm64) | maggus_*_darwin_*.tar.gz |
| Windows (amd64) | maggus_*_windows_amd64.zip |
Extract and move the binary to a directory on your PATH:
tar xzf maggus_*_linux_amd64.tar.gz
sudo mv maggus /usr/local/bin/# Extract the zip, then move maggus.exe to a directory on your PATH
# For example, to C:\tools (make sure C:\tools is in your PATH):
Expand-Archive maggus_*_windows_amd64.zip -DestinationPath .
Move-Item maggus.exe C:\tools\First Project Setup
Navigate to any Git repository and run maggus init:
cd your-project
maggus initThis creates:
| Created | Purpose |
|---|---|
.maggus/ | Working directory for plans, run logs, and locks |
.maggus/config.yml | Project configuration (agent, model, includes) |
.gitignore entries | Ensures run logs and internal files aren't committed |
If Claude Code is installed, init also registers the Maggus plan skill so you can generate plans interactively.
No existing repo?
Create one first:
mkdir my-project && cd my-project
git init && git commit --allow-empty -m "Initial commit"
maggus initWriting Your First Plan
Create a plan file at .maggus/plan_1.md:
# Plan: Hello World
## Introduction
A simple plan to verify Maggus works.
## Goals
- Test that Maggus can pick up a task and complete it
## User Stories
### TASK-001: Create a greeting file
**Description:** Create a simple greeting file to verify the setup works.
**Acceptance Criteria:**
- [ ] File `greeting.txt` exists containing "Hello from Maggus!"
### TASK-002: Add a goodbye file
**Description:** Add a second file to confirm multi-task flow.
**Acceptance Criteria:**
- [ ] File `goodbye.txt` exists containing "See you next time!"Key format rules:
- Tasks use
### TASK-NNN: Titleheadings - Acceptance criteria are markdown checkboxes (
- [ ]) - Maggus marks criteria as
[x]when completed
See Writing Plans for the full format reference.
Running Maggus
Start the work loop:
maggus workMaggus will:
- Parse your plan and find the first incomplete task (
TASK-001) - Branch — create
feature/maggustask-001if you're on a protected branch (main/master/dev) - Prompt — build a detailed prompt with your task, acceptance criteria, and project context
- Invoke the AI agent (Claude Code by default) to complete the task
- Commit — the agent's changes are committed automatically
- Loop — move on to
TASK-002and repeat until all tasks are done
Sample startup output:
Maggus v1.0.0 abc123
[████████░░░░░░░░░░░░] 0/2 Tasks
TASK-001: Create a greeting file
◐ Working...Choosing an agent
By default, Maggus uses Claude Code. To use OpenCode instead, set it in your config:
# .maggus/config.yml
agent: opencode
model: openai/gpt-4.1Or pass --agent opencode on the command line. See the Configuration reference for details.
Understanding the Output
While Maggus runs, the TUI (terminal UI) shows:
| Section | What it shows |
|---|---|
| Header | Version, host fingerprint, progress bar (N/M Tasks) |
| Task info | Current task ID and title |
| Spinner & status | What the agent is doing right now (reading files, writing code, running commands) |
| Tool history | Recent tools the agent has used |
| Tokens | Input/output token usage for the current task (Only updated after task completion) |
| Elapsed | Time spent on the current task |
Tabs: Press 1–4 to switch between Progress, Detail, Task, and Commits views. Use ←/→ arrow keys to navigate tabs.
When a task completes, Maggus commits the changes and immediately moves to the next task. When all tasks are done (or remaining tasks are blocked), you'll see a summary screen with:
- Total tasks completed
- Commit range
- Remaining/blocked tasks (if any)
- Token usage breakdown
From the summary screen you can choose Exit or Run again (with a custom task count).
Keyboard shortcuts during work:
| Key | Action |
|---|---|
←/→ or 1-4 | Switch tabs |
↑/↓ | Scroll (on Detail tab) |
Home/End | Jump to top/bottom |
Alt+S | Stop after current task (with confirmation) |
Ctrl+C | Interrupt immediately |
Next Steps
- Writing Plans — learn the full plan format, blocked tasks, and multi-plan workflows
- Maggus Skills — generate plans, vision, and architecture docs with AI
- Terminal UI — explore the main menu, work view, status view, and more
- Concepts — understand the work loop, git behavior, run logs, and project memory
- CLI Commands — explore all available commands (
status,list,clean, and more) - Configuration — customize agent, model, includes, and notifications