Start autonomous agents
Start autonomous agents
The TUI is the primary way to spawn and monitor agents. Open it first, then start the system.From the TUI, press Monitor progress from additional terminals:Stop cleanly when done:TUI keyboard shortcuts:
S to spawn agents (prompts for CLI selection) or s to spawn using the configured default CLI. Role names autocomplete from the pipeline config.For a technical-spec entry point (5 agents: orchestrator, code-planner, code-plan-reviewer, coder, code-reviewer):s spawn (default CLI), S spawn (pick CLI), p pause, r resume, a add task, c checkpoint, y toggle auto-resume, Q stop.Pause and resume
Pause and resume
Pause all agents to make manual state adjustments. Paused agents stay alive and wait — they do not exit. Stopped agents exit and must be restarted.If you need to check the system state before resuming:To resume after a sprint completes (two-step advance):
Handle task rejection
Handle task rejection
When a reviewer rejects a task, agents with active coder sessions automatically reclaim rejected tasks and get the rejection feedback in their prompt. For manual handling:Watch for high review cycle counts — 5 or more cycles on the same task usually signals an unclear acceptance criterion in the spec:
Recover from an agent crash
Recover from an agent crash
Use Recover by agent ID:If the agent’s lease has expired, restarting the supervisor works automatically:Both commands are idempotent — safe to run multiple times.
recover-task when you know the task ID. Use recover-agent when you know the agent ID and want full cleanup.Recover by task ID (recommended):Sprint checkpoint
Sprint checkpoint
A sprint checkpoint pauses all agents and generates a sprint summary. Use it at the end of a sprint, before a major direction change, or when you want to review progress before continuing.At a checkpoint, you can also replan if the task breakdown needs adjustment:
Circuit breaker escalation
Circuit breaker escalation
When the circuit breaker trips, all agents halt and the sprint moves to CHECKPOINT. Review the pattern, fix the root cause, then resume.Common patterns and their fixes:
Integration failure recovery
Integration failure recovery
When a task merge fails due to conflicts or test failures, the task moves to INTEGRATION_FAILED with its worktree preserved.
Quick state queries with liza get
Quick state queries with liza get
liza get queries the blackboard state directly. Use it instead of parsing .liza/state.yaml manually.liza get in scripts to avoid parsing YAML:Supersede a task
Supersede a task
Use Supersede with no replacement (work already done externally):
liza supersede-task when a task needs to be replaced with smaller tasks, or when its work was completed externally.Replace with new tasks (split due to complexity):liza supersede-task works from BLOCKED, REJECTED, or any pipeline-declared initial state.Cancel a task
Cancel a task
Use Examples:
liza cancel-task to abandon a task that is no longer needed. The task moves to ABANDONED with an audit trail.cancel-task works on non-approved, non-terminal tasks including active, submitted, and reviewing tasks. It releases Liza state claims and removes the task worktree and branch. It does not kill a live provider process — if an agent is mid-session, it will see its claim released on next heartbeat and exit gracefully.