Launched this week

RELAI Agent Eval Loop
Make your coding agent measurably better at your codebase
678 followers
Make your coding agent measurably better at your codebase
678 followers
Public benchmarks can't tell you how your coding agent does on your codebase. RELAI Agent Eval Loop is an open-source plugin that turns your merged PRs into evals and checks each one before using it. It scores Claude Code, Codex or any coding agent like your reviewers would: does it work, is it merge-ready, can you trust it, what did it cost. Then it improves your CLAUDE.md, AGENTS.md and skills, keeping only what measurably helps. No account, no platform, just files in your repo.





Free
Launch Team / Built With

Framer AI workflowsPut Framer’s Agent to work on your site
Promoted



Hey Product Hunt 👋
I'm Soheil, CS professor at the University of Maryland and founder of RELAI.
Every week there's a new model, a new skill or a new CLAUDE.md trick that promises a better coding agent. Teams switch on vibes, because nobody can answer the one question that matters: does it work better on our codebase?
So we built RELAI Agent Eval Loop. It's a plugin for Claude Code, Codex and other coding agents, and it's 100% open source (Apache 2.0). No account, no platform, no paid tier. Everything stays as plain files in your repo.
Each loop:
Builds evals from your team's merged PRs, and checks each one before using it
Scores your agent on what your team cares about:
• Pass rate: does its fix actually work, without breaking anything else?
• Merge-ready: would you merge it as is?
• Trustworthy: did it work safely and report honestly?
• Cost and time per task
Improves your agent's setup (CLAUDE.md or AGENTS.md and skills) from what failed
Proves it: every change is re-run on the same evals and kept only if it measurably helps
We tried it on 20 popular open-source repos, created 50 evals from their merged PRs, and ran 6 coding agents on each one 3 times. The biggest surprise: passing the tests isn't the same as being mergeable. Of the 400 fixes that passed, only 172 (43%) were merge-ready.
Then we let it improve Claude Code on the Vue repo. Same model, better setup: merge-ready rate went from 23% to 49%.
Try it in Claude Code (needs Docker or Podman, plus uv):
Then ask:
You'll see where your agent fails, and what it costs, before you decide whether to let it improve anything. It also estimates the cost before anything that spends model credits, so there are no surprise bills.
Using Codex or another agent? Setup is in the README.
One question for you: what would you want your coding agent to get better at first? I'm here all day and will reply to everyone.
Soheil
⭐ https://github.com/relai-ai/agent-eval-loop
@soheil_feizi How does RELAI make sure the improvements to an agent's setup actually generalize beyond the evals built from past PRs???
Eval loops are great. It's an interesting area where you can take a problem with many variables, vary different things like the model or the prompt, and see how it does. It also seems like an area where you could create a lot of descriptive statistics or apply various types of regression analysis.
@anders_olsson Agreed, and the variables don't matter equally. In our study, merge-ready rates varied more across repositories (ranging from 3% to 40%) than across agents (from 11% to 26%). And when we varied the setup for a specific repo (through the "improve" skill in our open-source plugin btw), raising the model's reasoning effort didn't significantly help, while adding a read-only reviewer subagent roughly doubled the merge-ready rate. We will release the full breakdown this week in our technical report.
does it read the linked issue when it builds an eval from a PR?
@leoheo Yes it does, the linked issue or ticket becomes the task instruction for the coding agent being evaluated (within the harbor environment). There might some small modifications to not give away the answer.
@leoheo @priyathamkat Adding to Priyatham: the issue also defines what the hidden tests in a created eval are allowed to check. Tests should only cover behavior the issue actually asks for, plus regression guards for behavior that already existed before the fix. So the agent won't be expected to reproduce unspecified detail of the original fix that it couldn't have known from the issue.
@priyathamkat @wenxiao oh ok, thanks to you both
The 43% number is what sold me — 400 fixes passing tests, only 172 actually merge-ready. I've been judging my agent mostly by feel: a good session and I assume the setup improved, a bad one and I tweak the instructions and hope. Building evals from my own merged PRs and only keeping a change if it measurably helps on the same evals is the part that stops the setup from drifting on vibes. Going to run it on my own repo.
@jcbuilds Awesome! Let us know how it goes and leave us any feedback on our Github: https://github.com/relai-ai/agent-eval-loop
@jcbuilds Thanks JC! Drifting on vibes could exactly be the issue. The data in our study actually back you up: For 3 independent attempts per task, even the best agent in our study was merge-ready at least one out of three attempts on 20 tasks but all three times on only 6, so one good session really can be luck and that can cause the performance to drift.
Excited to hear how it goes on your repo. Let us know what it finds, especially if the results surprise you!
@soheil_feizi Congrats 👏 on Launch Soheil & Team!!
Could save developers a lot of time when trying different models and agent setup. Great work on making it open source!!
@soheil_feizi @heyrohitk Thank you so much! We're excited for you to try and give us any feedback.
@soheil_feizi @priyathamkat Sure!
@heyrohitk Thank you for the support! We look forward to hearing from you so we can make it even better!
@soheil_feizii like the idea of turning merge PRs into real evals instead of relying on public benchmarks. Does the system also catch cases where an agent passes tests but still produces code reviewers wouldn't approve?
@soheil_feizi @leoparker1965_alt Absolutely! That's one of the key differentiators. We evaluate codebase fit, test quality and change scope against your team's own review standards. Passing tests is only half the battle. Review and rework can add significant overhead. In our study 57% of fixes that passed the tests were still assessed as not merge-ready.
@soheil_feizi @leoparker1965_alt @py_laurent Adding to Laurent's point: And the gap is rarely lint or formatting. Of the 400 solved attempts in our study, only 8% of them failed a code check with 45% of them drew some review request such as a missing changelog entry, a fix in the wrong layer, or a behavior change nobody asked for. These are some of the popular factors we have seen limiting merge-ready rates.
@leoparker1965_alt Expanding on what @py_laurent said, some of the additional checks we look for are (among other things):
Is the new code using existing or build right abstractions?
Is the change made in the right layer (API/middleware/db just as an example for a backend system)?
Does the agent report its changes accurately?
You can customize these and add more criteria as you see fit. So we are very flexible.
Good question. The launch notes say it scores both whether a fix works and whether it would be merge-ready, so it is designed to catch that gap beyond passing tests.
I like that the loop starts from merged PRs in the repo. The distinction between passing tests and being merge-ready is exactly the kind of signal public benchmarks miss.
@ankit_pandit_dev Glad you like the idea! We're happy to incorporate any feedback you might have.
@ankit_pandit_dev Thank you and yes exactly. Passing tests is far from sufficient for measuring quality of coding work and the value you get from coding agents. And the merged PRs in your repos provide natural info needed for eval and improvement.