@agent-inspect/eval
v6.7.3
Published
Deterministic local eval utilities for AgentInspect traces
Readme
@agent-inspect/eval
Deterministic local eval rules over AgentInspect traces (no LLM judge by default).
Support level: Supported — see SUPPORT-LEVELS.md.
When to use
- CI checks on trace shape, tool usage, completion status
- Custom eval rules alongside
agent-inspect check
When not to use
- LLM-as-judge benchmarking platforms
- Hosted eval datasets
Install
npm install agent-inspect @agent-inspect/evalExample
import { evalRun } from "@agent-inspect/eval";
const result = await evalRun(".agent-inspect/run.jsonl", {
rules: [/* built-in or custom */],
});
console.log(result.summary);Privacy
- Reads local files only
- No network
API
| Export | Purpose |
| ------ | ------- |
| evalRun | Run rules on a trace |
| checks | Built-in check helpers |
CLI
npx agent-inspect eval · check
Docs
Troubleshooting
- AI_EVAL_TRACE_UNREADABLE: Path or format wrong — use
.jsonlpersisted traces - Rule failures: See
result.findingsfor evidence paths
Version
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
License
MIT
