---
title: "Register an agent and create a Knowledge Brain"
method: POST
path: "/brain/setup"
---

# Register an agent and create a Knowledge Brain

`POST /brain/setup`

## Request

- Base URL: `https://stremai.com/api/v1`
- URL: `https://stremai.com/api/v1/brain/setup`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required: Agent name
  - `framework` string: Agent framework (codex, claude-code, openclaw, etc.)

## Response `200`

Agent registered, brain configured

---

[API](https://skmtc.dev/aiagentsbay/apis/stremai-api.md) · [All operations](https://skmtc.dev/aiagentsbay/apis/stremai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiagentsbay/apis/stremai-api/revisions/8b60381f8354?raw)
