1:1 mentoring with Big Tech AI engineers

Library

Explore AI Engineering Topics

90+ in-depth guides on LLM agents, RAG pipelines, MCP, system design, and interview prep. Free topics are fully accessible — preview topics show a sample before sign-up.

01

LLM & Agentic

30

LLM Lifecycle

Preview

Complete lifecycle of large language models from pre-training through fine-tuning, RLHF, and deployment — with architecture diagrams and production considerations.

LLM & Agentic

How LLMs Call Tools

Preview

How LLMs use function calling and tool use — the mechanics behind tool-calling agents, from prompt engineering to structured output.

LLM & Agentic

When to Fine-Tune: The Decision Framework

Preview

Should you fine-tune at all? A structured decision framework for prompt engineering vs RAG vs fine-tuning.

LLM & Agentic

LoRA, QLoRA & PEFT Methods

Preview

How LoRA works inside transformer layers, QLoRA for memory-efficient training, and the full PEFT method comparison with code examples.

LLM & Agentic

Knowledge Distillation: Large to Small

Preview

Train a small, fast model to mimic a large teacher — economics, pipeline, and quality filters for production distillation.

LLM & Agentic

Fine-Tuning Data Preparation

Preview

Data volume guidelines, quality checklists, and the complete preparation pipeline for fine-tuning datasets.

LLM & Agentic

Cost, Latency & Quality Tradeoffs

Preview

The economics of fine-tuning — quality/cost/latency triangle, real 2026 price points, break-even math, and the maintenance tax nobody budgets for.

LLM & Agentic

Fine-Tuning Evaluation & Validation

Preview

How to evaluate fine-tuned models — metrics by task type, regression testing, and the complete evaluation pipeline.

LLM & Agentic

Anatomy of a Tool Call

Preview

Step-by-step breakdown of an LLM tool call: request, schema validation, execution, and result handling with code examples.

LLM & Agentic

Stateless vs Stateful

Preview

Stateless vs stateful LLM architectures: trade-offs for agent design, conversation management, and production deployment.

LLM & Agentic

The Agent Loop

Free

Build a complete tool-calling AI agent in 15 lines of Python. Understand the core agent loop pattern that powers all LLM agents.

LLM & Agentic

Agentic Spectrum

Preview

The spectrum of AI agent architectures from simple prompt-response to fully autonomous multi-agent systems, with trade-offs at each level.

LLM & Agentic

ReAct Pattern

Free

ReAct (Reasoning + Acting) pattern for AI agents: how to combine chain-of-thought reasoning with tool use for better agent performance.

LLM & Agentic

Reflexion

Preview

Reflexion pattern for self-improving AI agents: verbal reinforcement learning where agents turn failures into written lessons and retry — no gradients required.

LLM & Agentic

Hierarchical Delegation

Preview

Hierarchical delegation pattern for multi-agent systems: orchestrating specialized agents with a coordinator for complex tasks.

LLM & Agentic

Planner-Executor

Preview

Planner-Executor agent pattern: separating planning and execution phases for more reliable and debuggable AI agent workflows.

LLM & Agentic

The Four Types of Agent Memory

Preview

Working, short-term, long-term, and org-wide memory — what each type stores, its lifetime, and implementation.

LLM & Agentic

Memory Implementation & Patterns

Preview

Production-ready memory code, episodic vs semantic vs procedural memory, and system design patterns.

LLM & Agentic

Memory Decisions & Worked Examples

Preview

When to use which memory type, with three real-world scenarios: customer support, sales agent, and code assistant.

LLM & Agentic

Memory Compliance & Interview Prep

Preview

GDPR and privacy compliance for agent memory, plus FDE interview scenarios and deep-dive questions.

LLM & Agentic

Messages API

Preview

Claude Messages API deep dive: request/response format, system prompts, multi-turn conversations, and best practices.

LLM & Agentic

Tool Use with Claude

Preview

Implement tool use with Claude API: define tools, handle tool calls, and build reliable function-calling agents.

LLM & Agentic

Streaming with Claude

Preview

Stream Claude API responses for real-time UX: server-sent events, token-by-token rendering, and production streaming patterns.

LLM & Agentic

Structured Output

Preview

Get structured JSON output from Claude: constrained generation, schema validation, and reliable data extraction patterns.

LLM & Agentic

Prompt Caching

Preview

Cut Claude cost and latency by up to 90% with prompt caching: cache the stable prefix (system prompt, tools, documents, history), pay full price once, then read at ~10%.

