Ranked #16 of 28 on Friday, October 30
Hugging Face's SafeAgents: an open-source proxy that vets every coding-agent tool call before it runs
SafeAgents is an Apache-2.0 local proxy from Hugging Face that sits between a coding agent and its model server and checks each tool call before the harness sees it. It flags undeclared tools, hosts not present in the conversation, and about 110 deterministic…
Ranked #16 of 28 on Friday, October 30
Why it matters
It adds a harness-independent defense layer against prompt-injected or reckless agent actions, plus a way to measure reward hacking in RL evals.
What happened
1 min readSafeAgents is an Apache-2.0 local proxy from Hugging Face that sits between a coding agent and its model server and checks each tool call before the harness sees it. It flags undeclared tools, hosts not present in the conversation, and about 110 deterministic patterns such as cloud-metadata access, proxy bypass or test tampering, with an optional local judge model. It supports OpenAI and Anthropic APIs and is CI-tested with six harnesses including Claude Code.
Our analysis
The proxy design is smart: it works without modifying the agent and adds only 10-20 ms per call. Deterministic detectors catch known patterns but novel attacks may slip through, and false-positive rates are not yet published. Log-only mode is a low-risk way to start and doubles as a reward-hacking counter for RL evals. Worth trying for teams running agents with broad shell or network access.