TL;DR: Microsoft Foundry AI red teaming, tracing, online evaluations, and prompt optimisation can be chained into a closed-loop workflow that turns failed jailbreak and safety probes into better system prompts, according to Arize. The article is less about a tool and more about operationalising continuous AI security testing with measurable regression handling and human review.
Editorial analysis by NHI Mgmt Group, based on content published by Arize: “How To Improve AI Agent Security with Microsoft’s AI Red Teaming Agent in Microsoft Foundry”.
Key questions
Q: What breaks when AI red teaming findings are not turned into prompt changes?
A: The same jailbreak and safety failures keep reappearing because the organisation has detected the weakness but not closed it.
Q: Why do prompt failures matter for AI agent security governance?
A: Because the prompt is part of the runtime control surface, not just a piece of text.
Q: How do teams know if prompt optimization is actually working?
A: Teams know prompt optimization is working when they can measure better output quality across a representative dataset, not just on one example.
Practitioner guidance
- Establish a recurring adversarial prompt library Build a maintained set of jailbreak, safety, and policy-evasion prompts that can be rerun against each prompt revision so regressions are visible before release.
- Capture traces for every failed probe Store the attack prompt, model response, and evaluation output together so security, product, and AI teams can reproduce the failure and explain the control gap.
- Curate failed probes into labelled regression datasets Convert the highest-value failures into golden datasets with consistent human annotations before changing prompts, because optimisation quality depends on the evidence quality.
Bottom line: AI red teaming becomes materially more useful when failed probes are converted into traces, labels, and prompt changes that close the observed gap.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Closed-loop red teaming is becoming the control plane for agent safety. The article shows that finding failures is no longer enough because the real governance question is whether those failures are converted into repeatable, testable improvements. For AI agents, the control boundary is only real if it is continuously revalidated against adversarial prompts. Practitioners should treat red teaming, evaluation, and prompt revision as one lifecycle, not separate tasks.
A few things that frame the scale:
- Gartner predicts that more than 50% of successful cyberattacks against AI agents through 2029 will exploit access control weaknesses.
A question worth separating out:
Q: Should AI red teaming sit inside the broader agent security programme?
A: Yes, because red teaming only becomes useful when it feeds authorisation, observability, and change management. The red team reveals where the agent can be manipulated, but the wider programme decides what the agent may do, how failures are logged, and how changes are approved. Without that linkage, testing remains isolated and weakly governed.
👉 Read our full editorial: AI red teaming exposes prompt failure modes in agent security