Hugging Face open-sources safeagents, a local proxy that blocks reward-hacking tool calls

yb2698 · x · 2026-11-06

RL pushes agents toward shortcuts, so Hugging Face open-sourced safeagents — a lightweight local proxy inside the trainer that checks every tool call before the harness runs it.

Per-env plugins (a few regexes in a Python file) declare blocked/logged rules based on where each task's answer can actually be reached from the sandbox.

Related event: Hugging Face Open-Sources safeagents to Block Agent Reward Hacking(2 posts)→

Original post →

More from coding & agent

coding & agent channel →