Phase 2 outline

Module 04 of 08 · Outline

LangGraph — Cycles, Human-in-the-Loop & Persistence

Add review gates, checkpoints, resumability, fan-out, aggregation, and sub-graphs.

Learning outcome: A checkpointed graph and recovery test evidence.

Lesson outline

Lesson 4.1

Cycles and subgraphs

  • Bounded retry loops
  • Fan-out and aggregation
  • Composable subgraph contracts

Lesson 4.2

Human review

  • Interrupts and review payloads
  • Approve, edit, and reject decisions
  • Resuming with updated state

Lesson 4.3

Persistence

  • Checkpointers and thread identifiers
  • Recovery after interruption
  • Idempotency for repeated side effects

Practice assignment

Build a resumable review workflow

  1. Pause a proposed action for human review.
  2. Persist state and resume after a simulated restart.
  3. Test rejection and duplicate resume requests.

Deliverable: A checkpointed graph and recovery test evidence.

Independent practice · no submission or grading

Reference reading