Back to directory

safelabs-eval

An open-source red-teaming and evaluation framework for AI agents that fires 300 curated adversarial prompts across an OWASP-inspired ten-category agent-security taxonomy at any HTTP endpoint or Python callable, scoring responses without further LLM calls.

safelabs-eval

safelabs-eval tests AI agents built on frameworks such as LangChain, CrewAI, AutoGen, LlamaIndex, the OpenAI Agents SDK, Google ADK, or Semantic Kernel for adversarial safety issues before production. It runs 300 curated prompts, 30 per category, across ten categories inspired by, but not identical to, the OWASP Agentic Top 10, scoring every response with pattern-based detectors rather than further model calls, and producing a structured security report with a confidence figure per finding.

It works by pointing the CLI at a supported HTTP agent endpoint or by wrapping any Python callable, synchronous or asynchronous, in its evaluation function, and results can be filtered to specific categories, summarized, or inspected record by record with a remediation hint where one applies. No modification to the agent's own code is required, and no proprietary infrastructure is needed to run an evaluation.

It installs with pip and requires Python 3.11 or newer.

More in AI evals

See all 269
  • Provenance gate

    github.com

    A deterministic authorization gateway that sits between an AI agent and its tools, tracing where each parameter of a side-effect call came from, and blocking the call or asking a human when the source does not check out.

  • JevBench

    benchmarkheaven.com

    A reproducible benchmark from Benchmark Heaven that ranks Jev-class typed decision models on intelligence, calibration, speed, and cost, with a published harness, scoring rules, and results.

  • A co-evolutionary adversarial red-teaming tool for AI agents that uses quality-diversity evolutionary search to autonomously breed edge-case scenarios, testing whether an agent with tool access can be made to hallucinate, deadlock or leak funds.