Help center
Back to the app

Debug a flow

Step through the saved agent, inspect calls and trace how variables change.

Debug runs the saved flow while you chat with it and shows each step: which node was entered and why, which tool was called with what, and what was remembered.

Debug setup before starting a sessionDebug setup before starting a session

Start a session

  1. Save the agent, open Conversation flow and choose Debug, or press Test from this node on a node.
  2. In Start at, choose the beginning or a node. When you start partway, give the values earlier steps would have set in Remembered values (JSON), for example {"patientId": 42}.
  3. Tick Pause at every agent and/or Pause before tools to stop at those points. Tick Allow real actions and model charges and press Start debug.
  4. Write in Chat. At each stop look at the event, then press Next checkpoint, or Continue without pauses to run to the end. Stop ends the session.

Read the result

The graph highlights the active node and the transitions taken. The timeline lists node entries, messages, model requests, tool calls and errors; Detailed events adds condition checks, extraction, memory updates, routing and usage.

Select an event to see:

PanelWhat it shows
ChatThe messages so far.
MemoryThe variables as they were at that event.
EventThe event itself, such as a tool's arguments or a condition's result.
StackThe nodes running, and those waiting to be returned to.

Example: booked too early

Start at the beginning with Pause before tools. Ask to book and stop at each tool. Before the booking tool, patientId, the time and the confirmation should be in Memory. If the booking comes before the person has confirmed, look at the transition that led there, fix its conditions, save and try again.

To test without real tools, use Evaluations.