v1
latestOpenAPI 3.0.0Proprietary2026-07-132885152.8 KBCreate an agent
Create a new agent for the caller's team. Agents can be used as the execution principal for team-owned runs.
Request body
A name for the agent
Optional description of the agent
Optional base prompt for this agent
Optional default cloud environment ID for runs executed by this agent. The environment must be owned by the same team as the agent.
Optional list of skill specs to associate with the agent. Format: "{owner}/{repo}:{skill_path}" (e.g., "warpdotdev/warp-server:.claude/skills/deploy/SKILL.md"). Each spec is validated and normalized at attach time using the team's GitHub credentials; inaccessible or malformed specs are rejected.
Optional base model for runs executed by this agent.
Optional default harness for runs executed by this agent.
Response
Agent created successfully
Unique identifier for the agent
Name of the agent
Optional description of the agent
Optional base prompt for this agent
Default cloud environment ID for runs executed by this agent. The precedence order for environment resolution is:
- The environment specified on the run itself
- The agent's default environment
- An empty environment
Whether this agent is within the team's plan limit and can be used for runs
When the agent was created (RFC3339)
When the agent was last updated (RFC3339)
Ordered list of normalized skill specs associated with this agent. Always present; empty when no skills are attached.
Base model for runs executed by this agent. The precedence order for model resolution is:
- The model specified on the run itself
- The agent's base model
- The team's default model
Default harness for runs executed by this agent. The precedence order for harness resolution is:
- The harness specified on the run itself
- The agent's base harness
- Oz