matthelam logo
Published on

Agentic Studio: Debugging Agents

Authors

Some might find this super useful when building Agents in Agentic Studio. There is a hidden debug console!

You open it by adding debug=true to the end of the conversations URL, as described in Troubleshoot chats:

https://app-sitecore.cloud/agentic/conversations?tenantName=<TENANT_NAME>&organization=<ORG_NAME>&debug=true

A quirk I noticed to be aware of when using it though is that the setting is actually cached on the browser and so if the right panel doesn't appear hit the ctrl+f5 so that it picks up the setting in the querystring.

The visible pane is the only proof the flag took effect. Not the URL, not the fact that you pressed enter.

One more trap while you're here. Troubleshoot agents says, flatly, "You cannot debug standard agents." That's true of the workflow editor's Run facility. It is not true of this pane, which lists standard agent runs quite happily — mine is showing ten of them right now. Two debug surfaces, two documentation pages, and a restriction that only applies to one of them. I nearly gave up on the strength of that one sentence.

Check the pane is there. Then start debugging.

References