Trace

A trace is the record of one request’s path through an AI application, broken into the steps that actually ran. It can include the user’s input, the prompt, tool calls, intermediate steps and the final answer.

How does Trace work?

A trace is built from spans, one for each step, such as a model call, a retrieval or a tool call. The spans share one trace ID and are shown nested, so you can see where time went and where an answer went wrong. Tools also record details such as the model name and token counts.

Tracing is the data capture. Using the traces, with evaluations and monitoring on top, is observability. Tools do not all use the words trace and span in exactly the same way, so check how yours defines them.

What does Trace mean in Eva?

Reading traces from tools such as Langfuse or LangSmith, to see which answers are worth asking users about, is on Eva’s list and not in the alpha. Today Eva asks short questions inside the product, where the feature lives, and keeps a replay of every synthetic session. A replay is not the same thing as a trace from your own system.

See also

Want to see it on your own product?

Apply for accessTalk to a founder