AI Engineering / Working with LLMs
LLM Application Architecture & Design Patterns
75 lessons in AI Engineering / Working with LLMs
- Multi-Agent Collaboration ArchitecturesSlides / Video
- Streaming Architecture and BackpressureSlides / Video
- Layered Architecture Separation BrokenCode Quiz
- Async Queue Not AwaitedCode Quiz
- Planner-Executor Skips The PlanCode Quiz
- Hardcoded LLM Client Blocks InjectionCode Quiz
- Scratchpad Leaks Into Persisted MemoryCode Quiz
- Event-Driven and Queue-Based LLM PipelinesSlides / Video
- Fan-Out-Fan-In ParallelizationQuiz
- Composing Multiple PatternsQuiz
- Separating Prompt, Logic, and DataQuiz
- Workflow vs AgentQuiz
- Choosing the Right PatternQuiz
- Supervisor Multi-Agent ArchitectureFlashcard
- Pre- and Post-Processing StagesFlashcard
- Streaming vs Batch ResponsesFlashcard
- Modularity in LLM AppsFlashcard
- Guardrail Layer PlacementFlashcard
- Routing Pattern for Input ClassificationSlides / Video
- Prompt Chaining PatternSlides / Video
- Stateless LLM Calls vs Stateful AppsSlides / Video
- Choosing the Right PatternSlides / Video
- Composability and Modular Component DesignSlides / Video
- RAG Knowledge Assistant ArchitectureSlides / Video
- Chatbot Reference ArchitectureSlides / Video
- Sync vs Async LLM ArchitecturesSlides / Video
- The LLM Gateway / Proxy LayerSlides / Video
- Separating Business Logic from LLM CallsSlides / Video
- Deterministic vs Model-Driven Control FlowSlides / Video
- Workflows vs Agents: When to Use EachSlides / Video
- Fan-Out/Fan-In for LLM CallsSlides / Video
- The Orchestrator-Workers PatternSlides / Video
- The Evaluator-Optimizer PatternSlides / Video
- Layers of an LLM App StackSlides / Video
- What LLM Application Architecture MeansSlides / Video
- Evaluator-Optimizer Ignores CritiqueCode Quiz
- Prompt Chaining Broken LinkCode Quiz
- ReAct Loop Drops ObservationsCode Quiz
- RAG Retrieve-Then-Generate FlowCode Quiz
- Orchestrator Missing AwaitCode Quiz
- Router Pattern Missing FallbackCode Quiz
- Reflection Returns Uncritiqued DraftCode Quiz
- Parallelization Runs SequentiallyCode Quiz
- Routing Tasks To The Right ArchitectureCode Quiz
- Multi-Agent Handoff DesignCode Quiz
- Provider-Agnostic LLM Client InterfaceCode Quiz
- Memory Layering Short-Term vs Long-TermCode Quiz
- Stateless vs Stateful Session HandlingCode Quiz
- Separating Prompt Templates From LogicCode Quiz
- Conversation State Persistence And ReconstructionCode Quiz
- Streaming LLM Response To ClientCode Quiz
- Human-in-the-Loop Approval GateCode Quiz
- What LLM Application Architecture IsQuiz
- Orchestrator-Worker PatternQuiz
- Evaluator-Optimizer Reflection LoopQuiz
- Routing PatternQuiz
- RAG vs Fine-Tuning vs PromptingQuiz
- Single-Prompt vs Multi-Step DesignQuiz
- RAG as an Architectural PatternQuiz
- Layers of an LLM ApplicationQuiz
- Handling Non-Determinism in DesignQuiz
- Batch vs Real-Time ProcessingQuiz
- Idempotency and Retry-Safe LLM OperationsFlashcard
- Parallelization PatternFlashcard
- Fallback and Graceful DegradationFlashcard
- Choosing the Right PatternFlashcard
- Architecture for LLM AppsFlashcard
- Orchestrator-Worker PatternFlashcard
- Router PatternFlashcard
- Async and Event-Driven PipelinesFlashcard
- Agentic vs Workflow ArchitecturesFlashcard
- Handling Non-DeterminismFlashcard
- Evaluator-Optimizer LoopFlashcard
- LLM Gateway / Proxy LayerFlashcard
- Separating Prompts from CodeFlashcard