browserbase.runAgent starts an autonomous browser task. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Start an autonomous browser task.
browserbase.runAgent starts an autonomous browser task. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"
export default automation("Run Browserbase agent", () => {
onInvocation()
browserbase.runAgent({
agentId: "agent-id",
task: "Summarize the release notes",
})
})
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
task | string | Yes | — | Task for the agent. |
agentId | string | No | No reusable agent | Reusable agent definition. |
browserSettings | object | No | Provider defaults | Context, proxies, and verified-browser settings. |
resultSchema | Record<string, JSON> | No | Agent default | Per-run JSON Schema. |
variables | Record<string, { value: string; description?: string }> | No | None | Named task variables. |