AI News Daily한국어
← AI tool tips
Open source✓ Confirmed in official docsAdded Dec 2

How to evaluate Claude Code or Codex on your merged PRs with the agent-eval-loop plugin

agent-eval-loop is a plugin from RELAI that turns pull requests already merged in your repo into evals and measures how well Claude Code or Codex solves them. Each eval starts at the commit before the fix, with the fix's tests hidden. Passing tests isn't enough to count as merge-ready: the change must also pass code checks such as build and lint and get nothing faulted by a code-review judge. The authors say that across 6 agents, 20 open-source repos and 900 runs, 57% of fixes that passed the tests weren't merge-ready.

  1. Install the plugin. For Claude Code, from your terminal:
claude plugin marketplace add relai-ai/agent-eval-loop
claude plugin install relai@agent-eval-loop

For Codex:

codex plugin marketplace add relai-ai/agent-eval-loop
codex plugin add relai@agent-eval-loop

Start a new session after installing. Codex asks you to trust the optional hooks, which flag edits to frozen evals.

  1. Evals run in Harbor, so you need uv and a container engine such as Docker or Podman. The bundled checkers need Python 3.11+.

  2. In the new session, call the coding-evals skill.

Use RELAI's coding-evals skill to evaluate my coding agent on recently merged PRs in this repository. Explain where it falls short and how to improve next.

Each eval is checked and frozen, with your sign-off, before it scores your agent. The report shows the solved rate, merge-ready rate, codebase fit, trustworthiness, and cost and time per attempt.

  1. Then call the improve skill. It turns the misses into changes to your instruction files, skills or subagents on a branch and reruns the same evals for a before-and-after comparison. A difference within run-to-run noise counts as none.
Use RELAI's improve skill to improve my coding agent's setup against these evals

If you're not sure where to begin, call the start skill; it suggests a first step without extra model calls. The plugin is Apache 2.0 licensed.

Get notified when a new tip lands

Tip alerts only go out in the app. Install it and turn notifications on.

Get the app

All tips →