Skip to course content
Free LangGraph course

LangGraph for Agentic Workflows

Module 11 Activity

Scenario

The capstone. An approval-aware research workflow, with the evidence that it behaves as designed.

What you build

A complete graph with conditional and error paths, a human gate before the irreversible step, checkpointing verified across processes, and an evidence record.

Steps

  1. Write the design as data - state with reducers, nodes, terminals, gate position, irreversible steps - and run the four structural checks.
  2. Implement the routing as one function with ordered early returns. State what each ordering decision means.
  3. Add the human gate before the irreversible node, and have that node check both approval and its own guard flag.
  4. Test the duplicate resume explicitly and confirm one effect.
  5. Verify a resume from a genuinely separate process, and confirm the expensive node ran once.
  6. Produce the evidence record: path taken, human intervention, proof the irreversible step ran once, branch coverage, and known limits.

Evidence to hand in

Review checklist