Sheet 01A production stack
The infrastructure behind working AI systems.
Every entry here carries two sentences: when to use it, and when to skip it. Most directories publish the first. Almost none publish the second — it is the one that tells you whether anything on this page is worth your time. If you are choosing AI infrastructure tools for a production AI stack, this is the starting point: every layer, from inference runtimes to evals.
Why you can trust the figures
Licence, cost and deployment facts go stale, so every entry is dated and the build fails if any is more than six months old. A stale entry cannot reach production, which is more than “updated daily” can tell you.
Read the method, including where it is wrongBand III · Controlusually sounds like unreliable, unmeasured
Band II · Stateusually sounds like wrong answers
Band I · Computeusually sounds like too slow, too expensive
Something wrong? Start from the symptom
All symptoms- Too slowWhy is my LLM app slow?
- Too expensiveWhy is my LLM bill so high?
- Wrong answersWhy does my LLM give wrong answers?
- Agent keeps failingWhy does my AI agent keep failing?
- Can't tell if it improvedHow do I know if my LLM changes actually helped?
- RAG hallucinationsWhy does my RAG system hallucinate?
- PII in logsHow do I stop PII showing up in LLM traces and prompts?
- Choosing, not fixingCompare tools — including across layers
Two questions
1 / 2This decides almost everything downstream — the failure modes of an agent and of a summariser are not the same.
What are you running?
The index
10 sectionsInference & Serving
Turns weights into throughput.
- vLLMruntimePaged-attention inference engine with an OpenAI-compatible server.More about vLLM in this index
- SGLangruntimeStructured generation runtime built on RadixAttention prefix reuse.More about SGLang in this index
- llama.cppruntimePortable CPU/GPU inference for quantized GGUF models.More about llama.cpp in this index
- OllamaruntimeLocal model runner with a single-binary distribution and HTTP API.More about Ollama in this index
- TensorRT-LLMruntimeNVIDIA-optimized inference with inflight batching and FP8.More about TensorRT-LLM in this index
- Text Generation InferenceruntimeHugging Face production server for LLMs with tensor parallelism.More about Text Generation Inference in this index
- LM StudioserviceDesktop app for running and serving local models with an OpenAI API.More about LM Studio in this index
- Triton Inference ServerruntimeMulti-framework inference server for ONNX, TensorRT and Python.More about Triton Inference Server in this index
- llamafileruntimePackages a model and its runtime into a single executable.More about llamafile in this index
- KoboldCppruntimeGGUF inference with a focused text-adventure UI and API.More about KoboldCpp in this index
- PowerInferruntimeCPU-first runtime that offloads hot paths to the GPU.More about PowerInfer in this index
Routing & Gateways
Decides which model answers, and what it costs.
- LiteLLMlibraryOpenAI-format proxy translating across 100+ model providers.More about LiteLLM in this index
- PortkeyplatformAI gateway with routing, caching and guardrails in one layer.More about Portkey in this index
- Cloudflare AI GatewayserviceEdge gateway adding caching, retries and rate limiting.More about Cloudflare AI Gateway in this index
- OpenRouterserviceSingle API key and billing across many hosted models.More about OpenRouter in this index
- MartianplatformModel router that optimizes for quality, cost and latency.More about Martian in this index
- Envoy AI GatewayruntimeCNCF-track gateway for LLM traffic on an Envoy data plane.More about Envoy AI Gateway in this index
- BifrostlibraryHigh-throughput LLM gateway with drop-in OpenAI compatibility.More about Bifrost in this index
- RouteLLMlibraryLearned router that cuts cost by matching difficulty to model size.More about RouteLLM in this index
- Not DiamondplatformRouting and prompt optimisation tuned on your own traffic.More about Not Diamond in this index
- TrueFoundryplatformGateway plus observability and guardrails as one deployment.More about TrueFoundry in this index
Retrieval & Vector Stores
Holds the embeddings, returns the few that matter.
- WeaviatedatabaseGraph-aware vector database with hybrid and multi-vector search.More about Weaviate in this index
- PineconedatabaseFully managed vector database with serverless scaling.More about Pinecone in this index
- MilvusdatabaseCloud-native vector database supporting billion-scale indexes.More about Milvus in this index
- TurbopufferdatabaseVector search engine tuned for high-recall retrieval workloads.More about Turbopuffer in this index
- UnstructuredlibraryPreprocessing library that partitions raw documents for indexing.More about Unstructured in this index
- ElasticsearchdatabaseBM25 plus dense vectors in one index, with hybrid ranking.More about Elasticsearch in this index
- VespaplatformSearch engine built for ranking-heavy retrieval at scale.More about Vespa in this index
- RerankersservicePurpose-built cross-encoders for the second retrieval stage.More about Rerankers in this index
- Jina AIserviceMultimodal embeddings and a reranker behind one endpoint.More about Jina AI in this index
- LangChain Text SplitterslibraryDocument loaders and splitters for the ingest stage.More about LangChain Text Splitters in this index
- DoclinglibraryLayout-aware parsing that preserves table and heading structure.More about Docling in this index
- LlamaParseserviceManaged parsing for PDFs, especially the ugly ones.More about LlamaParse in this index
Fine-tuning & Training
Produces the weights that layer 1 serves.
- UnslothlibraryHand-written kernels that cut LoRA memory and time sharply.More about Unsloth in this index
- AxolotllibraryConfiguration-driven fine-tuning across common architectures.More about Axolotl in this index
- LLaMA-FactoryplatformUnified interface for SFT, DPO and RLHF on open models.More about LLaMA-Factory in this index
- PEFTlibraryParameter-efficient fine-tuning methods such as LoRA and QLoRA.More about PEFT in this index
- TRLlibraryHugging Face library of post-training trainers for SFT, DPO and GRPO.More about TRL in this index
- DeepSpeedlibraryZeRO sharding and pipeline parallelism for large-scale training.More about DeepSpeed in this index
- Megatron-LMlibraryTensor and pipeline parallel training for multi-GPU clusters.More about Megatron-LM in this index
- torchtunelibraryPyTorch-native recipes for fine-tuning and aligning open models.More about torchtune in this index
- Hugging Face TRLplatformPreference and reward optimisation on top of any PEFT setup.More about Hugging Face TRL in this index
- ReplicateplatformHosted fine-tuning and deployment for open models.More about Replicate in this index
- Weights & Biases LaunchplatformManaged training runs with sweeps and artifact tracking.More about Weights & Biases Launch in this index
Agent Frameworks
Turns a model call into a multi-step program.
- LangChainframeworkComposable abstractions for model calls, tools and state.More about LangChain in this index
- LlamaIndexframeworkData-centric framework for retrieval and agent workflows.More about LlamaIndex in this index
- Pydantic AIframeworkType-safe agent framework that leans on Pydantic models.More about Pydantic AI in this index
- AutoGenframeworkMicrosoft research project for conversable multi-agent systems.More about AutoGen in this index
- CrewAIframeworkRole-based orchestration where agents collaborate as a crew.More about CrewAI in this index
- Semantic KernelframeworkMicrosoft SDK for embedding AI steps into .NET and Python apps.More about Semantic Kernel in this index
- MastraframeworkTypeScript agent framework with typed workflows and evals.More about Mastra in this index
- OpenAI Agents SDKframeworkLightweight primitives for handoffs, guardrails and tracing.More about OpenAI Agents SDK in this index
- AgnoframeworkMinimal agent runtime centered on model-agnostic tool interfaces.More about Agno in this index
- Claude Agent SDKframeworkAnthropic's toolkit for building agents with tool use and hooks.More about Claude Agent SDK in this index
- LettaplatformAgent runtime with persistent, editable memory as a first-class primitive.More about Letta in this index
- smolagentsframeworkMinimal code-first agent loop from the Hugging Face team.More about smolagents in this index
- Vercel AI SDKlibraryProvider-agnostic building blocks for streaming apps and agents.More about Vercel AI SDK in this index
Workflow Orchestration
Survives the retries, the waits and the crashes.
- TemporalplatformDurable execution engine that survives crashes and long waits.More about Temporal in this index
- InngestplatformEvent-driven step functions with durable replay for TypeScript.More about Inngest in this index
- Trigger.devplatformBackground jobs and AI workflows with long-running task support.More about Trigger.dev in this index
- DagsterplatformAsset-oriented orchestration for data and ML pipelines.More about Dagster in this index
- PrefectplatformPython-native workflow orchestration with a managed cloud option.More about Prefect in this index
- Apache AirflowplatformScheduler and DAG engine long used for batch data engineering.More about Apache Airflow in this index
- RestateplatformDurable execution with a low-latency stateful API surface.More about Restate in this index
- DBOSlibraryDurable workflows as ordinary Python functions and decorators.More about DBOS in this index
- Fly MachinesplatformHosting for stateful containers that fits durable agent workers.More about Fly Machines in this index
- ModalplatformServerless GPU and container platform popular for batch inference.More about Modal in this index
Guardrails & Safety
Stops the bad input before it, and the bad output after.
- NeMo GuardrailslibraryProgrammable rails that constrain conversational flow.More about NeMo Guardrails in this index
- Guardrails AIlibraryValidators that check model output against a defined schema.More about Guardrails AI in this index
- Llama GuardlibrarySafety classifier for prompt and response moderation.More about Llama Guard in this index
- Microsoft PresidiolibraryPII detection and anonymization for text and images.More about Microsoft Presidio in this index
- Lakera GuardservicePrompt injection and jailbreak detection at the gateway.More about Lakera Guard in this index
- garaklibraryScanner that probes models for known vulnerability classes.More about garak in this index
- PyRITlibraryMicrosoft's red-team tool for generating and scoring attack prompts.More about PyRIT in this index
- Invariant GuardrailsplatformGuardrails as code, enforced inline in the call path.More about Invariant Guardrails in this index
Prompt Engineering
Makes the prompt an artifact you can diff and test.
- DSPylibraryDeclarative prompting that compiles to optimized programs from examples.More about DSPy in this index
- InstructorlibrarySchema-constrained extraction with automatic validation and retry.More about Instructor in this index
- HumanloopplatformPrompt versioning and evaluation for production teams.More about Humanloop in this index
- GuidancelibraryConstrained generation by interleaving control flow and model output.More about Guidance in this index
- PromptLayerplatformPrompt registry with request logging and regression testing.More about PromptLayer in this index
- AgentaplatformOpen-source prompt management with a playground and versioning.More about Agenta in this index
- PromptwatchplatformPrompt regression tests and side-by-side comparison.More about Promptwatch in this index
- TextGradlibraryAutomatic prompt optimisation via textual feedback loops.More about TextGrad in this index
- OutlineslibraryConstrained generation that masks the token space to valid output.More about Outlines in this index
Evaluation & Observability
Cross-cuttingThe only way to know whether any of the above works.
- LangSmithplatformTracing, evaluation and dataset tooling across LangChain runs.More about LangSmith in this index
- BraintrustplatformEvaluation platform with built-in scorers and a data flywheel.More about Braintrust in this index
- Arize PhoenixlibraryOpen-source tracing and evaluation built on OpenTelemetry.More about Arize Phoenix in this index
- LangfuseplatformSelf-hostable LLM tracing, prompt management and cost analytics.More about Langfuse in this index
- promptfoolibraryDeclarative red-teaming and regression tests for prompts and agents.More about promptfoo in this index
- DeepEvallibraryOpen-source pytest-style evaluation suite for LLM outputs.More about DeepEval in this index
- HeliconeplatformGateway-level observability with per-request cost and latency.More about Helicone in this index
- Weights & BiasesplatformExperiment tracking and model registry with LLM eval surfaces.More about Weights & Biases in this index
- OpenTelemetrylibraryVendor-neutral standard for emitting traces and metrics.More about OpenTelemetry in this index
- VellumplatformPrompt and eval platform with a visual debugger for chains.More about Vellum in this index
- GentraceplatformOpen-source tracing and dashboards for LLM applications.More about Gentrace in this index
- Evidently AIlibraryEvaluation and monitoring for both classical and LLM systems.More about Evidently AI in this index
Learning & Reference
Off-stackNot a layer. Reading, once you know what to look for.
- Hugging FaceplatformModel hub, datasets and open-source library ecosystem.More about Hugging Face in this index
- Full Stack Deep LearningreadingCourse covering the practical side of shipping LLM systems.More about Full Stack Deep Learning in this index
- Sebastian RaschkareadingEssays and books distilling research into working knowledge.More about Sebastian Raschka in this index
- Papers with CodereadingLinks papers to their reference implementations and benchmarks.More about Papers with Code in this index
- Jay AlammarreadingVisual explanations of transformers, RAG and LLM internals.More about Jay Alammar in this index
- AI EngineerreadingConference and community focused on shipping LLM products.More about AI Engineer in this index
- Hugging Face CookbookreadingTask-oriented notebooks for fine-tuning, serving and RAG.More about Hugging Face Cookbook in this index
- Made With MLreadingCourse on designing, building and deploying ML systems.More about Made With ML in this index
- DistillreadingArchive of carefully explained model and method explainers.More about Distill in this index
What is AI infrastructure?
AI infrastructure is everything between your product and the model: runtimes that serve weights, gateways that route requests, stores that hold embeddings, frameworks that run agents, and evals that say whether any of it works. Lattice indexes 112 such AI infrastructure tools as one AI stack, ordered by depth — browse every tool, or build your stack.
How this list is kept
Entries are hand-picked rather than submitted, and ordered by where they sit in a real system rather than by how popular they are. Any licence or cost figure older than six months fails the build, so a stale entry cannot reach production. The full method, including what this list gets wrong. When something changes, it is listed on Corrections.