LLM orchestration and management
One OpenAI-compatible gateway in front of self-hosted GPU workers and cloud providers, with policy-based routing, scheduling, usage logging, billing and monitoring.
Documentation · User Guide · Administrator Guide · Developer Guide
▶ Watch the 60 s trailer on the documentation homepage.
- One API for every model. Clients use the OpenAI APIs they already know — Chat Completions, Responses, audio, files and batches — against one endpoint, whether the model runs on your own GPUs or at Azure or OpenAI.
- Policies decide where a request goes. Routing weighs privacy, priority, cost and quality, so sensitive data stays on self-hosted workers and cheap requests do not land on expensive models.
- Your GPUs, fully used. The orchestrator schedules requests across vLLM lanes on worker nodes, wakes and sleeps lanes on demand and calibrates VRAM profiles automatically.
- Teams, keys and budgets. Every request belongs to a team and an API key, with per-model permissions, monthly budgets and rate limits.
- Everything is measured. Requests, tokens, cold starts and cloud cost are logged and shown live; nightly benchmarks keep latency and throughput numbers current.
- Spare capacity does work. Coding agents run in isolated containers on capacity that interactive traffic leaves unused.
| Topic | Where to find it |
|---|---|
| Documentation | https://logososs.github.io/Logos/ |
| Call the API | User Guide → API usage |
| Install and operate Logos | Administrator Guide |
| Add a GPU worker node | Worker node |
| System design and architecture | System design · Architecture reference |
| What each role can do | Logos Admin · App Admin · App Developer |
| Local development setup | Developer Guide → Local setup |
| Security policy | SECURITY.md |
| Code of conduct | CODE_OF_CONDUCT.md |
| Report a bug or request a feature | Issues |
Run the full stack locally from the repository root, then start the web application:
docker compose -f docker-compose.dev.yaml up --build
cd logos-ui && npm ci && ng serveOpen http://localhost:4200 and select Sign in. The local Keycloak realm
(keycloak/tum-realm.json) seeds these identities with the password password. Logos seeds their development roles.
| Username | Role | Use it for |
|---|---|---|
tobias.wasner |
logos_admin |
Everything, including providers, team privacy and workers |
alexandra.szuminska |
app_admin |
Teams, users and models |
henriette.huhn, blub.fisch, fridoline.fuchs |
app_developer |
Using models through a team |
pech.vogel |
app_developer |
The no-team and no-access screens |
A fresh stack has no teams, so app_developer accounts see nothing until they join one.
Local development shows how to import members by CSV or add them individually.
The interactive API reference is served at /docs (Swagger). A GET /v1 returns 404 by design.
| Area | What it does |
|---|---|
| OpenAI-compatible API | /v1/chat/completions, /v1/responses, embeddings and models, streaming included; one API key per team member or application |
| Audio | /v1/audio/transcriptions and /v1/audio/translations against cloud Whisper deployments or compatible worker backends |
| Batch processing | The OpenAI Batch API (/v1/files, /v1/batches); runs at the provider's batch rate where possible, otherwise inside Logos at the lowest queue priority. The Batches page does the same without a script |
| Async jobs | POST /jobs/v1/chat/completions returns 202 with a Location header; poll GET /jobs/{job_id} |
| Decision models | POST /v1/systemone answers typed questions (yes/no, choice, score) with calibrated probabilities |
| Policies and routing | Select a model and provider per request by privacy, priority, cost and quality |
| Scheduling and capacity | Queues requests across vLLM lanes; the capacity planner sleeps idle lanes, wakes lanes on demand and tunes GPU memory utilization |
| Worker nodes | GPU machines dial out to the core node over WebSocket, so they need no inbound ports; VRAM profiles are calibrated automatically and stored centrally |
| Benchmarks | Manual benchmarks with saved request datasets, plus a nightly rotation that compares batching parameters per model and worker |
| Teams, keys and budgets | Teams with members, application keys, per-model permissions, monthly budgets and rate limits |
| Statistics and billing | Live requests, tokens, cold starts, lane health and cloud cost; spend per team over time |
| Coding agents | Runs coding agents in isolated containers on spare serving capacity; AI Tools connects Claude Code or OpenCode in guided steps |
| Context windows | The window follows the KV cache of the serving lane; GET /v1/models reports what each model can take |
| Passkey login | WebAuthn passkey sign-in directly in the web application |
Every client request enters through one gateway (logos-rate-gateway, then traefik), which
load-balances it onto one of the logos-webservice replicas, the only component that runs ×N. The
web service authenticates the request and checks the budget, then calls the cloud provider directly
or hands local and mixed requests to logos-orchestrator, which schedules them onto GPU worker
nodes. Workers dial out to the orchestrator over WebSocket, so they need no inbound ports.
The system design covers the deployment view, the data model and the request flow. The request lifecycle reference describes the classification, scheduling, context-resolution, forwarding and completion boundaries.
| Directory | Stack | Contents |
|---|---|---|
logos-orchestrator/ |
Python 3.13, FastAPI, uv | Core proxy: authentication, classification, scheduling, provider routing, request logging |
logos-webservice/ |
Java 25, Spring Boot | Management REST API and public inference gateway (/v1, /openai, /jobs); owns the PostgreSQL schema (Liquibase) |
logos-ui/ |
Angular | Web application for teams, keys, models, statistics and billing |
logos-workernode/ |
Python | GPU worker-node control plane: vLLM lane lifecycle, calibration, WebSocket bridge |
logos-node-manager/ |
Python | Deploys GPU worker nodes |
logos-agent/ |
Python, FastAPI | Runs coding agents in isolated containers |
e2e/ |
pytest, Playwright | GPU-less end-to-end suite |
docs/ |
Docusaurus | User, administrator and developer documentation |
agent-gateway/, rate-limit-gateway/ |
nginx | Edge proxies around the agent runner and the orchestrator |
keycloak/ |
— | Development realm |
db/ |
— | PostgreSQL 17 with pg_cron |
benchmarks/, scripts/ |
Python, bash | Scheduler benchmarks and operations scripts |
| Compose file | Purpose |
|---|---|
docker-compose.yaml |
Production: pulls pre-built images from GHCR |
docker-compose.dev.yaml |
Development: builds all images from source |
docker-compose.screenshots.yaml |
Isolated stack for documentation screenshots (see docs/AGENTS.md) |
You need Python 3.13 with uv, Docker with Docker Compose, Node.js
for logos-ui/ and docs/, and Artemis developer access to
push to this repository.
(cd logos-orchestrator && uv sync --locked --python 3.13) # orchestrator dependencies
uv venv .venv-pre-commit --python 3.13 # from the repository root
uv pip install --python .venv-pre-commit/bin/python --no-deps --require-hashes \
-r tools/pre-commit/requirements.lock
source .venv-pre-commit/bin/activate # the hooks run the tools from PATH
pre-commit install
pre-commit run --all-files # the same checks as the lint CI jobNothing is installed without an exact version: Python environments come from uv.lock (uv sync --locked) or a
hash-pinned requirements.lock (--no-deps --require-hashes, generated by scripts/lock-requirements.sh), apt packages
are pinned to a fixed archive snapshot, and tool versions are exact everywhere.
Local development covers the dev stack, the seeded accounts, the
PyCharm setup and every pre-commit hook. The TUM test instance
page covers SSH and database access to logos-test.aet.cit.tum.de.
Dependabot checks Maven (including the Spring Boot parent), uv projects, pip inputs, the UI and documentation npm manifests, GitHub Actions, Dockerfiles and Compose images weekly. Routine groups include major, minor and patch versions. The agent and node manager share a uv group. GitHub Actions, benchmark tools and pre-commit hooks share a CI tooling PR. The orchestrator and UI keep their own SQLAlchemy and TypeScript compatibility rules. FastAPI has a separate pip group because the worker image must also satisfy vLLM's requirements. PostgreSQL, Redis and Liquibase image majors are reviewed by dependency so a migration can proceed on its own timeline. Security updates have separate groups in the service, application and image configurations.
Maven submits its resolved graph when the POM changes on main, so GitHub can match advisories against BOM-managed
versions. The repository's file: dependency under docs/vendor is maintained in tree.
For pip input changes, the Test job checks the worker image, standalone worker, E2E, benchmark and hook hash locks.
If a Dependabot change resolves and needs new locks, download the requirements-locks artifact on that PR head,
review and apply requirements-locks.patch, then commit it to the PR. To reproduce locally, run
scripts/lock-requirements.sh and inspect the diff. An incompatible set of inputs needs a compatible pin first.
The weekly platform version report compares workspace tools, CI runtimes and literal apt pins with upstream versions. Review base digests, archive snapshots and package versions together. A Temurin update also needs the JDK/JRE hashes for both architectures, the workspace package and the CI version. Align repeated tool pins in Dockerfiles and workflow inputs. The Linux vLLM and macOS vLLM Metal workflows handle their coupled releases and wheels. Review CUDA compatibility with the target driver and GPU fleet when changing that stack. The lock generator keeps compiler wheels on the runtime CUDA minor. Test fixtures, vendored code and model revisions require a maintainer's compatibility review.
- Pull request titles are short, descriptive and start with a capital letter, for example
Add team management endpoints. - Every pull request that changes the web application includes desktop and mobile screenshots.
- More rules for contributors and coding agents are in
AGENTS.md.
Logos is released under the MIT License by TUM Applied Education Technologies. For the attribution and provenance of the LiteLLM model catalog data, see litellm-model-catalog.NOTICE.