LLM & Agentic

Extended Thinking

Preview

Give Claude a reasoning scratchpad before it answers: thinking budgets, thinking blocks with tool use, interleaved thinking, and when the cost/quality trade-off is worth it.

LLM & Agentic

Agent SDK Patterns

Preview

Production patterns for building AI agents with the Claude Agent SDK: the loop, subagents, permissions, context management, MCP, and hooks — plus when to use the SDK vs the raw API.

LLM & Agentic

Metrics Framework

Preview

Observability metrics for LLM applications: latency, token usage, cost tracking, and quality scoring dashboards.

LLM & Agentic

Eval & Observability

Preview

Complete guide to LLM evaluation and observability: automated evals, human feedback loops, A/B testing, and monitoring.

LLM & Agentic

Agentic Evaluation

Preview

Evaluate AI agents in production: task completion metrics, trajectory analysis, and automated agent quality benchmarks.

LLM & Agentic
02

RAG & MCP

20

RAG Architecture

Preview

Retrieval-Augmented Generation (RAG) architecture explained: ingestion pipeline, vector search, prompt augmentation, and production patterns.

RAG & MCP

Document Processing

Preview

Document processing for RAG pipelines: PDF parsing, OCR, table extraction, and multi-modal document understanding.

RAG & MCP

Chunking Strategies

Preview

Text chunking strategies for RAG: fixed-size, semantic, recursive, and document-aware chunking with performance comparisons.

RAG & MCP

Embedding & Indexing

Preview

Embedding models and vector indexing for RAG: choosing embeddings, HNSW vs IVF, dimensionality, and index optimization.

RAG & MCP

Embeddings

Preview

Understanding embeddings for AI applications: text, image, and multi-modal embeddings with similarity search and clustering.

RAG & MCP

Metadata Strategies

Preview

Metadata strategies for RAG: filtering, hybrid search, metadata extraction, and structured metadata for improved retrieval.

RAG & MCP

Retrieval & Reranking

Preview

Advanced retrieval and reranking for RAG: BM25, dense retrieval, cross-encoder reranking, and hybrid search strategies.

RAG & MCP

RAG Evaluation

Preview

Evaluate RAG system quality: retrieval precision/recall, answer faithfulness, and end-to-end pipeline benchmarking.

RAG & MCP

RAGAS Framework

Preview

RAGAS evaluation framework for RAG: faithfulness, answer relevancy, context precision, and automated quality scoring.

RAG & MCP

RAG Monitoring

Preview

Production monitoring for RAG systems: retrieval quality dashboards, drift detection, and automated alerting.

RAG & MCP

Advanced RAG Patterns

Preview

Advanced RAG techniques: query decomposition, self-RAG, corrective RAG, adaptive retrieval, and multi-hop reasoning.

RAG & MCP

RAG Best Practices

Preview

Production RAG best practices: pipeline optimization, failure handling, testing strategies, and common pitfalls to avoid.

RAG & MCP

MCP Overview

Free

Model Context Protocol (MCP) explained: the open standard for connecting AI models to tools, data sources, and external systems.

RAG & MCP

MCP Architecture

Preview

MCP architecture deep dive: client-server model, protocol layers, message types, and connection lifecycle.

RAG & MCP

Building MCP Servers

Preview

Build MCP servers step-by-step: Python and TypeScript implementations with tools, resources, and prompts.

RAG & MCP

MCP Transport

Preview

MCP transport layers: stdio, SSE, and streamable HTTP transports with implementation details and trade-offs.

RAG & MCP

MCP Discovery

Preview

MCP tool discovery and capability negotiation: how clients discover server capabilities and tools dynamically.

RAG & MCP

MCP Security

Preview

Security considerations for MCP: authentication, authorization, input validation, and sandboxing strategies.

RAG & MCP

MCP in Production

Preview

Deploy MCP servers in production: scaling, monitoring, error handling, and reliability patterns.

RAG & MCP

MCP on GCP

Preview

Run MCP on Google Cloud Platform: Cloud Run deployment, IAM integration, and GCP-native tool implementations.

RAG & MCP
03

System Design

28

System Design 101

Free

System design fundamentals for AI engineers: client-server, APIs, latency percentiles, caching, load balancing, databases, and queues — each explained from zero, then mapped to how LLM systems change it.

System Design

AI System Design Vocabulary

Free

