---
title: "Create Agent"
method: POST
path: "/v1/agents/"
tags: ["v1", "protected", "agents"]
---

# Create Agent

`POST /v1/agents/`

Create a new agent.

## Request body

- AgentCreate
  - `a2ui_enabled` boolean, nullable
  - `agent_type` string, required
  - `description` string, required
  - `events_config` EventsConfig
    - `events` EventConfig[], nullable
      - `config` object, nullable
      - `enabled` boolean
      - `event_type` string, required
  - `instruction` string, required
  - `model_id` string, required
  - `name` string, required
  - `planning` boolean, nullable
  - `skill_ids` string[], nullable
  - `tools` ToolConfigYAML[], nullable
    - `name` string, required
    - `settings` ToolSettingsYAML — Tool settings configuration in YAML format.
      - `a2a_url` string, nullable
      - `allowed_tools` string[], nullable
      - `description_override` string, nullable
      - `disabled_methods` string[], nullable
      - `requires_user_confirmation` boolean, nullable
    - `type` 'code' | 'mcp' | 'agent', required

## Response `200`

Successful Response

- AgentResponse
  - `a2ui_enabled` boolean, nullable
  - `agent_type` string
  - `description` string, nullable
  - `events_config` object, nullable
  - `id` string, uuid, required
  - `instruction` string, nullable
  - `model_id` string, nullable
  - `name` string, required
  - `planning` boolean, nullable
  - `status` string, required
  - `tools` ToolConfigYAML[], nullable
    - `name` string, required
    - `settings` ToolSettingsYAML — Tool settings configuration in YAML format.
      - `a2a_url` string, nullable
      - `allowed_tools` string[], nullable
      - `description_override` string, nullable
      - `disabled_methods` string[], nullable
      - `requires_user_confirmation` boolean, nullable
    - `type` 'code' | 'mcp' | 'agent', required

## Other responses

- `422` — Validation Error

## Changes

- **2026-03-30** `e9c153221160` — 11 breaking, 4 warning, 11 info
  - added the new required request property `tools/anyOf[subschema #1]/items/name`
  - added the new required request property `tools/anyOf[subschema #1]/items/type`
  - the request property `agent_type` became required
  - the request property `description` became required
  - …22 more

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/agents/post.md)

---

[API](https://skmtc.dev/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.dev/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/revisions/e9c153221160/schema)
