For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent Evaluation

Agent evaluation in LayerLens — Traces, Graders, and Trace Evaluations.

Agent evaluation in LayerLens spans three surfaces:

  • Traces — upload, browse, and inspect agent traces

  • Graders — build and manage LLM-as-a-judge graders

  • Trace evaluations — score traces with graders

These three surfaces compose the full agentic-evaluation workflow.

What's an agent trace

A trace is a record of an AI call (or chain of calls): inputs, outputs, every tool call, every span, latencies, costs, errors. LayerLens's trace pipeline ingests trace JSON and stores it for inspection and evaluation.

The three surfaces

Traces

Inspect individual traces. See Traces.

Graders

Build LLM graders for subjective dimensions. See Graders.

Trace evaluations

Run a scoring config (graders) over a trace set. See Trace evaluations.

How they combine for agentic evaluation

A complete agentic evaluation:

  1. Capture trace set — upload representative traces (or stream them from your application)

  2. Define criteria — natural-language assertions, deterministic rules, LLM graders

  3. Run trace evaluation — LayerLens grades every trace against every criterion

  4. Read verdict + root-cause — failure tied back to the trace, span, and decision

Where to next

Last updated

Was this helpful?