Skip to main content
browserbase.createAgent creates a reusable browser agent definition. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.

Example

Inputs

Output

Returns the agent ID, definition, and timestamps. Creating an agent is not replay-safe.