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.

Agent Failure Discovery



Agent Failure Discovery is an open-source framework for identifying and categorising errors in the behaviour of AI agents. AI agents can fail in varied and unexpected ways, such as misreading user requests, breaking policy rules or reporting incorrect data. These failures are difficult to track systematically. The framework addresses this by analysing agent interaction transcripts and building a structured taxonomy of the errors it finds, which helps developers improve agents throughout their development.

The framework uses a large language model (LLM) to review each transcript against the agent's policy document and the expected behaviour for each task. It starts with six predefined error dimensions. Two cover interaction with users: following user intent and answering user questions. Four cover integrity: policy compliance, accurate statement of policy, accurate reporting of data from tools and efficient tool use. The LLM identifies failures and assigns them to existing error types.

When a failure differs meaningfully from existing types, the framework proposes a new error type or dimension. A failure counts as meaningfully different when it has a different root cause, policy impact or harm to users, not merely a different surface appearance. The error taxonomy therefore grows as more transcripts are analysed. A discovery log records when and where each error type first appeared. Users can restrict the analysis to selected dimensions or tell it to ignore known behaviours.  

About the tool





Country/Territory of origin:


Lifecycle stage(s):


Type of approach:








Technology platforms:


Programming languages:


Tags:

  • evaluation
  • ai agent
  • llm failure-discovery
  • ai-agents error-analysis

Github stars:

  • 1

Modify this tool

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.