State Inspection

State Inspection

Debugging by looking at memory.

State Inspection

When a user reports "The bot forgot my name," you debug by pulling their State Snapshot.

graph.get_state(thread_id="123")

You can look at the state history.

  • Step 1: Name was present.
  • Step 5: Name was overwritten by null.

Now you know exactly which node caused the data loss.

Subscribe to our newsletter

Get the latest posts delivered right to your inbox.

Subscribe on LinkedIn