Skip to main content

Get Started

1

Prerequisites

  • Python 3.13+
  • PostgreSQL (local or managed)
  • Docker & Docker Compose (optional)
2

Install dependencies

3

Configure environment

Copy and edit an env file (see .env.development, .env.staging, .env.production). Critical keys: LLM_API_KEY, JWT_SECRET_KEY, POSTGRES_*, optional MCP bases.
4

Run the API

Swagger UI: http://localhost:8000/docs | Metrics: /metrics

Authentication & Sessions

Rate Limiting & CORS

  • Rate limiting via SlowAPI; defaults configurable in app/core/config.py (e.g., RATE_LIMIT_ENDPOINTS).
  • CORS configured in app/main.py from ALLOWED_ORIGINS env var.