klea-serve¶
WIP: coming soon – this CLI is under active development and not yet ready for general use.
Klea agent API server.
Usage: klea-serve [OPTIONS]
Run the API server.
╭─ Options ──────────────────────────────────────────────────────────╮
│ --host TEXT [default: 127.0.0.1] │
│ --port INTEGER [default: 8006] │
│ --reload Enable auto-reload (like │
│ fastapi dev) │
│ --debug Enable debug logging │
│ --profile -p TEXT Config profile name: loads │
│ <name>.json from the │
│ current directory or the │
│ config dir. Use 'template' │
│ to scaffold a new config │
│ and exit. │
│ --install-completion Install completion for the │
│ current shell. │
│ --show-completion Show completion for the │
│ current shell, to copy it │
│ or customize the │
│ installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────╯
Environment variables¶
KLEA_AGENT_ENV_FILEPath to environment file (default:
klea_agent.env).KLEA_AGENT_APP_CONFIG_FILEConfig file used when
--profileis not given (from the env file, the environment, or the defaultklea_agent.json).
Pass --profile <name> to load <name>.json from the current
directory or the config directory; --profile template scaffolds a
new config.