Skip to main content

CLI reference

Status: implemented.

Use interface/cli.RunApp to expose the repository CLI modes for an AgentServer.

The CLI expects a subcommand:

worker <subcommand>

Modes

ModePurpose
startRun the worker process.
devRun development mode, including reload behavior where configured.
connectConnect to a room from the CLI path.
consoleRun local console interaction in text or audio mode.
download-filesRun plugin download hooks.

Console usage

The source-backed console usage is:

worker console [--text|--audio] [--record] [--input-device <device>] [--output-device <device>]

Worker options

CLI parsing applies LiveKit URL, API key, API secret, log level, dev/reload settings, and drain timeout to worker.AgentServer.Options.

Evidence:

  • interface/cli/cli.go
  • interface/cli/cli_test.go
  • interface/cli/watcher.go