---
title: "Create an agent"
method: POST
path: "/api/v1/managed_agents/agents"
tags: ["Agents"]
---

# Create an agent

`POST /api/v1/managed_agents/agents`

## Request body

- CreateAgentRequest
  - `name` string, required
  - `runtime` string, required — Alias of a registered runtime harness
  - `model` string, required
  - `system_prompt` string
  - `memory_enabled` boolean
  - `tools` string[]

## Response `201`

Agent created

- Agent
  - `id` string
  - `name` string
  - `runtime` string
  - `model` string
  - `system_prompt` string
  - `memory_enabled` boolean
  - `tools` string[]
  - `created_at` string, date-time

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/berriai/apis/litellm-agent-platform-api.md) · [All operations](https://skmtc.net/berriai/apis/litellm-agent-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/berriai/litellm-agent-platform-api/versions/63cf31f8069f/schema)
