Catalogue of Tools & Metrics for Trustworthy AI

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

Use Cases

There is no use cases for this tool yet.

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
Partnership on AI

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.