---
title: "Create a new Agent"
method: POST
path: "/v1/agents/create"
tags: ["Agent Management"]
---

# Create a new Agent

`POST /v1/agents/create`

Upload a YAML configuration file to create and deploy a new agent. Optionally provide an agent icon (required for AgentStore deployments).

## Response `201`

Successful Response

- CreateAgentResponse — Response after creating a new agent.
  - `request_metadata` ResponseMeta
    - `request_id` string, nullable — Unique request identifier for tracing and support.
  - `agent_id` string, required — Unique identifier of the created agent.
  - `message` string, required — Human-readable result message.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/svahnar/apis/svahnar-apis.md) · [All operations](https://skmtc.net/svahnar/apis/svahnar-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svahnar/svahnar-apis/revisions/02cca47c900a/schema)
