Start from what the model is actually doing
The Artificial Intelligence (AI) Engineering trail covers large language model (LLM) serving, retrieval, tool-using agents and evaluation. A hosted model can hide most of that machinery until latency, capacity, cost, or a production failure makes the execution path relevant.
The serving chapters start with one model request, then add deployment, production traffic, and observability. The next chapters follow retrieved evidence and tool calls through a user-facing application.
Swipe or scroll sideways to read the full diagram.
User request → API/agent controller, which reads state, retrieval and tools and invokes the model endpoint; serving schedules inference on GPU replicas. Source documents feed the retrieval index. Deployment/autoscaling and observability act on the serving system.
Each component should answer a concrete question: where the request goes, where it can wait, how inference runs, how capacity changes, and which signals explain a slowdown.
Follow the serving path
- LLM inferencePrefill, decode, key-value (KV) cache, batching, and graphics processing unit (GPU) work behind token generation.
- LLM servingInference engines, replicas, parallelism, routing, and concurrent users.
- Deploying LLMsArtifacts, containers, model weights, GPU startup, readiness, and rollouts.
- Production LLM systemsTraffic control, capacity, prompt/context releases, caching, streaming voice and recovery.
- LLM observabilityLatency, queue/cache pressure, GPU state and cost, with links to decision evidence and provenance.
- RAG & retrievalParsing, embeddings, hybrid search, reranking, context selection, and scale.
- Agents & toolsTyped tool contracts, execution state, authorization and retries.
- AI evaluationRetrieval diagnostics, groundedness, trajectories, latency and cost.
Keep the boundary with general infrastructure clear
Docker, Kubernetes, Services, probes, the Horizontal Pod Autoscaler (HPA), Kubernetes Event-driven Autoscaling (KEDA), and node autoscaling are not LLM concepts. Their mechanics live under Infrastructure & DevOps.
The AI pages use those mechanisms where the LLM changes the decision: a replica may need several GPUs, model startup can require moving tens of gigabytes before readiness, and GPU utilization alone may not tell you whether another request will meet its latency target.