Kavi

CLI Reference

Complete reference for all Kavi CLI commands.

CLI Reference

Kavi provides a comprehensive set of CLI commands for managing multi-agent sessions, routing tasks, inspecting state, and integrating results.

Session Management

Commands for initializing, starting, and managing Kavi sessions.

CommandDescription
kavi initCreate repo-local config, prompt files, ignore rules, and bootstrap git
kavi doctorVerify system dependencies and local readiness
kavi openCreate a managed session with worktrees and open the TUI
kavi startStart a managed session without the TUI
kavi resumeReopen the TUI for the current repo session
kavi stopStop the background daemon for the current session

Task Management

Commands for creating and inspecting tasks.

CommandDescription
kavi taskEnqueue a task for codex, claude, or auto routing
kavi tasksInspect the session task list with summaries
kavi task-outputInspect normalized envelope and raw output for a completed task
kavi planInspect the current execution graph from the planning pass

Inspection

Commands for viewing session state and progress.

CommandDescription
kavi statusInspect session health, task counts, and routing ownership rules
kavi summaryCohesive session-level view of progress, changes, activity, and readiness
kavi resultCurrent or latest landed outcome with per-agent output
kavi activitySession as a linear activity stream

Routing

Commands for inspecting and previewing task routing.

CommandDescription
kavi routePreview how Kavi would route a prompt
kavi routesInspect recent routing decisions with strategy, confidence, and metadata
kavi pathsInspect resolved repo-local, user-local, worktree, and runtime paths

Review & Decisions

Commands for inspecting review threads, claims, and decisions.

CommandDescription
kavi claimsInspect active and historical path claims
kavi reviewsInspect review threads and follow-up tasks
kavi decisionsInspect routing, approval, task, and integration decisions
kavi eventsInspect recent daemon and task events

Approvals

Commands for managing approval requests.

CommandDescription
kavi approvalsInspect the approval inbox
kavi approve / kavi denyResolve a pending approval request

Recommendations

Commands for managing recommendations from agents.

CommandDescription
kavi recommendInspect recommendations
kavi recommend-applyTurn a recommendation into a queued managed task
kavi recommend-dismissDismiss or restore recommendations

Integration

Commands for landing and merging work.

CommandDescription
kavi landSnapshot worktrees, merge in integration worktree, run validation, fast-forward target branch

Maintenance

Commands for updating and checking Kavi itself.

CommandDescription
kavi updateCheck for and install a newer published Kavi package
kavi versionPrint the installed package version

On this page