Create an agent
Agents
Create an agent
Create a reusable agent in your own catalog.
POST
Create an agent
Creates a new custom agent in your catalog. Once created, reference it by
name (e.g. "agent": "my-research-bot") when creating a session, and its environments, skills, and subagents are pulled from the stored configuration.
Returns 201 with the created Agent object.
Request body
The body is the Agent object. See that page for the full meaning of each field; the constraints that matter when creating one are below.Catalog identifier, kebab-case with an optional single
org/ namespace prefix. The h/ prefix is reserved for H employees (rejected with 403 otherwise) and marks the agent as reserved; any other name creates a custom agent, private to your organization. 1–127 characters, immutable after creation.What the agent does. Read by parent agents to decide what to delegate.
At most one per kind. Each item is a string catalog id or an inline Browser environment spec (desktop soon). Required unless the agent only delegates to
subagents (a pure manager needs none).Holo model that runs the agent. Defaults to
holo3-122b-a10b; pass any Holo model id (for example holo3-1-35b-a3b) listed in the Models API. Omit to take the default.Steering text appended to the system prompt.
(preview) Agents this one can delegate to, as catalog id strings or inline agent specs.
Examples
Response
Errors
| Status | Cause |
|---|---|
403 | Attempted to use the reserved h/ namespace without H employee privileges. |
409 | An agent with this name already exists in your catalog. |
422 | Body fails validation; common cases: environments empty on an agent that has no subagents, a duplicate environment kind, or an invalid name shape. |