agent-browser

v0.2.2
io.github.AetherAI3/agent-browser Checked 4 days ago Published 3 months ago

Self-hosted Chrome for AI agents, with a live noVNC view a human can take over.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browser_open

Start the one headed Chrome session and return the live view URL. Give that URL to the human: they can watch this exact session, and take over in it, while you drive. Safe to call twice — it reuses the session that is already open.

browser_navigate

Navigate the session to an http(s) URL and return the page title, final URL and readable text. The server validates the destination and refuses blocked address classes.

ParameterTypeDescription
url *stringAbsolute http(s) URL to open.

browser_read

Read the current page: title, URL, readable text and a bounded accessibility tree. Prefer this over a screenshot — it is structure, not pixels, and it does not spend a vision step unless you ask for the image.

ParameterTypeDescription
include_screenshotbooleanAlso return the PNG as base64. Costs one vision step from the session budget. Default false.

browser_click

Click a CSS selector, or an x/y point in the viewport. Provide one, not both.

ParameterTypeDescription
selectorstringCSS selector to click.
xintegerViewport x coordinate.
yintegerViewport y coordinate.

browser_type

Type text into a CSS selector, or at an x/y point. Text is sent byte for byte. Do not use this for a secret a human should enter — ask them to take over in the live view instead.

ParameterTypeDescription
text *stringText to type.
selectorstringCSS selector to type into.
xintegerViewport x coordinate.
yintegerViewport y coordinate.

browser_press

Press one allowlisted key or combination. Allowed: Enter, Escape, Tab, Backspace, Delete, Space, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End, PageUp, PageDown, Control+A, Control+Z, Control+Shift+Z, Meta+A, Meta+Z, Meta+Shift+Z.

ParameterTypeDescription
key *stringKey to press.

browser_scroll

Scroll the page by a nonzero pixel delta.

ParameterTypeDescription
delta_xintegerHorizontal pixels. Positive scrolls right.
delta_yintegerVertical pixels. Positive scrolls down.

browser_status

Report whether the runtime is up, whether a session is open, how many vision steps remain, and the live view URL to hand to a human.

browser_close

End the session and release the browser. Idempotent. Call this when the task is finished so the single session slot is free.