Skip to main content
Creates a new agent with the specified configuration. You provide a name and custom identifier, and optionally attach a description, model, capabilities, policies, subagents, and other settings. The agent is created at version 1.
Permission required: agent:create

Request Body

name
string
required
Agent name
custom_id
string
required
Custom identifier for external system integration. Must be unique across your agents.
description
string
Agent description
metadata
object
Arbitrary key-value pairs for storing additional agent information
model
string
Model to use for the agent (e.g. gpt-4o, claude-sonnet-4-20250514)
capabilities
array
List of capability identifiers the agent supports (e.g. tool_use, memory_read, memory_write)
policies
object
Execution policies that constrain agent behavior
output
object
Output configuration for the agent
subagents
array
Subagent definitions to attach to this agent
system_prompt
string
System prompt used to instruct the agent
model_settings
object
Model-specific settings such as temperature and max tokens
runtime_bindings
object
Runtime binding configuration for tools and data sources

Response

data
object