FlexServ Documentation¶
FlexServ is an OpenAI-compatible inference stack with a Rust gateway in front of Python-serving backends.
This documentation set tracks the code that is in the repository today:
flexserv/gateway: the public gatewayflexserv/backend/hf_transformers_backend: the in-repo transformers backendflexserv/boot_loader.sh: the container entrypoint fortransformers,vllm, andsglangdeploy/src: the separate Tapis deployment helper API
Start Here¶
- Overview: architecture, supported components, and current scope
- Quick Start: fastest local and Docker workflows
- API Documentation: gateway and backend endpoints
- Configuration Reference: CLI flags, environment variables, and runtime effects
- Docker Guide: compose, images, and runtime environment variables
- Build & Deploy: local builds and Docker builds
- Landing UI: operator UI behavior, storage, and live patching
- HPC Deployment Notes: Tapis app/job files and HPC launch scripts
Current Runtime Surface¶
Gateway-owned endpoints:
GET /GET /healthz/liveGET /healthz/startupGET /healthz/readyGET /openapi.jsonGET /openapi.yamlGET /v1/modelsPOST /v1/flexserv/models/fetchPOST /v1/flexserv/models/copyPOST /v1/flexserv/models/index/rebuildPOST /v1/flexserv/models/unpackGET /v1/flexserv/owner
Proxied inference surface:
POST /v1/chat/completionsPOST /v1/completionsPOST /v1/embeddingsPOST /v1/responsesPOST /v1/audio/transcriptions
Important Scope Notes¶
- The maintained local backend in this repo is the transformers backend.
vllmandsglangare supported throughboot_loader.shand the Docker images, not through separate in-repo backend wrappers.- The older
flexservCLI, YAML runtime config, and console/grpc interfaces described in legacy docs are no longer part of the implementation. - Ollama spec files remain in
spec/as reference artifacts only; the running server exposes OpenAI-compatible routes.