Trupeer AI - Create professional product videos and guides
logo

Glean Agent Debug Mode

Glean
Nov 5, 2025

17 Views
0 Comments
0 Reactions
Loading video...

Utilizing Debug Features in Glean Agents

This document provides a detailed overview of using the debug feature within Glean Agents to test and refine your agent's performance. Follow these steps to efficiently troubleshoot and enhance your agent's capabilities.

Step 1

To demonstrate the debug feature in Glean Agents, start by ensuring your agent is fully created with all required steps. Testing its functionality is the next logical step.

Screenshot

Step 2

To initiate a test, click the Preview button located at the top right. This action allows you to run your Glean Agent.

Screenshot

Step 3

After running your agent and reviewing the output, activate the debug feature by clicking the debug toggle at the top right. This action loads the steps in debug mode.

Screenshot

Step 4

In debug mode, you can review each step taken by the agent. Delve deeper into any specific step by selecting it for more information. The corresponding step of the agent is also highlighted in green on the left.

Screenshot

Step 5

In this example, the debug mode displays the URL of the Google document provided to the agent as the input. And below that, the resulting output can also be seen detailing the information extracted from the document and saved in the agent's memory. Click the ... to expand the view and show more details.

Screenshot

Step 6

To explore additional steps, navigate back to the top and select "trace." This allows you to sequentially review subsequent steps.

Screenshot

Step 7

Using this method is an excellent way to understand your agent's inner workings beyond just observing the final output. It offers deeper insight into how Glean Agents function and is helpful for troubleshooting and optimizing an agent.

Screenshot

U