Skip to main content
When your agent answers wrong or takes the wrong path, Debug lets you fix that exact turn instead of guessing at the whole prompt or flow. Open it on a specific response or transition in the LLM Playground to see the fixes that usually help, then regenerate the turn to check your change before it reaches a real call.
Debug is a Playground feature, and what it offers depends on the agent. Conversation Flow agents get the full set, including transition debugging and node-level fixes. Single-prompt and multi-prompt agents get response and tool-call debugging, with temperature as the suggested fix.

Opening the Debug panel on a turn in the LLM Playground.

Fix a wrong response

1

Open Debug on the response

Click the Debug button on the agent’s response.
2

Review the suggested fixes

Debug the AI response lists the fixes that usually help. Each one links to a guide you follow to make the change yourself:On a single-prompt or multi-prompt agent, temperature is the only fix offered, since there are no nodes to split.
3

Regenerate to confirm

Click Regenerate the answer to produce a new response using the agent’s current configuration, so once you’ve applied a fix you can see the new behavior. Use Regenerate 10 answers to check how consistent the responses are across runs.

Debugging a wrong response.

Fix a transition problem

When the agent moves to the wrong node, or doesn’t move when it should:
1

Open Debug on the transition

Click Debug on the agent’s response and select Didn’t transition as expected?, or click Debug directly on the transition dialog.
2

Review the suggested fixes

Each fix links to a guide you follow to make the change yourself:
3

Regenerate the transition

Click Regenerate the transition to try again with the agent’s current configuration, or Regenerate 10 transitions to see which node the agent picks across 10 attempts.

Debugging a transition.

Fix a wrong tool call

When the agent calls the right function with the wrong arguments, or calls one it shouldn’t, hover the Tool Invocation row in the transcript and click Debug. Debug the tool invocation works like the response popup: it links to the fixes that apply, then Regenerate the tool invocation retries that call with the agent’s current configuration and Regenerate 10 tool invocations shows how often each set of arguments comes up.

Fix inconsistent responses

When the same prompt gives different answers, click Debug on the response. The popup links to guides for the fixes that help most: add fine-tuning examples, split the node, or adjust the temperature. Each debug popup has a 10-run option: Regenerate 10 answers, Regenerate 10 transitions, and Regenerate 10 tool invocations. Each one replays that turn 10 times and lists every distinct result with a count out of 10, so you can see the agent’s most common output on a non-deterministic turn and confirm it holds steady after a fix.

Next steps