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

StepWhat it is
AgentAn agent step: the agent starting a task, or taking one over from another agent.
LLM callA call to a model, through the proxy or reported by your code.
Tool callOne of your agent's own tools, such as a database lookup or an API call.
RetrievalAn embeddings call, typically for search.

Each step can carry a badge:

BadgeMeaning
ERRORThe step failed: your code marked it as an error, or the provider returned an error.
BLOCKEDA guardrail stopped this request before it reached the model.
LOOPThe agent repeated the same step several times in a row without making progress.
DIVERGEDWhere this run first departed from its golden path.

Connections

ConnectionMeaning
SequentialThe normal flow from a step to the step it started.
Delegates toWork handed to a different agent.
RetriesThe same step attempted again after it failed.
ParallelSteps 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:

Python
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.