microsoft/RAMPART

A pytest-native safety and security testing framework for agentic AI applications

What it solves

RAMPART addresses the challenge of testing the safety and security of AI agents. It provides a structured framework to identify adversarial attacks, benign failures, and various harm categories, ensuring that agentic AI applications are robust and secure before deployment.

How it works

Built as a pytest-native framework, RAMPART allows developers to write safety and security tests using a familiar Python testing tool. It uses evaluation-driven assertions to measure risk and assess whether an agent's behavior meets safety requirements.

Who it’s for

This tool is designed for developers and security researchers who are building and deploying agentic AI applications and need a rigorous way to perform red teaming and risk assessment.

Highlights

  • Pytest-native integration for a developer-friendly experience.
  • Support for testing adversarial attacks and benign failures.
  • Coverage of a broad range of harm categories.
  • Evaluation-driven assertions for objective risk measurement.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch