huggingface/safeagents
On RepoHype since Nov 17, 2026
A Python tool that runs AI coding agents safely, intercepting tool calls with customizable plugin rules to block prompt-injection attacks. Creators like its low overhead, wide agent support and custom rules.
What people said (1)
-
Better Stack Recommends it 32.7K views · Nov 15, 2026Hugging Face Open-Sourced A Tool for Monitoring AI Agents (safeagents)
“Demoed against a README prompt-injection that exfiltrated fake API keys. Out of the box it let the attack through, but a roughly 30-line custom plugin rule blocked every variant while normal npm and git commands passed. Adds about 5 ms per call and works with OpenAI and Anthropic formats and 13 coding agents.”
Thanks to Better Stack for featuring it.
Maintainer? Show it off
Add this badge to your README. It updates automatically with your current rank.
[](https://repohype.com/r/huggingface/safeagents)<a href="https://repohype.com/r/huggingface/safeagents"><img src="https://repohype.com/badge/huggingface/safeagents.svg" alt="Featured on RepoHype"></a>