Concept 21
AI systems
Put model calls inside systems with explicit limits and checks.
68 lessons · 6 design problems · 18 vault drills · 9 free
You need these first
Each topic builds on the ones before it. Read one page from each, then come back.
- APIs and communication · start with Introduction to APIs (REST & JSON)
Locked
19-Module HandbookModules 1 to 10a Free
All About RAG: From Naive Pipelines to Distributed Architecture
Deep-dive handbook with SVG architecture diagrams, incident postmortems, and deterministic Python labs.
92 matching resources
Lesson
- What an LLM Actually IsLesson
Free 39 min read - Tokens, Context Windows, and Unit CostLesson
Locked 35 min read - Inference Latency, Throughput, and StreamingLesson
Locked 33 min read - Prompts Are an API Contract, Not Magic WordsLesson
Locked 24 min read - Structured Outputs and Tool CallingLesson
Free 23 min read - Choosing a Model: Hosted, Open Weights, or Fine TunedLesson
Locked 35 min read - Non Determinism: The Thing That Breaks Your TestsLesson
Locked 22 min read - Multimodal Inputs: What Changes When It Is Not TextLesson
Locked 22 min read - Why RAG Exists: Fine Tune Versus RetrieveLesson
Free 32 min read - Embeddings: What They Are and How They Mislead YouLesson
Locked 23 min read - Chunking Strategies and Why Naive Splitting FailsLesson
Locked 19 min read - Vector Databases: pgvector, Pinecone, Qdrant, Milvus, ChromaLesson
Locked 25 min read - Hybrid Search: BM25 Plus VectorsLesson
Locked 24 min read - Query Transformation and RoutingLesson
Locked 30 min read - Reranking: The Cheap Accuracy Win Most Teams SkipLesson
Locked 20 min read - Measuring Retrieval: Recall@k, Precision, Honest BaselinesLesson
Locked 34 min read - RAG Failure Modes, Including Poisoned ContentLesson
Locked 19 min read - Multi Tenant RAG: Isolation at India ScaleLesson
Locked 34 min read - What an Agent Actually Is: Loop, Tools, Memory, StopLesson
Free 23 min read - Designing Tools an Agent Can Use (And Cannot Abuse)Lesson
Locked 27 min read - MCP and Tool InteroperabilityLesson
Locked 30 min read - Agent Memory and State: Short Term, Long Term, CostLesson
Locked 21 min read - Orchestration Frameworks Across Four EcosystemsLesson
Locked 22 min read - Multi Agent Patterns, and When One Agent Is EnoughLesson
Locked 21 min read - Human in the Loop and Approval GatesLesson
Locked 21 min read - Agent Failure Modes: Loops, Runaway Cost, Silent Wrong AnswersLesson
Locked 18 min read - Durable Execution for Long Running AgentsLesson
Locked 20 min read - Why Unit Tests Are Necessary But Not EnoughLesson
Locked 25 min read - Building an Eval Set That Reflects Real UsersLesson
Locked 25 min read - Evaluating Agents: Trajectories and Tool UseLesson
Locked 33 min read - LLM as Judge and Its BiasesLesson
Locked 23 min read - Eval Tooling: Ragas, TruLens, and Rolling Your OwnLesson
Locked 23 min read - Regression Testing Prompts and ModelsLesson
Locked 22 min read - Is That Eval Score Change Real, Or NoiseLesson
Locked 20 min read - Prompt Injection and JailbreaksLesson
Locked 24 min read - PII, Data Residency and India's DPDP ActLesson
Locked 26 min read - Guardrails and Output ValidationLesson
Locked 18 min read - The Lethal Trifecta: Prompt Injection Meets ToolsLesson
Locked 18 min read - Observability for LLM Systems: Traces, Spans, What to LogLesson
Locked 20 min read - Latency Budgets and Streaming UXLesson
Locked 20 min read - SLOs And Error Budgets, Now That The Model Can Be WrongLesson
Locked 18 min read - Caching: Exact, Prefix, and SemanticLesson
Locked 27 min read - Rate Limits, Quotas and BackpressureLesson
Locked 20 min read - Fallback and Multi Provider RoutingLesson
Locked 25 min read - Model Router & LLM Gateway: Keys, Budgets, and Multi-Provider CascadesLesson
Locked - Versioning Prompts, Models and ConfigsLesson
Locked 28 min read - Incident Response When the Model Is the BugLesson
Locked 22 min read - Self Hosting Versus API: The GPU EconomicsLesson
Locked 22 min read - Token Economics: Modelling Unit Cost Before You ShipLesson
Locked 19 min read - Cost Attribution Per Feature, Per TenantLesson
Locked 19 min read - Batching and Async ProcessingLesson
Locked 19 min read - Model Cascading: Route Cheap First, Escalate on NeedLesson
Locked 16 min read - Fine Tuning: When It Actually Pays for ItselfLesson
Locked 20 min read - Capacity Planning for AI FeaturesLesson
Locked 25 min read - LLM Serving Internals: KV Cache, PagedAttention, and BatchingLesson
Locked 22 min read - Design a RAG Support Assistant for an Indian TelcoLesson
Locked 17 min read - Design a Document Intelligence PipelineLesson
Locked 15 min read - Design an Agentic Ops WorkflowLesson
Locked 15 min read - Design AI Search for E-CommerceLesson
Locked 17 min read - Design a ChatGPT-Style Conversational Assistant at ScaleLesson
Locked - The AI System Design Interview FrameworkLesson
Free 18 min read - Sahayak Capstone: Build MilestonesLesson
Free 18 min read - Capstone: Your Architecture PackLesson
Locked 21 min read - What Transfers To Forward Deployed AI Work, And What Does NotLesson
Locked 17 min read - ML System Design Fundamentals: Skew, Features, and DriftLesson
Locked - Feature Stores and Model Serving: Feast, Hopsworks, and Triton at ScaleLesson
Locked - Design a Large-Scale Recommendation System: Candidate Generation to Re-rankingLesson
Locked - Design an ML-Powered Real-Time Fraud Scoring Engine at ScaleLesson
Locked
Design problem
- Design a ChatGPT-Style Assistant (Streaming, SSE, Conversations)Design problem
Locked 43 min read - Design Document Q&A with RAG (Ingestion, Vectors, Citations)Design problem
Locked 45 min read - Design an AI Agent Platform (Workflows, Tools, Durable State)Design problem
Locked 42 min read - Design a Multi-Model AI Gateway (Routing, Quotas, Cost Controls)Design problem
Locked 45 min read - Design a Recommendation System (Two-Tower, Candidate Gen, Ranking)Design problem
Locked 44 min read - Design AI Search for E-Commerce (Hybrid Retrieval, Code-Mixed)Design problem
Locked 44 min read
Vault drill
- How Temporal Uses Deterministic Replay to Resume Multi-Step WorkflowsVault drill
Free 16 min read - How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - Why Your RAG Assistant Misses Exact Clauses and How to Fix ItVault drill
Free 16 min read - How to Give AI Agents Tools via MCP Without Breaking ProductionVault drill
Locked 16 min read - Design a Multi-Agent System with ReAct Loops and Human SafeguardsVault drill
Locked 15 min read - How Do You Stop Indirect Prompt Injection from Hijacking an AI Agent?Vault drill
Locked 15 min read - How to Scale Vector Search to 50 Million Items Without Running Out of RAMVault drill
Locked 15 min read - How Do You Catch LLM Regressions Before Deploying a Model Upgrade?Vault drill
Locked 14 min read - Why 500-Token Chunking Fails on Legal and Financial DocumentsVault drill
Locked 16 min read - Design a ChatGPT-Style Streaming Backend for 1M UsersVault drill
Locked 15 min read - How Do You Stop an AI Agent from Getting Stuck in a Tool Loop?Vault drill
Locked 15 min read - Design Long-Term Memory for an Enterprise AI AssistantVault drill
Locked 16 min read - How to Get Valid JSON from LLMs and Redact PII Before the ModelVault drill
Locked 15 min read - When Should You Choose RAG vs Fine-Tuning for Company Data?Vault drill
Locked 16 min read - How Do You Scale 70B LLM Serving Without Running Out of GPU Memory?Vault drill
Locked 16 min read - How to Roll Back Bad Prompts in Seconds and Calibrate an LLM JudgeVault drill
Locked 15 min read - Design a Real-Time Voice AI Agent with Sub-500ms Latency and Barge-InVault drill
Locked 15 min read - Design a Real-Time Code Autocomplete Assistant Like GitHub CopilotVault drill
Locked 22 min read