lap CLI talks to a running LAP instance. If you haven’t deployed one yet, see Installation.
First time? Install the CLI:
1. Log in
MASTER_KEY when prompted. Saved to ~/.lap/config.json.
2. Open an agent
lap spins up a Kubernetes-sandboxed pod running the OpenAI Codex CLI, attaches your local terminal to its TTY over a WebSocket, and drops you straight in.
The harness routes Codex through your LiteLLM gateway by mapping LITELLM_API_BASE / LITELLM_API_KEY → OPENAI_BASE_URL / OPENAI_API_KEY at boot — so Codex talks to your gateway as if it were OpenAI direct.
Press Ctrl-D to detach — the session stays alive for 24h.