Create a new agent.
Payload for creating an agent.
model_id accepts either a model-instance UUID configured in the workspace, or a recognized provider identifier (e.g. gpt-4o, claude-3-5-sonnet, openrouter/qwen/qwen-2.5-72b-instruct).
Expose this agent over the A2UI protocol.
'stateless' (each request independent) or 'stateful' (maintains conversation context across runs).
Short summary of what the agent does.
Per-agent event subscriptions.
System prompt / behavioural instructions for the agent.
Model instance UUID or provider model identifier (e.g. 'gpt-4o', 'claude-3-5-sonnet').
Human-readable agent name (unique per workspace).
Enable explicit planning step before execution.
UUIDs of skills to attach to the agent.
Tools attached to the agent (code/mcp/agent/openapi).
Successful Response