Microsoft Open-Sources RAMPART, Clarity AI Tools

Get the Tech newsletter
Daily tech — startups, AI labs, chips, the launches that shape the next decade. Free.
- Microsoft unveiled RAMPART (Risk Assessment and Measurement Platform for Agentic Red Teaming), a Pytest-native framework for writing and running safety and security tests on AI agents across adversarial and benign scenarios.
- RAMPART probes for cross-prompt injections, unintended behavioral regressions, and data exfiltration, then evaluates outcomes and reports results, requiring only an adapter connecting an agent to the test suite.
- Microsoft also released Clarity, described as a "structured sounding board" and "AI thinking partner that pushes back" that guides developers through problem clarification, solution exploration, failure analysis, and decision tracking.
- RAMPART builds on PyRIT (Python Risk Identification Tool), which Microsoft released more than two years ago; unlike PyRIT's black-box post-build focus, RAMPART is designed for engineers testing systems as they are being built.
- Ram Shankar Siva Kumar, founder of Microsoft's AI Red Team, said the tools aim to make incidents reproducible, mitigations verifiable, and to let teams pressure-test assumptions at the start of a project "when changing course is cheap."
Why it matters: Microsoft is repositioning AI safety from a one-time post-build review into living engineering artifacts that product managers and developers use throughout the lifecycle. By open-sourcing both a testing framework (RAMPART) and a design-intent sounding board (Clarity), Microsoft gives any team building AI agents a free, structured way to catch flawed assumptions and unsafe behaviors before they become costly rework.



