โ† Curriculum
๐Ÿ› ๏ธ

Module 10

Advanced

Building AI Applications

Build real AI products: robust LLM API usage with structured outputs, tool calling and caching; modern RAG; agents and MCP; context engineering and memory; rigorous evaluation; and guardrails for agents with tools.

Your progress

0/6

3.4 hoursโšก 805 XP
Start module

What you'll be able to do

  • โœ“Call LLM APIs robustly with streaming, strict structured outputs, tool calling, retries, rate-limit handling, and prompt caching
  • โœ“Build a RAG pipeline with smart chunking, contextual retrieval, hybrid search, reranking, and query rewriting, and know when long context replaces it
  • โœ“Design agent loops with well-scoped tools, planning, MCP integrations, budgets, and human-in-the-loop approval
  • โœ“Manage the context window with compaction, tool-result clearing, sub-agents, and long-term memory, and estimate the cost of each choice
  • โœ“Evaluate LLM systems with versioned datasets, validated LLM judges, paired statistics, tracing, and offline plus online evals
  • โœ“Defend agents against prompt injection with least privilege and policy enforced in code, protect PII, and operate with observability and fallbacks

Lessons

  1. 1

    Working with LLM APIs

    Call language models like a professional: messages and system prompts, streaming, structured outputs with JSON Schema, tool calling, retries, rate limits, and prompt caching.

  2. ๐Ÿ”’

    Retrieval-Augmented Generation

    Ground LLM answers in your own documents: chunking, embeddings, hybrid search, reranking, query rewriting, contextual retrieval, GraphRAG, and when long context replaces RAG.

  3. ๐Ÿ”’

    Agents and Tool Use

    Give LLMs the ability to act: the agent loop, workflows versus agents, planning, memory, the Model Context Protocol, multi-agent patterns, failure modes, and human-in-the-loop control.

  4. ๐Ÿ”’

    Context Engineering and Memory

    Manage the context window as a scarce budget: what to include, compaction and summarization, tool-result clearing, retrieval versus memory, sub-agent isolation, and the cost implications of every choice.

  5. ๐Ÿ”’

    Evaluating LLM Systems

    Measure whether your LLM application actually works: eval datasets, code-based graders, LLM-as-judge and its pitfalls, RAG and agent metrics, statistics for comparing versions, tracing, and offline versus online evaluation.

  6. ๐Ÿ”’

    Production Guardrails

    Ship LLM apps safely: threat-model prompt injection (especially for agents with tools), apply defense in depth, protect PII, validate outputs, and build observability and graceful degradation.