Execution graphs
How every run is rebuilt as a graph of steps, with retries, hand-offs, loops and failures marked.
Every run is rebuilt as a graph of the steps your agent took. Open any run from an agent's page or from Executions, the list of every run across your agents, which you can filter by agent, time window, status and whether a policy fired.
Steps
| Step | What it is |
|---|---|
| Agent | An agent step: the agent starting a task, or taking one over from another agent. |
| LLM call | A call to a model, through the proxy or reported by your code. |
| Tool call | One of your agent's own tools, such as a database lookup or an API call. |
| Retrieval | An embeddings call, typically for search. |
Each step can carry a badge:
| Badge | Meaning |
|---|---|
| ERROR | The step failed: your code marked it as an error, or the provider returned an error. |
| BLOCKED | A guardrail stopped this request before it reached the model. |
| LOOP | The agent repeated the same step several times in a row without making progress. |
| DIVERGED | Where this run first departed from its golden path. |
Connections
| Connection | Meaning |
|---|---|
| Sequential | The normal flow from a step to the step it started. |
| Delegates to | Work handed to a different agent. |
| Retries | The same step attempted again after it failed. |
| Parallel | Steps under the same parent that ran at the same time. |
Steps are placed by how they relate to each other, not by the order they arrived, so a run looks the same however its steps were delivered.
Loops
A small number of repeats is normal: an agent retrying a flaky tool is resilient, not broken. When the same step keeps repeating under the same parent, Elgeon flags it as a loop. The page header counts flagged loops, and a loop lowers the agent's trust score.
Replay a run
The replay bar above the graph steps through the run in order. Play it, or move one step at a time, to see exactly what the agent did and when. The selected step's type, name, time and duration are shown above the graph.
Golden paths
When a run is the right way to do a task, choose Mark as golden and give the task a name. Later runs of the same task are compared against it when they finish: a run that follows the proven path earns trust, and one that strays loses trust in proportion to how far it strayed. The explanation names the step where it went off course.
Tag each run with its task name so Elgeon knows which golden path applies. Set the elgeon.task.label attribute on any span of the run:
with tracer.start_as_current_span(
"invoke_agent refund-processor",
attributes={
"gen_ai.operation.name": "invoke_agent",
"gen_ai.provider.name": "openai",
"elgeon.task.label": "issue-refund",
},
):
...Runs without a task label, or whose task has no golden path yet, are not compared. Marking a run as golden needs the admin or developer role.
Compare two runs
Compare any two runs of an agent side by side. Elgeon shows how similar they are and the first step where they differ.
Export a run
Export PDF on a run page produces a report of that run for a ticket, a review or an audit file.
Next: how the trust score works.