Skip to main content
The Browser (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. The mode field sets what that observation contains and which actions are on the table.
  • Cost and speed track the screenshots. text mode sends no images, so it uses the fewest tokens and runs fastest; visual sends a screenshot every step, and markdown: true adds the full page text on top of it. Default to visual, and switch to text when the task is pure reading.
  • text mode pages through long content. Rather than scrolling, the page is cut into chunk_size-sized chunks; the agent moves between them and each observation tells it which chunk it is on. Raise chunk_size to 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 web observation in visual mode and a textual_web observation in text mode, 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’s instructions.

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.