Skip to main content

Command-Line Reference

Flags

FlagAliasDescription
--bridge-bStarts the server in Zed ACP JSON-RPC 2.0 Bridge mode.
--help-hPrints the CLI help menu showing usage and exits.

If no flags are supplied, the CLI defaults to the Interactive REPL mode.

Environment variables

VariableRequiredDescription
PATBA_API_KEYYesAPI key used to authenticate with the remote agent service. Can be set via .env or the shell environment. See Configuration.

Exit codes

  • The process exits with code 1 if PATBA_API_KEY is missing, or if the initial remote thread creation fails in REPL mode.
  • Typing exit or quit in the REPL exits cleanly with code 0.