<p align="center">
<img src="docs/images/RAMPART.svg" alt="RAMPART Logo" width="300"/>
</p>
<h1 align="center">RAMPART</h1>
<h3 align="center">Risk Assessment & Measurement Platform for Agentic Red Teaming</h3>
<p align="center">
<strong>A pytest-native safety and security testing framework for agentic AI applications.</strong>
</p>
<p align="center">
<a href="https://scorecard.dev/viewer/?uri=github.com/microsoft/RAMPART"><img alt="OpenSSF Scorecard" src="https://api.scorecard.dev/projects/github.com/microsoft/RAMPART/badge"></a>
<a href="https://github.com/microsoft/RAMPART/actions/workflows/ci.yml"><img alt="GitHub CI" src="https://github.com/microsoft/RAMPART/actions/workflows/ci.yml/badge.svg?branch=main"></a>
<a href="https://pypi.org/project/RAMPART/"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/RAMPART"></a>
<a href="https://pypi.org/project/RAMPART/"><img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/RAMPART"></a>
<a href="https://pypi.org/project/RAMPART/"><img alt="PyPI - License" src="https://img.shields.io/pypi/l/RAMPART"></a>
</p>
---
RAMPART provides a structured, developer-friendly way to write and run safety and security tests for AI agents -- covering **adversarial attacks**, **benign failures**, and a broad range of **harm categories**, all with evaluation-driven assertions and seamless integration with [pytest](https://docs.pytest.org/).
## Guided Onboarding
Bring your use case to the
[RAMPARTner](https://microsoft.github.io/RAMPART/getting-started/onboarding-skill/), the RAMPART onboarding skill,
in your coding assistant. It helps you agree on what a first test should prove,
build the integration, run the test, and choose code-grounded follow-up tests and
payloads. It also explains when to extend your project or request a framework
feature. The self-contained skill ships at
`rampart/skills/rampartner/SKILL.md` in the repository and Python package.
## Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
trademarks or logos is subject to and must follow
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.