holo-desktop checkout:
Commands
| Command | Purpose |
|---|---|
holo run | Run one foreground task on the visible desktop. |
holo mcp | Run the stdio MCP server. |
holo acp | Run the stdio ACP server. |
holo install | Wire HoloDesktop CLI into a supported host. |
holo login | Sign in to H Company for hosted mode. |
holo whoami | Print the cached hosted-mode identity. |
holo doctor | Diagnose runtime, login, agent API, permissions, and ~/.holo. |
holo stop | Request that the active run stop. |
holo guard | Run the double-Esc listener used by headless host surfaces. |
Run
| Option | Purpose |
|---|---|
--base-url URL | Use a local OpenAI-compatible model endpoint. |
--model NAME | Select the hosted model ID or local model ID. |
--max-steps N | Stop after at most N agent steps. |
--max-time-s SECONDS | Stop after a wall-clock timeout. |
--runs-dir DIR | Write runtime run logs somewhere other than the binary default. |
--port PORT | Use a non-default agent API port. Defaults to 18795. |
--quiet | Print only the final answer. |
--profile | Print timing output from the runtime event log at exit. |
--expand | Print every step as a full panel. |
--model, --base-url, --runs-dir, and --fake require a fresh runtime. Stop the existing runtime or pass a different --port.
Stop
holo stop writes a local stop signal that the active run checks while it is streaming events. This is the terminal fallback for CLI, MCP, ACP, and other host-launched runs.
Force stop only when the normal stop request does not respond:
--force kills the runtime process. It is the instant stop path, but it can leave a host-side MCP or ACP call in an error state until the host is restarted or retries the tool call.
During an interactive holo run, you can also press Esc twice quickly. Double-Esc sends the same stop signal, then the run pauses and cancels at the next safe point.
Guard
holo guard listens for double-Esc outside an interactive terminal run. It is mainly used by headless surfaces such as MCP and ACP, where the host process owns stdio and the user may not have terminal focus.
holo install can install the guard as an OS-level startup service for supported platforms. On macOS, grant Input Monitoring to the guard when prompted so the double-Esc listener can receive key events.
MCP
hai-agent-runtime if no healthy runtime is already listening.
Use Use HoloDesktop CLI as an MCP server for host setup.
ACP
Install
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
Doctor
doctor is read-only. Use it when setup, runtime launch, credentials, permissions, or the agent API are failing.