Gen-AI Developer Classroom notes 15/Jun/2025

Time Travel

  • Lets see how langgrpah supports debugging by viewing, replaying and even forking past states

  • To browse history we can use graph.get_state on the graphs side to fetch the information and we can also browse the state history of our agent using get_state_history

  • If you want to run the grap from a particular checkpoint with out changing any state, this is considered replay and to do replay graph.stream(input=None, config=to_replay.config, stream_mode="values")
  • If we want to run from a step but with a different input, this is called as forking
  • Refer Here for the jupyter notebook to perform time travel by using langgraph

  • Time travel from graph API/SDK Refer Here

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading