> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring an Agent

> How to monitor and evaluate agents in the SGP UI.

> [!WARNING]
>
> #### Recommendation & Future Development
>
> While Agent Service remains supported, **Agentex is the recommended path** for all new projects. Future development, new features, and enhancements will be focused primarily on Agentex.

## Monitoring Executions

Every time an agent is run (during testing or otherwise), it is recorded and can be viewed on the traces page. This provides a comprehensive view of all threads and their inputs/outputs, helping you track performance and diagnose issues.

You can navigate to the traces page by clicking the **View Traces** button in the agent header.

![View Traces](https://mintcdn.com/scalegp/6cOXFxYysZJE_3yL/images/v5/agents/agent-service/monitor/agent-service-view-trace.png?fit=max\&auto=format\&n=6cOXFxYysZJE_3yL\&q=85\&s=637a00ee69e67d5f09bb7fbfee64dd61)

From the traces page you can:

* View the inputs and outputs of each thread
* View the performance metrics of each thread
* View the metadata of each thread
* Filter and search for specific threads

![Traces Page](https://mintcdn.com/scalegp/6cOXFxYysZJE_3yL/images/v5/agents/agent-service/monitor/traces-page.png?fit=max\&auto=format\&n=6cOXFxYysZJE_3yL\&q=85\&s=3babe4ca09a20a6b6ec91283389c3746)

Clicking on a trace will open the trace details in a modal.

![Individual Trace](https://mintcdn.com/scalegp/6cOXFxYysZJE_3yL/images/v5/agents/agent-service/monitor/individual-trace.png?fit=max\&auto=format\&n=6cOXFxYysZJE_3yL\&q=85\&s=9564f9399d6ef3f044ccae21f398fe03)
