Environment shape
An environment is the surface an agent acts on. Create, retrieve, list, update, patch, and restore return it. An agent can also define one inline, inenvironments.
kind decides the shape:
Other kinds in the schema are in preview: using one returns
403 with environment_not_public.
Browser
A browser H runs in the cloud for each session.Browser
Catalog identifier, with an optional single
org/ namespace prefix. Can’t contain :, which pins a revision. Immutable. h/ IDs are H’s reserved, read-only environments.How the agent perceives and drives the browser, one of the modes, keyed by
type.visual (default): acts on screenshots by viewport coordinates. text: reads paginated markdown, no screenshots.visual only. Also include the viewport’s text as markdown with each screenshot. Defaults to false.Start the browser on the agent’s first browser action instead of when the session starts, skipping the initial observation. Defaults to
false.Seconds the agent waits after each action, so the next observation shows the settled page.
0 to 10, default 1.0.A vault the agent signs in to sites with. Must belong to your organization.
A browser profile loaded at start, restoring saved cookies and storage. Must belong to your organization.
Load your default browser profile instead of naming one, creating an empty one on first use. Can’t be combined with
browser_profile_id.Save the session’s final browser state back into the loaded profile when it ends. Requires
browser_profile_id or use_default_browser_profile. Best-effort: if another session is already persisting the profile, the session starts read-only.Proxy settings for a newly provisioned browser. Ignored when
session_id attaches to an existing one. Holds one of:A proxy H provisions:
pool (residential, the default, or datacenter), country (two-letter ISO code), and sticky (keep one exit IP for the session, default true). Credentials never appear in your requests.Your own HTTP, HTTPS, or SOCKS proxy URL, credentials inline, for example
http://user:pass@host:port. Reads back as *** on a session.Desktop
Your own computer, reached through the Python SDK orholo (Your desktop).
Desktop
Catalog identifier, as on a browser.
How the agent perceives and drives the machine, keyed by
type.visual (default): screen, mouse, and keyboard, with a screenshot after each step. shell: commands and files, with the screen and browser through CLIs.shell only. not_required (default), or required to hold each command for your approval unless it starts with one of allowed_commands.shell only. Commands that run without approval, each with any arguments, such as git status.shell only. if_available (default) confines commands on a machine that has the sandbox and runs them as you on one that does not. required runs no command on a machine that cannot confine them.shell only. Hosts confined commands may reach besides the Python and npm registries, such as github.com or *.example.com.The desktop’s command channel. The Python SDK and
holo set it. Set it yourself only to connect from another client.Connect on the agent’s first desktop action instead of when the session starts, skipping the first screenshot. Defaults to
false.Maximum screenshot width,
1 to 1920 pixels. null uses 1920. Screenshots are only shrunk, never enlarged.shell fields: see Settings.