Create agent

POST/v1/agents

Create a new agent configuration. Managed models include Claude 4.6/4.5 and Gemini 3/3.1. Team and Enterprise workspaces can also use connected external models from /agents/models.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
idstringNoOptional custom agent ID.
namestringYesHuman-readable agent name.
descriptionstringNoShort summary of the agent's purpose.
modelstringYesModel identifier for the agent. Built-in managed models: - `claude-opus-4-6` - `claude-sonnet-4-5` - `claude-haiku-4-5` - `gemini-3-flash` - `gemini-3-1-pro` Team and Enterprise workspaces can also use connected external models in the form `external:{providerType}:{urlEncodedModelId}`. Use `GET /agents/models` to discover the exact managed and external model IDs available in the current workspace.
instructionsstringNoSystem instructions that define how the agent should operate.
binaryClaude Code CLINoExecution binary used for the agent runtime.
reasoningEffortminimal | low | medium | highNoReasoning intensity used by the execution runtime.
enabledSkillsstring[]NoSkill IDs enabled for the agent.
deepResearchModelgemini-3-flash-preview | gemini-3-pro-previewNoOptional model override used by the deep research skill when enabled.
metadataobjectNoOptional agent metadata, including advanced workspace-specific configuration.
isDefaultbooleanNoInternal/default-agent flag. Most clients should omit this.
isSystembooleanNoInternal/system-agent flag. Most clients should omit this.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201Agent createdapplication/json
FieldTypeRequiredDescription
agentobjectNo
agent.idstringNoUnique identifier.
agent.userIdstringNoUser ID.
agent.projectIdstringNoProject ID.
agent.namestringNoHuman-readable name.
agent.descriptionstringNoHuman-readable description.
agent.modelstringNoModel identifier for the agent. Built-in managed models: - `claude-opus-4-6` - `claude-sonnet-4-5` - `claude-haiku-4-5` - `gemini-3-flash` - `gemini-3-1-pro` Team and Enterprise workspaces can also use connected external models in the form `external:{providerType}:{urlEncodedModelId}`. Use `GET /agents/models` to discover the exact managed and external model IDs available in the current workspace.
agent.instructionsstringNo
agent.binaryClaude Code CLINoExecution binary used for the agent runtime.
agent.reasoningEffortminimal | low | medium | highNoReasoning intensity used by the execution runtime.
agent.enabledSkillsstring[]NoSkill IDs enabled for this agent, for example `deep_research` or custom installed skills.
agent.deepResearchModelgemini-3-flash-preview | gemini-3-pro-previewNoOptional model override used by the deep research skill when enabled.
agent.isDefaultbooleanNo
agent.isSystembooleanNo
agent.isActivebooleanNo
agent.metadataobjectNoFree-form metadata object.
agent.createdAtstringNoISO 8601 timestamp.
agent.updatedAtstringNoISO 8601 timestamp.
agent.lastRunAtstringNo
Create agent
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow