> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> H Platform has four products: the Agents API (managed computer-use agents, base URL https://agp.eu.hcompany.ai/api/v2 or https://agp.hcompany.ai/api/v2 for the US), the Models API (OpenAI-compatible Holo vision-language models at https://api.hcompany.ai/v1), HoloDesktop CLI (Holo on the user's own desktop), and HoloTab (a free no-code Chrome extension that runs Holo in the user's browser, with recordable routines and schedules).
> Authenticate with a bearer API key from the HAI_API_KEY environment variable. SDKs: `pip install hai-agents` (Python, `from hai_agents import Client`) and `npm install hai-agents` (TypeScript, `import { HaiAgentsClient } from "hai-agents"`). CLI: `hai`.
> Agents do work in a browser or on a desktop; describe the task as an imperative instruction. To run a task quickly, prefer the pre-built agent `h/web-surfer-flash`. Read results from the session's `latest_answer` after it reaches a terminal status.
> Sessions are the unit of work; wait for a terminal status (completed, failed, timed_out, interrupted) before reading the answer. Use webhooks or the `changes` long-poll endpoint to follow progress.

# HoloDesktop CLI

> HoloDesktop CLI runs H's Holo computer-use model on your own Mac, Windows, or Linux desktop, from the terminal or from agent hosts like Claude Code, Cursor, and Codex.

export const YouTube = ({id, title}) => <iframe className="aspect-video w-full rounded-xl border-0" src={`https://www.youtube-nocookie.com/embed/${id}?rel=0&modestbranding=1`} title={title} loading="lazy" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />;

<Frame>
  <YouTube id="iHfKP7tLewU" title="Introducing HoloDesktop CLI" />
</Frame>

HoloDesktop CLI gives Holo your screen, mouse, and keyboard. Hand it a task in plain words and it works through your real apps until the task is done. Start with the [quickstart](/holo-desktop-cli/getting-started/quickstart).

## Two ways to run it

| Surface | Command | When |
| - | - | - |
| Terminal | `holo run "task"` | One-shot tasks you type yourself |
| Agent host | `holo install` | Claude Code, Cursor, Codex, and other MCP hosts hand desktop work to Holo |

Holo runs on H's hosted Models API by default. To keep every screenshot and keystroke on your machine, point it at your own model server. See [Models](/holo-desktop-cli/getting-started/quickstart#models).

## HoloDesktop CLI or the Agents API?

HoloDesktop CLI is a thin CLI over Agents API [local mode](/agents-api/local-mode).

| Option | Agent runs | Drives | Use it for |
| - | - | - | - |
| HoloDesktop CLI | Your machine | Your desktop | A ready-made `holo` command and MCP tool, with your `~/.holo` instructions and skills |
| Agents API [local mode](/agents-api/local-mode) | Your machine | Your browser or desktop | Desktop or browser sessions from your own Python code (`Client.local()`) |
| Agents API [local control](/agents-api/local-control) | H's cloud | Your browser or desktop | Cloud agents that act on your machine |

## How it works

```text theme={"system"}
holo run / holo mcp ──► hai-agents SDK ──► hai-agent-runtime ──► Holo4 (hosted, or your server)
   your ~/.holo          desktop control      the agent loop
```

| Piece | Owns |
| - | - |
| `holo` | The terminal command, the MCP server, host wiring, your `~/.holo` context |
| `hai-agents` SDK | Runtime download and launch, sign-in, desktop control, the kill switch, one agent per desktop |
| `hai-agent-runtime` | The agent: planning and model calls |

Everything except the model call runs on your machine. The agent drives the screen in front of you, so it shares your mouse and keyboard while it works.

## Supported platforms

| Platform | Runtime |
| - | - |
| macOS, Apple Silicon | Downloaded on first run. Needs Screen Recording and Accessibility permissions. |
| Windows, x86\_64 and ARM64 | Downloaded on first run. No extra permissions. |
| Linux x86\_64 | Downloaded on first run. Needs glibc 2.34 or newer (Ubuntu 22.04, Debian 12, RHEL 9). |
| Other platforms | Bring your own: put `hai-agent-runtime` on `PATH`. See [Runtime](/holo-desktop-cli/reference/configuration#runtime). |

## Roadmap

* **Background mode.** The agent binds to its own window, so you keep using your machine while it works.
* **Native app.** The same agent as a desktop app that needs no terminal.

Requests: [support@hcompany.ai](mailto:support@hcompany.ai). Hosted runs need an API key: create one on [H Platform](https://platform.hcompany.ai/?product=modelsapi\&source=docs), then run `holo login`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.