Watch AI coding agent sessions across your machines and projects.
This page is generated from the command tree that driga --help prints, so it
matches the binary built from the same commit. Run driga <command> --help for
the same text in a terminal.
Running driga with no command runs driga summary.
Exit codes: 0 success; 1 failure, refusal or partial completion; 2 invalid
usage or missing required non-interactive input. A command that needs
confirmation exits 2 when stdin is not a terminal unless --yes is passed.
Flag Default Description -h, --helpShow context-sensitive help. --versionPrint the driga version.
Show a one-screen summary. Bare driga opens top in a terminal.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors.
Show a session family and its state signals.
driga flow [<session-id>] [ flags ]
Argument Default Description [<session-id>]Internal session ID (defaults to most recently active live interactive session).
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors. --minutes=<minutes>60Time window: 15, 60 or 240 minutes.
List agents grouped by family.
Without a subcommand, runs driga agents list.
List agents grouped by family.
driga agents list [flags]
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors. --allInclude sessions ended within the last 24 hours.
Show one session by session ID.
driga agents show <session-id> [flags]
Argument Default Description <session-id>Internal session ID.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors.
Confirm and jump to a local session.
driga agents jump <session-id> [flags]
Argument Default Description <session-id>Internal session ID.
Flag Default Description -y, --yesJump without asking for confirmation.
Confirm and terminate a local idle session.
driga agents kill <session-id> [flags]
Argument Default Description <session-id>Internal session ID.
Flag Default Description --forceEscalate survivors to SIGKILL (TerminateProcess on Windows); use —yes to skip confirmation. -y, --yesSkip confirmation; identity and idle checks still apply.
List project status.
Without a subcommand, runs driga projects list.
List project status.
driga projects list [flags]
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors. --at-riskOnly show projects with risk flags. --activeOnly show active projects.
Show project status, worktrees and sessions.
driga projects show <project> [flags]
Argument Default Description <project>Repository name or path.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors.
Refresh opt-in local project summaries through Claude.
driga projects summarize [<project>...] [ flags ]
Argument Default Description [<project> ...]Local project names or paths; requires names or —all.
Flag Default Description --jsonPrint versioned JSON instead of tables. --allSummarize every collected local project.
List attention and completion events.
Without a subcommand, runs driga inbox list.
List inbox events.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors. --allShow all history, including acknowledged and ended events (default: current waits and up to 50 completions from 24h).
Explicitly acknowledge inbox events.
driga inbox ack [<item-id>] [ flags ]
Argument Default Description [<item-id>]Inbox item ID.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --allAcknowledge every unacknowledged item.
Jump to a local inbox item without acknowledging it.
driga inbox jump <item-id>
Argument Default Description <item-id>Inbox item ID.
List orphan process trees.
Without a subcommand, runs driga orphans list.
List orphan candidates.
driga orphans list [flags]
Flag Default Description --project=<project>Scope candidates to one project (path, name, or dot). --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors.
Confirm and terminate an orphan tree.
driga orphans kill [<orphan-id>] [ flags ]
Argument Default Description [<orphan-id>]Orphan candidate ID.
Flag Default Description --machine=<machine>allSelect orphan candidates from this machine, local, or all. --snapshotCollect one snapshot before selecting candidates. -y, --yesSkip confirmation; identity and idle checks still apply. --allSelect all local orphan candidates; verify and confirm each unless —yes. --forceEscalate survivors to SIGKILL (TerminateProcess on Windows); confirmation is still required unless —yes.
List known machines and their connection health.
Without a subcommand, runs driga machines list.
List known machines and connection health.
driga machines list [flags]
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors.
Show one machine (default: local).
driga machines show [<machine>] [ flags ]
Argument Default Description [<machine>]localMachine name, ID, device-ID prefix, or local.
Flag Default Description --project=<project>Scope process detail to one project (path, name, or dot). --snapshotForce one-shot snapshot collection without history. --jsonPrint versioned JSON instead of tables. --no-colorDisable colors. --fullShow all retained MCP trends and full process detail.
Regenerate the local machine identity.
driga machines reset-id [flags]
Flag Default Description -y, --yesApply without asking for confirmation.
Inspect and explicitly clean local agent disk candidates.
Without a subcommand, runs driga cleanup list.
List local disk cleanup candidates.
driga cleanup list [flags]
Flag Default Description --jsonPrint versioned JSON instead of tables. --kind=<kind>Filter by worktree, scratch, or history. --sizesWalk candidate sizes on demand. --whyInclude worktrees that do not qualify, with reasons.
Verify and remove selected local disk candidates.
driga cleanup remove [<candidate-id>] [ flags ]
Argument Default Description [<candidate-id>]Candidate ID to clean after confirmation.
Flag Default Description --jsonPrint versioned JSON instead of tables. --kind=<kind>Filter by worktree or scratch (required with —all); history is report-only. --sizesWalk candidate sizes on demand (30s cap per walk). --allRemove ready candidates of —kind; skip candidates needing review and report failures. --dry-runPrint exact commands after verification without removing anything. -y, --yesConfirm the displayed action without prompting. --include-ignoredAllow listed non-regenerable ignored files for one explicit ID.
Open the interactive session viewer.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --no-colorDisable colors. --theme=<theme>TUI theme: system, light or dark (overrides ui.theme). --tab=<tab>flowInitial tab: flow, projects or machines.
Serve the interactive browser dashboard on loopback.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --since=<since>Only show items since a duration ago or yesterday. --snapshotForce one-shot snapshot collection without history. --listen=<listen>127.0.0.1:0Loopback address and port for the dashboard. --openOpen the dashboard in your browser.
Ask a one-shot Chat question through Claude and driga’s read-only tools.
driga ask <question>... [flags]
Argument Default Description <question> ...One-shot Chat question using Claude and driga’s read-only tools.
Flag Default Description --machine=<machine>allScope to a machine name, ID, device-ID prefix, local, or all. --project=<project>Scope to one project (path, name, or dot). --jsonPrint versioned JSON instead of tables.
Serve read-only MCP tools over stdio.
Read-only MCP server on stdio. Reading never acknowledges inbox items; snapshot mode has no history.
Claude Code: claude mcp add --scope user driga -- driga mcp
Flag Default Description --snapshotForce one-shot snapshot collection for read tools (no history).
Check setup and collection health.
Flag Default Description --jsonPrint versioned JSON instead of tables.
Guide optional setup.
Flag Default Description -y, --yesAccept each optional setup change without asking.
Inspect or edit configuration.
Print the config path.
driga config path [flags]
Flag Default Description --jsonPrint versioned JSON instead of tables.
Print effective values including defaults.
Edit the config with $EDITOR (default vi).
Run the collector (what launchd runs).
Flag Default Description --serveEnable fleet serving alongside collection (overrides fleet.serve). --listen=<listen>Fleet private IP or interface and port (requires serving). --onceCollect once into the persistent database and exit. --cpu-profile=<cpu-profile>Write a CPU profile of the collector to this file. --profile-for=<profile-for>2mHow long —cpu-profile records before it stops.
Manage the collector service.
Install and start the collector service.
Start the collector service.
Stop the collector service.
Restart the collector service.
Show collector service status.
Print collector logs.
driga service logs [flags]
Flag Default Description -f, --followFollow collector log output.
Uninstall the collector service.
Manage agent hooks.
Preview and install agent hooks.
driga hooks install [<adapter>] [ flags ]
Argument Default Description [<adapter>]allAdapter: claude, codex, copilot, or all.
Flag Default Description --dry-runPrint the diff without writing or prompting. -y, --yesApply without asking for confirmation. --otlpConfigure optional metadata-only loopback OTLP instead of hooks. --tracesInclude Claude beta spans (requires —otlp).
Preview and remove Driga’s agent hooks.
driga hooks uninstall [<adapter>] [ flags ]
Argument Default Description [<adapter>]allAdapter: claude, codex, copilot, or all.
Flag Default Description --dry-runPrint the diff without writing or prompting. -y, --yesApply without asking for confirmation. --otlpConfigure optional metadata-only loopback OTLP instead of hooks. --tracesInclude Claude beta spans (requires —otlp).
Show installed agent hooks.
driga hooks status [<adapter>] [ flags ]
Argument Default Description [<adapter>]allAdapter: claude, codex, copilot, or all.
Flag Default Description --otlpShow optional loopback OTLP status.
Inspect fleet identity, serving status and viewers.
List paired machines.
List paired machines.
driga fleet peers list [flags]
Flag Default Description --jsonPrint versioned JSON instead of tables.
Pair with a serving machine.
driga fleet peers add <host> [flags]
Argument Default Description <host>Peer host[:port] (default port 7411).
Flag Default Description -y, --yesSkip confirmation only with —device-id identity pinning. --jsonPrint versioned JSON instead of tables. --name=<name>Local name for the peer. --device-id=<device-id>Require this peer device ID (headless).
Remove a peer locally.
driga fleet peers remove <peer> [flags]
Argument Default Description <peer>Peer name, device ID or machine ID (removed peers with —purge).
Flag Default Description -y, --yesApply without asking for confirmation. --purgeDelete this peer’s cached rows.
List identities trusted to read this machine.
List identities trusted to read this machine.
driga fleet viewers list [flags]
Flag Default Description --jsonPrint versioned JSON instead of tables.
Revoke a viewer immediately.
driga fleet viewers revoke <viewer> [flags]
Argument Default Description <viewer>Viewer name or device ID.
Flag Default Description -y, --yesApply without asking for confirmation.
Open a bounded pairing window.
driga fleet enroll [flags]
Flag Default Description -y, --yesSkip confirmation only with —allow-viewer identity pinning. --allow-ackAllow this viewer to acknowledge inbox items. --allow-viewer=<allow-viewer>Pre-authorize exactly this viewer device ID (headless). --window=<window>Enrollment duration (default fleet.enroll_window, at most 10m).
Regenerate identity; invalidate all pairings.
driga fleet rekey [flags]
Flag Default Description -y, --yesApply without asking for confirmation.
Print this machine’s fleet device ID.
Flag Default Description --jsonPrint versioned JSON instead of tables.
Show the serving collector’s live state.
driga fleet status [flags]
Flag Default Description --jsonPrint versioned JSON instead of tables.
Print the driga version.
Flag Default Description --jsonPrint versioned JSON instead of tables.