kind: "web") is the environment H ships today: a managed web browser the platform provisions per session, or, with local control, Chrome on your own machine. Reference a built-in browser by catalog name (like "h/browser"), or define one inline in an agent’s environments list.
When you define a Browser inline, only id is required; every other field has a default. Reference a catalog entry instead and it supplies them for you.
Modes
At each step the agent receives a fresh observation of the page, then chooses one action. Themode field sets what that observation contains and which actions are on the table.
- Cost and speed track the screenshots.
textmode sends no images, so it uses the fewest tokens and runs fastest;visualsends a screenshot every step, andmarkdown: trueadds the full page text on top of it. Default tovisual, and switch totextwhen the task is pure reading. textmode pages through long content. Rather than scrolling, the page is cut intochunk_size-sized chunks; the agent moves between them and each observation tells it which chunk it is on. Raisechunk_sizeto fit more per step, at the cost of more tokens per observation.- Watch what the agent saw. Every observation rides the event stream, as a
webobservation invisualmode and atextual_webobservation intextmode, so you can replay each step exactly as the agent perceived it.
Mode fields
mode is an object selected by type. Each shape carries only the fields that apply to it, so illegal combinations cannot be expressed.
visual (default) renders screenshots and acts by viewport coordinates:
text serves read-only paginated markdown with no screenshots:
Text-mode browser
Actions
Each mode fixes the set of actions available to the agent. It chooses them autonomously as it works; you never call them directly and there is no per-agent tool list to configure. To shape how it uses them, set the agent’sinstructions.
Next steps
Profiles
Start a session already signed in from saved cookies and storage.
Proxy
Egress through an H-managed proxy or one you operate.