Ecosystem
Tools & Frameworks
A curated map of the LLM stack. Applications, fine-tuning, serving, and evaluation — with links to the best tools.
Pause & reflect
Before you read on, answer this in your head — or on paper:
There are dozens of frameworks: LangChain, LlamaIndex, Haystack, CrewAI, raw OpenAI SDK…
How would you choose? What matters: abstraction level? Lock-in risk? Community size? Use case (RAG vs agents vs chatbot)?
This page is inspired by the LLM-engineer-handbook — a curated list covering training, serving, fine-tuning, and building LLM applications. SarvamStack teaches the concepts; the handbook keeps you updated on tools.
Applications
Build chatbots, RAG, agents
Fine-tuning
Adapt models to your domain
Serving
Deploy models at scale
Prompt Management
Evaluate, test, monitor
Datasets & Benchmarks
Data for training and evaluation
Classical ML still matters
From the handbook: classical models are used for data privacy, hallucination detection, and more. Don't skip the fundamentals.
Inference optimization
Production deployment needs KV cache (stores attention keys/values — 2GB+ for long context), quantization (GPTQ, EXL2 for 4-bit; 70B on 24GB GPU), and engines like vLLM or TensorRT-LLM. See our Inference Engineering section for the full picture.
Test your understanding
You're building a RAG app. You need to choose: an app framework (LangChain vs LlamaIndex), a vector DB, and an embedding model. How would you approach this?