MICROSOFT has open-sourced two tools designed to bring safety into the agent development workflow: RAMPART and Clarity. RAMPART is described as an open-source testing framework that brings red-teaming techniques directly into the development process and is built on top of PyRIT, allowing engineers to write standard pytest tests that describe scenarios drawn from their threat model and gate them in CI.
Clarity, by contrast, is a structured sounding board that helps teams figure out whether they are executing the right thing before coding, runs as a desktop app, web UI, or embedded in a coding agent, and writes results to a .clarity-protocol directory in the repo as plain markdown files. The vendors emphasise that AI safety should be a continuous engineering discipline rather than a periodic checkpoint, and that these tools provide living artifacts for teams to use throughout the lifecycle. Both RAMPART and Clarity are available today as open-source projects from Microsoft.