LLMs

Engineering with large language models: orchestration, agents, RAG, and LLMOps.

Pattern index →

Phase 1

Advanced LLM Orchestration & Agentic Systems

From linear chains to stateful graphs, tool-calling loops, agent architectures, and multi-agent coordination.

  1. Core Abstractions: Chains vs. State Graphs

    Why DAG-shaped chains break down and what LangGraph’s state machines buy you.

  2. Tool Calling Mechanics & Execution Loops

    What actually happens between the model emitting a tool call and you returning a result.

  3. Agentic Architectures: ReAct, Plan-and-Solve

    Interleaved reasoning vs. up-front planning, and when each one fails.

    No notes yet.

  4. Multi-Agent Orchestration

    Supervisors, hand-offs, and shared state across cooperating agents.

    No notes yet.

Phase 2

RAG at Scale

Chunking, hybrid retrieval, re-ranking, evaluation, and serving retrieval in production.

  1. RAG Fundamentals

    The indexing and answering pipelines, end to end, and where they break.

  2. Document Processing & Chunking

    Parsing PDFs, HTML, and code; structure-aware chunking; metadata worth keeping.

    No notes yet.

  3. Hybrid Retrieval

    BM25 plus dense vectors, rank fusion, metadata filters, and query rewriting.

    No notes yet.

  4. Re-ranking

    Cross-encoders, late interaction, and LLM rerankers: precision after recall.

    No notes yet.

  5. Evaluating RAG

    Retrieval metrics, faithfulness and relevance judges, and building a test set.

    No notes yet.

  6. Serving Retrieval in Production

    Index freshness, latency and cost budgets, access control, and scaling the index.

    No notes yet.

Phase 3

LLMOps

Tracing, evals, gateways, cost control, and deployment pipelines for LLM systems.

  1. Tracing & Observability

    Spans for prompts, tool calls, and retrievals; what to log and how to debug a bad answer.

    No notes yet.

  2. Evals

    Offline test suites, LLM-as-judge, regression gates, and online feedback.

    No notes yet.

  3. Gateways & Routing

    Provider abstraction, caching, fallbacks, rate limits, and model routing.

    No notes yet.

  4. Cost & Latency Control

    Token budgets, prompt caching, batching, smaller models, and streaming.

    No notes yet.

  5. Deployment Pipelines

    Versioning prompts and models, CI for LLM apps, canaries, and rollbacks.

    No notes yet.