Skip to content

Create Agent

Browserbase

Browserbase

Create Agent

Create a reusable Browserbase agent. An agent defines a systemPrompt and optional resultSchema that guide its behavior for every run. Only name is required.

ActionAI Tool

Inputs

Name Type Required Description
nametextRequiredHuman-readable name for the agent. Maximum length: 255 characters.
systemPrompttextOptionalSystem prompt that steers the agent's behavior on every run that uses this agent.
resultSchemaobjectOptionalOptional JSON Schema object. Runs referencing this agent will aim to return a result conforming to this schema.
propertiesdynamic objectOptionalSchema properties keyed by output field name. Structure: properties.<field_name> = { type: 'string' | 'number' | 'integer' | 'object' | 'array', description: string, properties?: object, items?: object }. Example: properties.company = {"type":"string","description":"The company name"}.
requiredarray of textOptionalNames of required properties from resultSchema.properties.

Outputs

Name Type Description
statusCodenumberHTTP status code (201 when created successfully)
bodyobjectCreated agent object
agentIdtextUnique identifier for the agent. Use as agentId when creating agent runs.
nametextHuman-readable name for the agent
systemPrompttextSystem prompt applied to every run that uses this agent
resultSchemaobjectJSON Schema that runs referencing this agent aim to conform their result to
createdAttextTimestamp when the agent was created (ISO 8601)
updatedAttextTimestamp when the agent was last updated (ISO 8601)