How srujan-egin/llm-gateway-eval works
This repository is an evaluation lab for comparing LiteLLM, Bifrost, and MLflow AI Gateway against shared functional, fallback, retention, security, and latency requirements. The main workflow is to start configured gateway containers and a deterministic fake provider, run the checks, then produce a comparison report. The graph focuses on that runtime evaluation workflow and its measurement and reporting branches; it does not map build or test-infrastructure details. Gateway behavior is evaluated as an external service, not implemented here.
Main entry points: run_eval.py Run coordinator · tests Gateway checks · server.py Fake model provider · latency_probe.py Latency probe
Components 11
Evaluation orchestration
- Run coordinator
scripts/run_eval.py
Gateway services
- Fake model provider
mock_provider/server.py - LiteLLM Proxy
- Bifrost
- MLflow Gateway
- MLflow login add-on
- Postgres
Evaluation and measurement
- Gateway checks
tests - Latency probe
scripts/latency_probe.py
Results reporting
- Report generator
scripts/make_report.py
Other components
- Evaluator
Connections 19
- Evaluator → Run coordinator: starts evaluation
README.md - Run coordinator → Fake model provider: starts provider
scripts/run_eval.py - Run coordinator → LiteLLM Proxy: starts and configures
scripts/run_eval.py - Run coordinator → Bifrost: starts and configures
scripts/run_eval.py - Run coordinator → MLflow Gateway: starts and configures
scripts/run_eval.py - Run coordinator → MLflow login add-on: starts and configures
scripts/run_eval.py - Run coordinator → Postgres: starts database
- LiteLLM Proxy → Fake model provider: routes model requests
README.md - Bifrost → Fake model provider: routes model requests
README.md - MLflow Gateway → Fake model provider: routes model requests
README.md - MLflow login add-on → Fake model provider: routes model requests
README.md - LiteLLM Proxy → Postgres: stores gateway data
README.md - Run coordinator → Gateway checks: runs checks
scripts/run_eval.py - Gateway checks → LiteLLM Proxy: tests gateway
README.md - Gateway checks → Bifrost: tests gateway
README.md - Gateway checks → MLflow Gateway: tests gateway
README.md - Gateway checks → MLflow login add-on: tests security
README.md - Run coordinator → Latency probe: runs timing client
README.md - Run coordinator → Report generator: generates report
scripts/run_eval.py