> ## 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 three 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 (Holo computer-use models for your own agent harness, OpenAI-compatible, at https://api.hcompany.ai/v1), and HoloTab (a free no-code Chrome extension that runs Holo in the user's browser, with recordable routines and schedules). The `holo` CLI (`pip install "hai-agents[cli]"`) runs Agents API agents from a terminal, drives the user's own desktop with `-a h/holo-desktop`, and serves coding agents through `holo mcp`.
> 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: `holo`.
> 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), or idle for interactive sessions created with `idle_timeout_s`, before reading the answer. Use webhooks or the `changes` long-poll endpoint to follow progress.

# Security and data

> What H keeps, for how long, and who can see it.

## Session data

H deletes each finished session after the retention period in your privacy settings: 1, 5, 10, 20, 30, 60, or 90 days, or no limit. The default is 30 days.

* The period counts from the session's creation, and a session keeps the period that applied when it started. A new setting applies to new sessions.
* Deletion removes the session with its events, screenshots, and traces.
* A running session is never deleted. To delete one sooner, set [`delete_after_min`](https://hub.hcompany.ai/agents-api/sessions/create), counted from when it finishes.
* Screenshots and traces are stored encrypted.

## Who can see a session

By default, a member of your organization sees only their own sessions. Organization owners see every session, and an API key sees what its owner sees. [Get visibility](https://hub.hcompany.ai/agents-api/sessions/visibility.md) tells you which applies to you.

[Share](https://hub.hcompany.ai/agents-api/sessions/share.md) a session to give anyone with the link read access, without a key. [Unshare](https://hub.hcompany.ai/agents-api/sessions/unshare.md) it to revoke the link. H logs every share and unshare.

## Credentials

A [vault](https://hub.hcompany.ai/agents-api/browser/configuration.md#credentials-and-2fa) keeps logins and 2FA secrets out of the agent's reach.

* Values sit in a secret store, never in H's database, which holds only their metadata.
* H types a value into the page itself, so the model never sees it. The page URL it matches against comes from the browser, not from the agent.
* Any member of your organization can [reveal](https://hub.hcompany.ai/agents-api/vaults/reveal-item.md) an item, and H logs every reveal.

[Browser profiles](https://hub.hcompany.ai/agents-api/browser/configuration.md#browser-profiles) keep only sign-in data, cookies and site storage, in encrypted storage that is never public.

## API keys

H stores only a hash of each key, so the [Platform](https://platform.hcompany.ai/settings/api-keys?product=computeruseagents\&source=docs) shows a key once, at creation. Each key belongs to one organization. You, or an organization owner, can delete it at any time.

## Webhooks

* Endpoints must use HTTPS and resolve to a public address.
* Each delivery is signed with your endpoint's secret: [verify the signature](https://hub.hcompany.ai/agents-api/webhooks/overview.md#verifying-deliveries) before you trust it.
* H retries a failed delivery after 30 s, 2 min, 10 min, 30 min, 2 h, 6 h, and 15 h, and disables an endpoint after 50 failures in a row.

## Your machine

On [your desktop](https://hub.hcompany.ai/agents-api/your-desktop.md):

* In shell mode, the agent asks before each command you have not [allowed](https://hub.hcompany.ai/agents-api/your-desktop.md#approve-commands).
* Commands run in a [sandbox](https://hub.hcompany.ai/agents-api/your-desktop.md#sandbox) that cannot read SSH, cloud, Git, or package-registry credentials, the keychain, Chrome's profile, or shell history. Environment variables that look like secrets are unset.
* `cua` and `web` run outside the sandbox: through your screen and your Chrome, the agent can do whatever you can.


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