The 60-term plain-English glossary for AI system design: LLM basics, retrieval, agents, infrastructure, reliability, scaling, cost, and safety — with deep-dive links into every guide section.

System Design

Your First Agentic System

Free

Build a support bot end to end: six iterations from one API call to a production-shaped architecture with retrieval, caching, model routing, guardrails, and observability — runnable code at every step.

System Design

The Paradigm Shift

Free

Traditional vs agentic system design: the 7 dimensions that transform, anatomy of an agentic system, control flow paradigms, failure modes, and when to go agentic.

System Design

5-Phase Framework

Free

Five-phase system design framework for AI interviews: requirements, architecture, data flow, scaling, and production readiness.

System Design

10-Layer Architecture

Preview

Staff-level 10-layer architecture for AI-native systems: from infrastructure to user experience, with production examples.

System Design

Scaling 10k to 1M

Preview

Scale AI systems from 10K to 1M users: caching, sharding, async processing, and infrastructure evolution strategies.

System Design

Real-World Case Studies

Preview

How OpenAI Deep Research, Claude Code, Perplexity, Cursor, and Devin work under the hood. Production architecture breakdowns with design decisions for interviews.

System Design

Security Overview

Preview

Security and privacy for AI applications: threat models, data protection, compliance frameworks, and defense-in-depth.

System Design

Guardrails & Safety

Preview

AI guardrails and safety: content filtering, output validation, safety classifiers, and responsible AI deployment.

System Design

PII Detection

Preview

PII detection and redaction in LLM applications: entity recognition, masking strategies, and compliance automation.

System Design

Prompt Injection Defense

Preview

Defend against prompt injection attacks: detection techniques, input sanitization, and multi-layer defense strategies.

System Design

Multi-Tenant Isolation

Preview

Multi-tenant isolation for AI platforms: data separation, model isolation, rate limiting, and tenant-aware architectures.

System Design

Audit & Compliance

Preview

Audit logging and compliance for AI systems: SOC2, HIPAA, GDPR requirements, and automated compliance monitoring.

System Design

Context Engineering

Preview

The discipline replacing prompt engineering: designing dynamic context systems that give agents the right information at the right time. Covers lazy loading, memory-augmented architectures, and production patterns.

System Design

Semantic Caching

Preview

Semantic caching for LLM applications: reduce costs and latency by caching semantically similar queries with vector similarity.

System Design

Model Routing

Preview

Tiered model routing: route queries to the right model (GPT-4, Claude, Haiku) based on complexity, cost, and latency requirements.

System Design

Rate Limiting & Cost

Preview

Rate limiting and cost management for LLM APIs: token budgets, per-user quotas, and cost optimization strategies.

System Design

Inference Optimization

Preview

LLM inference optimization: batching, quantization, KV-cache, speculative decoding, and hardware selection.

System Design

Hallucination Detection

Preview

Detect and prevent LLM hallucinations: factuality checking, grounding verification, and off-brand content filtering.

System Design

Agent Failure Modes

Preview

Common AI agent failure modes: infinite loops, tool misuse, context window overflow, and recovery strategies.

System Design

Deployment & Rollout

Preview

Deploy and roll out AI systems: canary releases, feature flags, A/B testing, and safe rollback strategies.

System Design

Event-Driven Async

Preview

Event-driven async architectures for AI: message queues, webhook patterns, and asynchronous agent orchestration.

System Design

Data Flywheel

Preview

Build a data flywheel for AI products: feedback loops, continuous learning, and data-driven model improvement cycles.

System Design

Claude Agent SDK

Preview

Claude Agent SDK patterns: building production multi-agent systems with guardrails, handoffs, and tool orchestration.

System Design

Architecture Decision Records

Preview

ADRs for AI systems: a reusable template plus three fully worked records (model provider choice, build-vs-buy guardrails, sync-to-async migration) — each with an explicit revisit trigger.

System Design

Migrations & Rollouts

Preview

Staff-level AI migration playbooks: provider swaps, monolith-to-agentic decomposition, model-version upgrades, and zero-downtime component swaps under one safe shadow → canary → ramp → rollback pattern.

System Design

Org & Leadership

Preview

The staff organizational layer: platform-vs-product ownership, incident command for silent LLM-quality failures, cost governance, the RFC process, and driving adoption without authority.

System Design
04

Interview Prep

7
05

Python

5

Full Access

Unlock All 87+ Sections

Get full access to the complete guide including worked problems, interview scripts, checklists, and staff-level deep dives.

Unlock Premium