Skip to main content
Run HoloDesktop CLI commands with the holo command. If you are developing from a source checkout instead of using the installer, prefix commands with uv run.

Commands

Run

Useful options: Hosted mode:
Local mode:
If a runtime is already listening on the same port, --model, --base-url, and --runs-dir require a fresh runtime. Stop the existing runtime or pass a different --port.

Stop a run

While a foreground holo run is active, press Esc twice quickly to stop it. This is a global kill switch, so it works even when Holo holds focus and you cannot reach the terminal (on macOS it needs Input Monitoring permission). You can also press Ctrl+C in the launching terminal, or run holo stop from any other terminal; holo stop --force additionally kills the runtime. For host-launched runs, run holo stop or cancel the request from your MCP or ACP host. Bound risky tasks ahead of time with --max-steps or --max-time-s.

MCP

This command is normally launched by an MCP host, not typed directly. It uses stdio and auto-spawns hai-agent-runtime if no healthy runtime is already listening. Use Use HoloDesktop CLI as an MCP server for host setup.

ACP

This command is normally launched by an ACP host. It uses stdio and spawns the runtime on first use. Use Use HoloDesktop CLI as an ACP sub-agent for host setup.

Install

For Claude Code, run this from the workspace where you want HoloDesktop CLI registered. Claude Code’s MCP configuration is workspace-scoped.

Login

holo login opens a browser sign-in flow, saves HAI_API_KEY to ~/.holo/.env, and writes an identity cache to ~/.holo/profile.json. Rotate or switch identity:

Whoami

This reads local identity state and prints the signed-in account. It exits non-zero if no hosted-mode identity is available.

Doctor

doctor is read-only. Use it when setup, runtime launch, credentials, permissions, or the agent API are failing.