🔥 BLACK FRIDAY SALE1 course ₹199·any 3 courses ₹399 for 3 months·ALL courses + 1 mock interview ₹599 for 6 monthsClaim offer →

Agentic AI (LangChain and LangGraph) · LangGraph Fundamentals · Advanced · 24 min read

LangGraph Time Travel and Forking: Replay, Branch and Debug Agents from Past Checkpoints

Rewind and explore agent runs. Learn how checkpoints enable time travel, finding a checkpoint with get_state_history, replaying from it, forking with update_state and as_node, how interrupts and subgraphs behave, what re-executes (and costs money), practical debugging, what-if analysis and test setup workflows, and the caveats that surprise people.

LangGraph Time Travel and Forking: Replay, Branch and Debug Agents from Past Checkpoints: lesson illustration

A first look

  • Advanced level · 24 min read
  • 7 interview questions with model answers
  • LangGraph Fundamentals · Agentic AI (LangChain and LangGraph)

You will learn to

  • What time travel is: replay and fork from saved checkpoints
  • Finding checkpoints with getstatehistory
  • Replaying a step, and forking with updatestate (and asnode)
  • …and 3 more topics inside
Create an account to start

Create a free account to see what this lesson covers

  • Every free lesson in every section, in full
  • Track your progress and pick up where you left off
  • Free practice questions and an incident simulation
  • Takes under a minute: name, email and a password

No card needed. Full access to Agentic AI (LangChain and LangGraph) is a paid upgrade you can choose later.