lmnr-cli eval run, locally on Docker or in Tracevell’s cloud sandboxes, and every trial lands in Tracevell with its score next to the full trace of the agent run.
Agent evaluations are in beta. The
lmnr-cli eval run command, its flags, and the folder layout may still change.Agent evaluations and LLM evaluations
Tracevell has two ways to evaluate, based on what the evaluations look at:- Agent evaluations (this section) set up a working environment for the agent, let it run, and score the whole outcome, including the state changes, and the agent trajectory.
- LLM evaluations call a function in your process with
evaluate(), then compare its output to target data with evaluator functions.
The two share the same UI views, run comparison, and SQL access. Both can also coexist in one project.
Why evaluate the agent in its environment
Unit tests are a poor fit for agents that act on the world:- The outcome is not in the final message. Agents may write database rows and change the state of the world around them. Scoring just the final message misses whether the right thing actually happened.
- The bugs are in the integration. Downstream services may experience transient issues; agents may or may not self-heal. Fixtures hide these kinds of issues.
- Production failures need their exact context. Reproducing a failure means the same conversation, records, and account state.
- Isolation. Each case boots its own stack with its own data, so cases don’t interfere with each other and can run in parallel, in any order.
- Local and cloud from one folder.
lmnr-cli eval runruns trials on your Docker. Add--remoteto run the same eval in Tracevell sandboxes, one per trial.
How a run works
You keep anevals/ folder next to your code. Each case in it is a Harbor task: image definition, the data for this scenario, and a verifier. When you run lmnr-cli eval run, Tracevell:
- Builds your image from the live source tree.
- Starts one container per trial, uploads the case’s data, and runs the driver against your app.
- Runs the verifier over what the app produced and records its reward as the score.
- Attaches the app’s LLM and tool calls to the trial’s trace, so you can investigate failing scores.
Next steps
Quickstart
Have your coding agent set it up, or build a two-case suite by hand.
Concepts
Tasks, environments, agents, verifiers, and trials, and how they map to Tracevell.
Build a production harness
Run the real services, seed realistic data, and keep the eval honest.
Track failures with Signals
Find the production traces worth turning into cases.