aido-litellm/README.md
2026-09-30 23:15:35 +02:00

1.1 KiB

aido-litellm

Standalone LiteLLM proxy stack for the AIDO / Onyx ecosystem.

Architecture

  • proxy — LiteLLM main-stable image, config-mounted read-only.
  • db — Postgres 16 Alpine for spend logs, user keys and model config persistence.
  • redis — LRU-bounded Redis for router caching and cooldown state.

Cross-stack connectivity is provided by the external Docker network aido-llm. AIDO's api_server and background services attach to the same network so Onyx can reach the proxy internally at http://litellm-proxy:4000.

Prerequisites

  • Docker Engine >= 24.x with Compose v2
  • Traefik (or another reverse proxy) on the web network if you intend to use the FQDN labels
  • The aido-llm Docker network must exist before the first start:
make setup-network

Quick start

# 1. Prepare environment
cp .env.example .env
# Edit .env: set LITELLM_FQDN, INFOMANIAK_API_KEY, and generate secrets.

# 2. Start the stack
make up

# 3. Verify health
curl http://localhost:4000/health/liveliness

Onyx integration

In the AIDO / Onyx admin panel, add an OpenAI-compatible provider pointing to: