Show HN: RULER – Easily apply RL to any agent

Hacker News (score: 11)
Found: July 11, 2025
ID: 249

Description

Other
Show HN: RULER – Easily apply RL to any agent Hey HN, Kyle here, one of the co-founders of OpenPipe.

Reinforcement learning is one of the best techniques for making agents more reliable, and has been widely adopted by frontier labs. However, adoption in the outside community has been slow because it's so hard to implement.

One of the biggest challenges when adapting RL to a new task is the need for a task-specific "reward function" (way of measuring success). This is often difficult to define, and requires either high-quality labeled data and/or significant domain expertise to generate.

RULER is a drop-in reward function that works across different tasks without any of that complexity.

It works by showing N trajectories to an LLM judge and asking it to rank them relative to each other. This sidesteps the calibration issues that plague most LLM-as-judge approaches. Combined with GRPO (which only cares about relative scores within groups), it just works (surprisingly well!).

We have a full writeup on the blog, including results on 4 production tasks. On all 4 tasks, small Qwen 2.5 models trained with RULER+GRPO beat the best prompted frontier model, despite being significantly smaller and cheaper to run. Surprisingly, they even beat models trained with hand-crafted reward functions on 3/4 tasks! https://openpipe.ai/blog/ruler

Repo: https://github.com/OpenPipe/ART

More from Hacker

Poking holes into bytecode with peephole optimisations

Poking holes into bytecode with peephole optimisations

Show HN: Run LLMs in Docker for any language without prebuilding containers

Show HN: Run LLMs in Docker for any language without prebuilding containers I&#x27;ve been looking for a way to run LLMs safely without needing to approve every command. There are plenty of projects out there that run the agent in docker, but they don&#x27;t always contain the dependencies that I need.<p>Then it struck me. I already define project dependencies with mise. What if we could build a container on the fly for any project by reading the mise config?<p>I&#x27;ve been using agent-en-place for a couple of weeks now, and it&#x27;s working great! I&#x27;d love to hear what y&#x27;all think

Bare metal programming with RISC-V guide (2023)

Bare metal programming with RISC-V guide (2023)

Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together

Fly's Sprites.dev addresses dev environment sandboxes and API sandboxes together

No other tools from this source yet.