Agents
Create an agent
POST
Create an agent
Authorizations
Your LITELLM_MASTER_KEY. Default for local Docker Compose: sk-local
Body
application/json
Example:
"my-agent"
Example:
"local-user"
Built-in runtime ID or registered runtime harness alias. Stored in agent config.
Example:
"cursor"
Example:
"claude-opus-4-5"
Example:
"You are a helpful assistant."
Fallback system prompt when system is omitted.
- object[]
- object
Response
Agent created
Example:
"my-agent"
Example:
"claude-opus-4-5"
Runtime-specific config. For runtime-backed agents this usually includes runtime.
Example:
"paused"
Example:
"claude-code"