Getting Started

Quickstart

Launch lazyagent for the first time and pick an interface.

Once lazyagent is installed, a five-minute tour gets you oriented. For the exhaustive flag reference, jump straight to the CLI reference.

First launch

With no arguments, lazyagent opens the terminal UI and scans every supported agent:

lazyagent

You’ll see a list of sessions on the left and a detail panel on the right. Use / to navigate, tab to switch focus between panels, and q to quit. The full keybinding list lives in Terminal UI.

The three interfaces

lazyagent has three interfaces, selectable by flag (the desktop app bundles all three; the lazyagent-cli formula ships the TUI and API only):

lazyagent              # Terminal UI (default)
lazyagent --gui        # macOS/Linux desktop app
lazyagent --api        # HTTP API on http://127.0.0.1:7421 (Bearer-token protected)

They’re combinable — on a typical desktop setup:

lazyagent --gui --api

runs the desktop app and the API side by side from a single invocation. See macOS GUI, Linux GUI, and Recipes for more combinations.

The first time you launch --api, lazyagent prompts for a passphrase, derives a Bearer token from it (PBKDF2-SHA256), and prints the token to stderr once. Clients can fetch the public salt from /api/auth and derive the same token locally — see HTTP API → Authentication.

Scope to one agent

lazyagent --agent claude    # Claude Code CLI + Desktop
lazyagent --agent codex     # Codex CLI only
lazyagent --agent grok      # Grok CLI only
lazyagent --agent kilo      # Kilo only
lazyagent --agent kimi      # Kimi Code CLI only
lazyagent --agent all       # every agent (default)

Every value for --agent is documented in CLI reference.

Session commands at a glance

The companion commands let you reopen, search, and maintain sessions or inspect usage windows:

lazyagent sessions               # list and reopen sessions for this directory
lazyagent prune --days 30        # delete sessions idle for >30 days
lazyagent compact                # shrink session files in place
lazyagent search "query"         # search local transcripts
lazyagent limits                 # show rate-limit / billing usage summary

prune and compact support --dry-run and an interactive agent picker. Full reference:

Next steps