Rigr

Agent evaluation for teams that can't afford to be wrong. Define what your agent must output, freeze the known-good results, catch regressions before your customers do.

CLIinit · test · compare
JSONversion-controlled cases
PyPIpip install rigr
MITopen-source core
Rigr in 20 seconds. An illustrative evaluation flow with fictional cases and results. Saving the baseline uses the Python API. Open video.
Read the overview transcript
  1. 00:00–00:04 · Your agent sounds helpful. Does it still calculate the refund correctly?
  2. 00:04–00:07 · Define what your agent must do with a JSON test case.
  3. 00:07–00:10 · Freeze the known-good results. The Python Freezer.freeze API saves an illustrative baseline.
  4. 00:10–00:16 · Catch regressions before your customers do. The example run reports a changed refund value.
  5. 00:16–00:20 · Rigr. Agent evaluation and regression testing. Run tests with an explicitly selected agent.
pip install rigr
rigr init
rigr test --agent my_agent.run

The problem

You have agents in production. Every model update, prompt change, or retrieval tweak can break them silently. The existing eval tools test whether the model sounds good. That is the wrong axis. I do not care if my agent sounds helpful. I care whether it still calculates the refund correctly after the model swap. Different question, and the one that pages you at 2am.

The workflow

Test cases are JSON files. The Python Freezer.freeze(result) API writes the baseline. The current rigr freeze CLI command prints guidance; it does not save a baseline by itself.

Rigr records expected behavior in version control, runs repeatable cases, and compares new results with a reviewed baseline. The important idea is treating agent behavior as something a team can inspect in a code review, not something evaluated only by watching a demo.

Rigr is the sibling of Lethe. Rigr catches regressions between versions. Lethe measures degradation inside a single long run. Same instinct, two time scales: agents fail where nobody is measuring.

Open source on github. Backstory: measuring whether your AI is getting better or worse →