A pytest-native safety and security testing framework for agentic AI applications.
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.
Bring your use case to the
RAMPARTner, 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.
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. 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.