# 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: ```bash make setup-network ```plaintext ## Quick start ```bash # 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 ```plaintext ## Onyx integration In the AIDO / Onyx admin panel, add an OpenAI-compatible provider pointing to: