Skip to content
microsoftPublic

About

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

Resources

Code of conduct

Contributing

Security policy

Stars

421 stars

Watchers

3 watching

Forks

Repository files navigation

RAMPART Logo

RAMPART

Risk Assessment & Measurement Platform for Agentic Red Teaming

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

OpenSSF Scorecard GitHub CI PyPI - Version PyPI - Python Version PyPI - License


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.

Guided Onboarding

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.

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. 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.

About

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

Resources

Code of conduct

Contributing

Security policy

Stars

421 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages