English
Week 4: Production
Overview

Week 4: Production Engineering

This week focuses on taking your agents from prototype to production. You'll learn how to add safety guardrails, implement human oversight, and deploy agents as scalable APIs.

Learning Objectives

By the end of this week, you will:

  • ✅ Implement LangSmith tracing for debugging and monitoring
  • ✅ Add Guardrails for input/output validation
  • ✅ Build Human-in-the-Loop (HITL) approval workflows
  • ✅ Create Dynamic Model Routing for cost optimization
  • ✅ Deploy with FastAPI and Docker
  • ✅ Complete a full Enterprise Knowledge Agent capstone

Sessions

The Big Picture

Production is about reliability, not just functionality.

A working prototype is just the beginning. Production agents need safety checks, monitoring, human oversight, and scalable infrastructure.

Architecture Preview

Key Concepts

ConceptDescriptionPurpose
Input GuardrailsValidate and sanitize user inputSecurity, safety
Output GuardrailsCheck generated contentPrevent hallucination
HITLHuman approval for critical actionsTrust, compliance
Model RoutingChoose model based on task complexityCost optimization
LangSmithTracing and debugging platformObservability

Notebooks

SessionEnglishKorean
01. Evaluation📘 Notebook (opens in a new tab)📘 노트북 (opens in a new tab)
02. Guardrails📘 Notebook (opens in a new tab)📘 노트북 (opens in a new tab)
03. Model Routing📘 Notebook (opens in a new tab)📘 노트북 (opens in a new tab)
04. DSPy📘 Notebook (opens in a new tab)📘 노트북 (opens in a new tab)
Capstone📘 Coming Soon-

What You'll Build

The capstone project brings together everything from Weeks 1-4:

  • Week 1: ReAct agent with tools
  • Week 2: Self-correcting reasoning
  • Week 3: Multi-agent collaboration
  • Week 4: Production guardrails and deployment

← Back to Week 3