A curated index112 tools, nine layers
The infrastructure behind working AI systems.
Every entry carries two sentences: when to use it, and when to skip it. Most directories publish the first. This one publishes the second, because that is the sentence that tells you whether anything here is worth your time.
What are you building?
Pick one and the stack fills in with a tool for each layer it needs. No sign-up.
Licence and cost facts are dated, and the build fails if any entry is more than six months old. A stale entry cannot reach production.Read the method.
Band III · Controlusually sounds like unreliable, unmeasured
Band II · Stateusually sounds like wrong answers
Band I · Computeusually sounds like too slow, too expensive
Start from the symptom
Something is wrong. Where?
- 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 / 2What are you running?
This decides almost everything downstream — the failure modes of an agent and of a summariser are not the same.
The index
Nine layers, substrate first.
10 sections · 112 toolsOrdered by where a request passes through, not by popularity. Open a section to see every entry in it.
Inference & Serving
12 toolsTurns weights into throughput.
- vLLMruntime
Paged-attention inference engine with an OpenAI-compatible server.
- SGLangruntime
Structured generation runtime built on RadixAttention prefix reuse.
- llama.cppruntime
Portable CPU/GPU inference for quantized GGUF models.
- Ollamaruntime
Local model runner with a single-binary distribution and HTTP API.
Routing & Gateways
10 toolsDecides which model answers, and what it costs.
- LiteLLMlibrary
OpenAI-format proxy translating across 100+ model providers.
- Portkeyplatform
AI gateway with routing, caching and guardrails in one layer.
- Cloudflare AI Gatewayservice
Edge gateway adding caching, retries and rate limiting.
- OpenRouterservice
Single API key and billing across many hosted models.
Retrieval & Vector Stores
15 toolsHolds the embeddings, returns the few that matter.
Fine-tuning & Training
12 toolsProduces the weights that layer 1 serves.
- Unslothlibrary
Hand-written kernels that cut LoRA memory and time sharply.
- Axolotllibrary
Configuration-driven fine-tuning across common architectures.
- LLaMA-Factoryplatform
Unified interface for SFT, DPO and RLHF on open models.
- PEFTlibrary
Parameter-efficient fine-tuning methods such as LoRA and QLoRA.
Agent Frameworks
13 toolsTurns a model call into a multi-step program.
- LangChainframework
Composable abstractions for model calls, tools and state.
- LlamaIndexframework
Data-centric framework for retrieval and agent workflows.
- Pydantic AIframework
Type-safe agent framework that leans on Pydantic models.
- AutoGenframework
Microsoft research project for conversable multi-agent systems.
Workflow Orchestration
10 toolsSurvives the retries, the waits and the crashes.
- Temporalplatform
Durable execution engine that survives crashes and long waits.
- Inngestplatform
Event-driven step functions with durable replay for TypeScript.
- Trigger.devplatform
Background jobs and AI workflows with long-running task support.
- Dagsterplatform
Asset-oriented orchestration for data and ML pipelines.
Guardrails & Safety
8 toolsStops the bad input before it, and the bad output after.
- NeMo Guardrailslibrary
Programmable rails that constrain conversational flow.
- Guardrails AIlibrary
Validators that check model output against a defined schema.
- Llama Guardlibrary
Safety classifier for prompt and response moderation.
- Microsoft Presidiolibrary
PII detection and anonymization for text and images.
Prompt Engineering
9 toolsMakes the prompt an artifact you can diff and test.
- DSPylibrary
Declarative prompting that compiles to optimized programs from examples.
- Instructorlibrary
Schema-constrained extraction with automatic validation and retry.
- Humanloopplatform
Prompt versioning and evaluation for production teams.
- Guidancelibrary
Constrained generation by interleaving control flow and model output.
The only way to know whether any of the above works.
- LangSmithplatform
Tracing, evaluation and dataset tooling across LangChain runs.
- Braintrustplatform
Evaluation platform with built-in scorers and a data flywheel.
- Arize Phoenixlibrary
Open-source tracing and evaluation built on OpenTelemetry.
- Langfuseplatform
Self-hostable LLM tracing, prompt management and cost analytics.
Not a layer. Reading, once you know what to look for.
- Hugging Faceplatform
Model hub, datasets and open-source library ecosystem.
- Full Stack Deep Learningreading
Course covering the practical side of shipping LLM systems.
- Sebastian Raschkareading
Essays and books distilling research into working knowledge.
- arXivreading
Primary preprint archive for machine learning research.
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 tools as one 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. When something changes, it is listed on Corrections.
Rules of thumb
- Build from the bottom of the stack up, but buy from the top down. Start with a hosted model and an eval set; own lower layers only when a measurement says so.
- Every layer you add is a layer you operate. Add one when a measured failure names it, not when a diagram suggests it.
- Anything in the request path adds latency to every call; anything offline adds none. Stay offline until production forces otherwise.
Quick answers
- What is Lattice?
- A curated index of AI infrastructure tools, ordered by where they sit in a real system rather than by popularity. Every entry carries licence, deployment and cost facts, verified on a dated schedule.
- Is Lattice sponsored by the tools it lists?
- No. It takes no sponsorship and carries no referral links; entries are hand-picked, not paid for or submitted.
- Where should I start?
- Use the nine-lesson path on the Start page if you are new to AI infrastructure or building your first AI feature, or the Stack Builder if you already know your workload and constraints.
Ask an AI about this page
Opens the assistant with this page’s link and a question already filled in.