# Create an agent **POST** `/v1/agents` **Operation ID**: `create_2` **Summary**: Create an agent Creates an agent with the given model configuration, tools and prompt. ## Tags - Agents ## Request Body **Content-Type**: `application/json` **Schema**: `AgentConfigCreate` ## Responses ### 200 Agent created successfully - **Content-Type**: `application/json` / `AgentConfig` ### 400 A referenced model or MCP integration does not exist ### 401 Unauthorized