R254 · Agent principles and patterns › Evaluation data for agents

LiteLLM agent_eval: score harness-plus-model setups on your own tasks

Read the original

Authors LiteLLM

evalsagent-harnessbenchmarkingcosttool-release

Source: a LinkedIn post by Hao Hoang (Senior AI Researcher, FWD) on a LiteLLM tool he calls Lens CLI, alongside LiteLLM's agent evaluation guide and its launch post by CTO Ishaan Jaffer (16 Nov 2026). Both docs mark the API as an unreleased preview: the code is on LiteLLM's main branch but not in a PyPI release.

What it is

Teams usually pick a model on purpose and inherit the agent harness by accident. LiteLLM's new evaluation layer makes the pair (harness, model) the unit you compare. You declare tasks with success checks once, list the targets, and get one scorecard with pass rate, cost and duration per target.

The post describes a terminal front end (tasks in a CSV, checks and configurations in a Python file, one lens run command, reports written locally) and a saved demo run of 24 synthetic legal-QA tasks across 3 harnesses and 4 models. In it, the same small model passed 24 of 24 through one harness and 22 to 23 through two others, and the tool recommended the cheapest setup within five points of the best pass rate. That CLI and the demo numbers are the post's account; the public docs describe the Python SDK only, and the post itself says the CLI is a private preview needing a Lens-enabled gateway.

Design choices worth noting

Tradeoffs

Failure modes to watch

Review checklist

Cited in field guides

Connections

See R254 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.