---
title: "Create Agent"
method: POST
path: "/v1/orchestrator/agents"
tags: ["Agent Orchestrator"]
---

# Create Agent

`POST /v1/orchestrator/agents`

## Request

- Base URL: `https://api.grafomem.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.grafomem.com/v1/orchestrator/agents`
- Auth: none declared

Create a new agent definition.

## Request body

- CreateAgentRequest: Request body for POST /v1/orchestrator/agents.
  - `name` string, required
  - `role` string
  - `description` string
  - `model_id` string, required
  - `fallback_models` string[]
  - `system_prompt` string, required
  - `memory_stores` string[]
  - `tools` string[]
  - `max_steps` integer
  - `max_tokens_per_step` integer
  - `temperature` number
  - `enabled` boolean
  - `agent_key` string, nullable
  - `agent_handle` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/grafomem/apis/grafomem-cloud.md) · [All operations](https://skmtc.dev/grafomem/apis/grafomem-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/grafomem/apis/grafomem-cloud/revisions/a472af705375?raw)
