These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.
MurrayTom/ToolSafe
ToolSafe is an open source research framework that addresses a growing risk in agentic AI systems. LLM based agents that autonomously invoke external tools, such as APIs, code execution, or file and system actions, can be manipulated through prompt injection or other adversarial inputs into taking harmful actions. ToolSafe proposes a proactive, step level safety layer rather than relying solely on post hoc auditing.
The framework works through three connected components:
- TS Bench: A benchmark suite for evaluating step level tool invocation safety detection across LLM agents.
- TS Guard: A guardrail model, trained via reinforcement learning with a multi task safety reward, that monitors agent environment interaction logs in real time, flags unsafe tool calls before execution, and produces interpretable reasoning for its judgments rather than an opaque binary flag.
- TS Flow: A feedback driven reasoning framework that reduces harmful tool executions under adversarial conditions, such as prompt injection, while aiming to preserve the agent's performance on legitimate tasks.
The code, evaluation benchmarks, and the TS Guard model are released openly (MIT license; model weights hosted on Hugging Face) and are integrated with recognized agent safety evaluation environments (ASB, AgentHarm, AgentDojo). The work is documented in an arXiv preprint and accompanying GitHub repository, with reproducible training and evaluation scripts.
Auto-discovered on 2026-02-11 by OECD Catalogue Automation
About the tool
You can click on the links to see the associated tools
Tool type(s):
Objective(s):
Purpose(s):
Lifecycle stage(s):
Type of approach:
Maturity:
Usage rights:
Target users:
Risk management stage(s):
Programming languages:
Github stars:
- 85
Github forks:
- 5
Use Cases
Would you like to submit a use case for this tool?
If you have used this tool, we would love to know more about your experience.
Add use case




























