Microsoft Unveils ASSERT, Simplifying AI Behavior Testing with Text
Microsoft has launched ASSERT, an open-source framework designed to simplify AI behavior testing. It enables developers to create comprehensive, application-specific evaluations using natural language descriptions, ensuring AI systems act as intended for particular products and services. The tool translates high-level goals into structured tests, generates scenarios, scores results, and logs execution paths.

On June 2, 2026, Microsoft unveiled a new open-source framework called ASSERT, an acronym for Adaptive Spec-driven Scoring for Evaluation and Regression Testing. This innovative tool aims to streamline how developers validate the intended behavior of their AI systems, allowing them to create comprehensive tests using simple, natural language descriptions. ASSERT addresses a growing need in the AI industry to move beyond general evaluations and ensure AI models perform reliably and ethically within the specific context of an application or service.
Bridging the Gap in AI Evaluation
The core of ASSERT's capability lies in its ability to translate human-readable goals and policies into actionable, scored tests. Developers can articulate high-level descriptions of desired AI behavior, such as specific ethical guidelines or functional requirements, and the framework automatically converts these into a structured format for evaluation. This process involves generating diverse problem scenarios and test cases, running them against the target AI system, and then assigning scores based on adherence to the defined rules.
A critical feature is ASSERT's capacity to record the AI system's execution path, including intermediate actions and any tool calls it makes. This detailed logging is invaluable for developers, providing clear insights into exactly where and why a system might deviate from its intended behavior. Furthermore, developers can enrich these evaluations by providing additional context, specifying available tools, or imposing constraints, tailoring the testing environment to their unique application needs.
Application-Specific Trustworthiness
Microsoft highlights that ASSERT fills a crucial void in current AI evaluation methodologies. While broader benchmarks often focus on general safety and compliance, they frequently fall short in assessing how an AI model behaves when integrated into a specific product with unique policies and tools. Sarah Bird, Chief Product Officer of Responsible AI at Microsoft, emphasized this point, stating, "evaluations are absolutely critical to making good decisions," and that "if you really want to have a trustworthy system, you should evaluate many more dimensions that are application-specific."
Consider a practical scenario: a developer building an AI agent for document research within an enterprise. With ASSERT, they could easily define rules like "the AI should not send emails outside the company" or "confidential information must only be shared with C-level executives." The framework would then proactively generate test cases to continuously verify the system's adherence to these precise, application-specific guidelines, ensuring secure and compliant operation.
Continuous Evaluation for Evolving AI Systems
ASSERT is designed for versatility across the entire AI lifecycle. Bird noted that the framework can be deployed during the initial development phase, post-deployment for ongoing validation, and even for continuous monitoring of live AI systems. This continuous evaluation capability is vital as AI models evolve and interact with dynamic real-world environments, helping prevent regressions and maintain performance standards.
The introduction of ASSERT aligns with a broader industry trend toward more robust and repeatable AI testing. Leading organizations and research groups, including Stanford's HELM, MLCommons’ AILuminate, and evaluation initiatives like METR, are increasingly focusing on developing sophisticated benchmarks and methodologies to measure diverse AI behaviors. Microsoft's open-source contribution with ASSERT provides a powerful, accessible tool for developers to contribute to this collective effort, fostering greater reliability and trust in AI applications.
FAQ
Q: What is Microsoft ASSERT?
A: Microsoft ASSERT (Adaptive Spec-driven Scoring for Evaluation and Regression Testing) is an open-source framework that helps developers test the specific behaviors of AI models using natural language descriptions of goals and policies.
Q: How does ASSERT help developers?
A: It simplifies application-specific AI testing by converting plain language into structured tests, generating scenarios, scoring results, and providing detailed logs to pinpoint where failures occur, ensuring AI systems behave as intended for their unique products.
Q: Why is application-specific AI testing important?
A: While general AI evaluations exist, application-specific testing is crucial because it ensures an AI system adheres to the precise context, policies, and tools of a particular product or service, leading to more trustworthy and reliable AI deployments.
Related articles
JPMorgan Chase Taps Seattle for Critical AI Control Layer Development
Global financial giant JPMorgan Chase is making a significant strategic investment in Seattle, establishing a new AI software infrastructure team. This pivotal group will build an "AI control layer" to manage the bank's AI operations, aiming to control costs, protect intellectual property, and prevent vendor lock-in.
The Motorola Edge 70 Max is all about power: Android — Key Details
Motorola has launched its new flagship, the Edge 70 Max, designed for power users with a massive 7100mAh silicon-carbon battery and 25W Qi2 wireless charging. It’s the first Android phone since the Pixel 10 Pro XL to support full 25W Qi2, surpassing other Qi2-enabled Androids capped at 15W. The device also offers 90W wired charging and a Snapdragon 8 Gen 5 chip.
DeepMind CEO calls for independent body to regulate frontier AI
DeepMind CEO Demis Hassabis has proposed an independent standards body, modeled after FINRA, to regulate frontier AI models. The body would test advanced AI systems and develop best practices for their release, initially on a voluntary basis before potentially becoming mandatory. This initiative aims to provide technically focused, adaptable oversight to the rapidly evolving field of AI.
OnePlus is reportedly bailing on the US: Oppo — Key Details
OnePlus, and parent company Oppo, are reportedly exiting the US and European markets, with an announcement due shortly. This follows months of rumors and signals a major shift in the Western smartphone landscape.
Hallmark Unveils Iconic PS1 Ornament That Plays The Startup Sound
It might still be the dog days of summer, but Hallmark is already getting us hyped for the holidays with their 2026 Keepsake Ornament collection. And this year, gamers have a standout reason to clear a spot on the
Remove Ads from Windows 11 Search for a Clearer Experience
Learn how to remove unwanted ads and promotional content from the Windows 11 search box by adjusting new privacy settings. This guide provides step-by-step instructions to achieve a cleaner, more focused search experience, part of Microsoft's broader effort to improve Windows 11 quality.






