Building blocks
Run an agent
Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run Holo-powered computer-use agents that do work in a cloud browser or on a desktop: pre-built agents, custom agents, live sessions, skills, vaults.
| Concept | What it is |
|---|---|
| Agent | A reusable configuration: environments, model, skills, instructions. Use a pre-built agent or create your own. |
| Environment | What the agent sees and acts on: a cloud browser, or your own browser or desktop with local control. |
| Session | One run of an agent on a task, with a lifecycle you can steer. |
| Skill | An optional instruction fragment the agent loads when a task matches. |
from hai_agents import Client
client = Client()
result = client.run_session(
agent="h/web-surfer-flash",
messages="Open Hacker News and list the top 3 stories with their URLs.",
)
print(result.answer)
Was this page helpful?