agtOS exposes three protocol interfaces. Each serves a different use case — pick the one that fits your integration.Documentation Index
Fetch the complete documentation index at: https://docs.agtos.ai/llms.txt
Use this file to discover all available pages before exploring further.
REST API
Port 4102 — 40+ endpointsHealth, chat, memory, scheduling, devices, configuration, and Prometheus metrics. Used by the CLI, dashboard, and external integrations.
WebSocket
Port 3000 — Real-time audioBidirectional PCM audio streaming with session management, transcripts, word timestamps, and TTS playback.
MCP Tools
Port 4100 — 10 built-in toolsVoice, system, memory, workflow, and scheduling tools via Streamable HTTP. Connect from Claude Desktop, Cursor, or any MCP client.
Authentication
All API endpoints support opt-in authentication via theAGTOS_API_KEY environment variable.
- Enabled (production)
- Disabled (development)
When Health endpoints (
AGTOS_API_KEY is set, all /api/* endpoints require a Bearer token:/health, /metrics) remain open for monitoring.Rate limiting
All API endpoints use token bucket rate limiting per client IP:| Scope | Default | Environment Variable |
|---|---|---|
General API (/api/*) | 100 req/min | API_RATE_LIMIT |
| Chat, Tasks, Credentials | 20 req/min | CHAT_RATE_LIMIT |