product updateMicrosoft

Microsoft releases ASSERT, open-source framework for testing application-specific AI behavior using natural language

TL;DR

Microsoft released ASSERT (Adaptive Spec-driven Scoring for Evaluation and Regression Testing), an open-source framework that converts natural language descriptions of expected AI behavior into structured test cases. The tool addresses a gap in AI evaluation by testing application-specific behaviors that general benchmarks cannot capture.

2 min read
0

Microsoft releases ASSERT, open-source framework for testing application-specific AI behavior using natural language

Microsoft released ASSERT (Adaptive Spec-driven Scoring for Evaluation and Regression Testing), an open-source framework that converts natural language descriptions of expected AI behavior into structured, scored test cases.

The framework takes plain-language descriptions of an AI model's expected behavior and policies, converts them into structured sets of acceptable and unacceptable behaviors, generates test scenarios, runs them against the target system, and scores the results. ASSERT also records the paths AI systems take, including intermediate actions and tool calls, enabling developers to inspect where failures occur.

How ASSERT works

Developers provide high-level behavioral rules in natural language. For example, a developer could specify that a document research AI agent shouldn't send emails outside the company, should limit confidential information to C-level executives, and must provide concise summaries with prior context. ASSERT uses these rules to generate test cases that verify ongoing compliance.

Developers can add system context, tools, and constraints to customize evaluation scope. The framework supports testing during development, after deployment, and for continuous monitoring.

Filling an evaluation gap

"One of the things we've learned is that evaluations are absolutely critical to making good decisions," said Sarah Bird, chief product officer of Responsible AI at Microsoft. "What we found is that if you really want to have a trustworthy system, you should evaluate many more dimensions that are application-specific."

According to Microsoft, ASSERT addresses a gap that broader benchmarks cannot fill. While general evaluations measure model capabilities across standard metrics, they don't capture behaviors shaped by specific application contexts, policies, and tools.

Industry context

The release aligns with a broader shift in AI evaluation practices. As models become more capable, researchers increasingly focus on repeatable testing and regression checks. Stanford's HELM, MLCommons' AILuminate, and evaluation groups like METR have rolled out benchmarks measuring model behavior under different conditions.

The framework is now available as open source.

What this means

ASSERT represents a practical response to a real deployment problem: companies need to verify AI systems behave correctly within their specific contexts, not just on generic benchmarks. By automating the translation of policy requirements into test cases, Microsoft is addressing the gap between model capability testing and application-specific behavior verification. This could accelerate AI deployment by making it easier to establish and maintain compliance with organizational policies, though the framework's effectiveness will depend on how well it generates comprehensive test coverage from natural language specifications.

Related Articles

product update

OpenAI Tests 'Persistent Mode' for Codex, Enabling Always-On AI Agents

OpenAI is developing a 'Persistent Mode' for its Codex agent that keeps the AI running until manually stopped, according to code discovered by WIRED. The feature includes a 'proactivity' capability allowing the agent to generate follow-up tasks and contact users without being asked.

product update

Fal Launches H3 Max Live, a Post-Trained Minimax H3 Variant That Generates Video Faster Than Real Time

Fal released H3 Max Live, a post-trained and inference-optimized version of Minimax's H3 video model that Fal claims runs up to 35x faster than the official endpoint. The model generates video faster than it can be watched, enabling an infinite, chat-directed live video stream.

product update

AWS Details Reference Architecture for Multi-Tenant Document Chat on Amazon Bedrock Knowledge Bases

AWS has published a reference architecture showing how to build multi-tenant agentic document chat applications using Amazon Bedrock Managed Knowledge Base. The design handles per-user document isolation, asynchronous ingestion up to 50 MB, and agentic multi-hop retrieval with citations, offloading infrastructure work from development teams.

product update

Perplexity Brings Agentic 'Personal Computer' Feature to Windows

Perplexity has expanded its agentic Personal Computer feature from Mac to Windows 10 and 11, letting subscribers on paid plans automate multi-step tasks across local files, native apps, and cloud services like OneDrive and Outlook.

Comments

Loading...