h/web-surfer-flash agent. The CLI and SDK forms block until there is an answer; the raw POST returns the session immediately, and you follow it through its lifecycle. The h/ prefix marks H’s pre-built agents; agents you create have no prefix.
You need an API key first: create one at platform.hcompany.ai/settings/api-keys and set it as HAI_API_KEY in your environment, or let hai login do both.
How it fits together
The building blocks, each with a dedicated page:
This API is in beta and still evolving. Send questions or bug reports to support@hcompany.ai.
Get started
Quickstart
Create your first agent session in under 5 minutes. Start here.
SDKs
Install the Python or TypeScript client and skip the polling boilerplate.
Use cases
See it in action: QA a live page from Claude Code, or drive a browser checkout from a plain-language prompt.
Session lifecycle
See agent, environment, and session come together at runtime.
Agent View
Watch a session live or replay it afterward to debug, monitor, and follow your agents.
Plans and limits
Plans, token and concurrency allowances, and how to manage your subscription.
What’s next
Two things are coming, with no firm dates while the API is in beta:- Remote desktop VMs. A Mac, Windows, or Linux VM that H provisions in the cloud and the agent drives end to end: file management, native apps, multi-window flows. The same agent and session lifecycle you use for the browser today, on a full desktop. To drive the desktop on your own machine today, see Local desktop.
- Background local desktop. Local desktop drives the screen in front of you today, so the agent shares your mouse and keyboard. Next, it will bind to individual background apps, so a session runs in its own window while you keep using your machine.