Week 2 · Day 9/30

LangChain & LangGraph Deep Dive

Chains, agents, graph-based workflows so state managementom

📅 2026-03-12 ⏱️ 7-8 hodín 📊 Agent Systems
Celkový progres 30%

🎯 Cieľ dňa

Ovládnuť LangGraph primitívy — Nodes, Edges, State, Conditional Edges. Pochopiť prečo LangGraph nahradil LangChain agents.

core practice

📚 Study Resources

📖

LangGraph Tutorial 2026: Beginner's Guide

Step-by-step: nodes, edges, states, conditional transitions od základov.

tutorial
💻

JetBrains — LangChain Python Tutorial 2026

Deep dive do LangChain s real-world use cases. Updated pre 2026.

tutorial
🐍

Real Python — LangGraph: Stateful AI Agents

Graph-based štruktúry, persistent state management, conditional workflows.

tutorial
🧠

Deep Agents in LangChain

Advanced: planning tools, sub-agent delegation, persistent memory — architektúra za Claude Code.

article

💡 Key Concepts

Chains vs Agents — Chains = deterministické sekvencie. Agents = autonómni decision-makeri s tool selection.
LangGraph Primitívy — Nodes (funkcie), Edges (spojenia), State (dáta cez graf), Conditional Edges (branching)
State Management — Core diferenciátor LangGraphu — stav naprieč krokmi, loops, branches, human-in-the-loop
Deep Agents — Planning tool (todo list), filesystem backend, sub-agent spawning — produkčný pattern

🔧 Praktické cvičenie

Buildni research assistant s LangGraph.

  1. Vytvor graph workflow: Query Analyzer → Web Searcher → Summarizer → Fact Checker
  2. Použi conditional edges na routing podľa query typu
  3. Pridaj human-in-the-loop checkpoint pred finálnou odpoveďou
  4. Testuj s rôznymi typmi otázok (fact, opinion, comparison)
  5. Vizualizuj graph flow