Week 13 Master Guide

Week 13: Tool Calling, `ReAct` Loops, Graph State Machines, Checkpointing & `HITL`

Week 13 Daily Breakdown (7 Days)

Day 1

Week 13, Day 1: Function & Tool Calling Internals — Pydantic-to-JSON-Schema & Safe Tool Dispatch

1 code file(s) • 3 Q&A
Day 2

Week 13, Day 2: The `ReAct` (`Reason + Act`) Loop from Scratch — Loop Guards & Duplicate Action Detection

1 code file(s) • 3 Q&A
Day 3

Week 13, Day 3: `Plan-and-Execute` vs `Reflexion` — Self-Correction from Tool Error Tracebacks

1 code file(s) • 3 Q&A
Day 4

Week 13, Day 4: Graph State Machines (`LangGraph` Architecture) — Typed State, Reducers & Conditional Edges

1 code file(s) • 3 Q&A
Day 5

Week 13, Day 5: Durable Checkpointing, Time-Travel Replay & Human-in-the-Loop (`HITL`) Interrupts

1 code file(s) • 3 Q&A
Day 6

Week 13, Day 6: Agent Memory Architectures (`CoALA`) — Working, Episodic, Semantic & Procedural Memory

1 code file(s) • 3 Q&A
Day 7

Week 13, Day 7 (Mini-Project): Stateful Graph SRE Agent with `HITL` & SQLite Checkpointing

1 code file(s) • 3 Q&A

Week 13: Tool Calling, ReAct Loops, Graph State Machines, Checkpointing & HITL

Month 4 — Autonomous Agents, Model Context Protocol (MCP) & Multi-Agent Systems Goal: Transform passive LLMs that only output text into deterministic, stateful, self-correcting Autonomous Agents with strict JSON Schema tool dispatch, ReAct & Reflexion loops, LangGraph-style state machines, SQLite time-travel checkpointing, and Human-in-the-Loop (HITL) safety interrupts.


Weekly Architecture & Daily Breakdown

  • Day 1: Function & Tool Calling Internals — Pydantic-to-JSON-Schema & Safe Tool Registry (day01_function_calling_json_schemas_and_tool_dispatch/)
  • Day 2: The ReAct (Reason + Act) Loop from Scratch — Loop Guards & Duplicate Action Detection (day02_react_reason_and_act_loop_from_scratch/)
  • Day 3: Plan-and-Execute vs Reflexion — Self-Correction from Tool Error Tracebacks (day03_plan_and_execute_vs_reflexion_self_correction/)
  • Day 4: Graph State Machines (LangGraph Architecture) — Typed State, Reducers & Conditional Edges (day04_graph_state_machines_nodes_conditional_edges_and_reducers/)
  • Day 5: Durable Checkpointing, Time-Travel Replay & Human-in-the-Loop (HITL) Interrupts (day05_durable_checkpointing_time_travel_and_human_in_the_loop/)
  • Day 6: Agent Memory Architectures (CoALA) — Working, Episodic, Semantic & Procedural Memory (day06_agent_memory_architectures_episodic_semantic_procedural/)
  • Day 7: Week 13 Mini-Project — Stateful Graph SRE Agent with HITL & SQLite Checkpointing (day07_week13_mini_project_stateful_hitl_sre_agent/)
Week 13: Week 13: Tool Calling, `ReAct` Loops, Graph State Machines, Checkpointing & `HITL` | 24-Week AI Engineer Academy · DataArena