> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmagent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 에이전트 API

> 프로그래밍 방식으로 에이전트를 생성, 구성 및 상호 작용합니다.

# 에이전트 API

## 에이전트 나열

```bash theme={null}
GET /api/agents
```

## 에이전트 생성

```bash theme={null}
POST /api/agents
```

```json theme={null}
{
  "name": "Research Assistant",
  "model": "gpt-4o",
  "tools": ["browser", "file_system"],
  "system_prompt": "You are a research assistant..."
}
```

## 메시지 보내기

```bash theme={null}
POST /api/agents/:id/messages
```

```json theme={null}
{
  "content": "Research the AI agent market in 2026"
}
```

## 대화 기록 가져오기

```bash theme={null}
GET /api/agents/:id/messages
```
