Lattice
Skip to content

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.

Start from the symptom

Something is wrong. Where?

All symptoms

Two questions

1 / 2

What 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 tools

Ordered by where a request passes through, not by popularity. Open a section to see every entry in it.

01

Turns 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.

02

Decides 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.

  • Edge gateway adding caching, retries and rate limiting.

  • OpenRouterservice

    Single API key and billing across many hosted models.

03

Holds the embeddings, returns the few that matter.

  • pgvectordatabase

    Vector similarity search as a Postgres extension.

  • Qdrantdatabase

    Rust vector database with rich filtering payloads.

  • Weaviatedatabase

    Graph-aware vector database with hybrid and multi-vector search.

  • Chromadatabase

    Embeddings database designed for fast prototyping.

04

Produces 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.

  • Unified interface for SFT, DPO and RLHF on open models.

  • PEFTlibrary

    Parameter-efficient fine-tuning methods such as LoRA and QLoRA.

05

Turns 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.

06

Survives 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.

07

Stops the bad input before it, and the bad output after.

  • Programmable rails that constrain conversational flow.

  • Validators that check model output against a defined schema.

  • Safety classifier for prompt and response moderation.

  • PII detection and anonymization for text and images.

08

Makes 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.

09

Evaluation & Observability

Cross-cutting13 tools

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.

  • Open-source tracing and evaluation built on OpenTelemetry.

  • Langfuseplatform

    Self-hostable LLM tracing, prompt management and cost analytics.

–

Learning & Reference

Off-stack10 tools

Not a layer. Reading, once you know what to look for.

  • Hugging Faceplatform

    Model hub, datasets and open-source library ecosystem.

  • Course covering the practical side of shipping LLM systems.

  • 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.