Skip to main content
Live
Main content

Microsoft open-sources ASSERT, an AI tool that writes its own behavior tests

The framework turns plain-English policies into scored test cases, targeting the gap between generic model evals and application-specific behavior.

Jaeden Schafer
Editor in Chief · · 4 min read
Microsoft logo

Microsoft released ASSERT on Tuesday, an open-source framework that lets developers describe how an AI system should behave in plain English and have the tool generate, run, and score the tests automatically. Short for Adaptive Spec-driven Scoring for Evaluation and Regression Testing, ASSERT targets a gap that generic model benchmarks do not address: whether a specific application built on top of a model actually follows the policies its owner set.

The framework takes a written description of expected behavior, converts it into a structured set of acceptable and unacceptable outcomes, generates problem scenarios, runs them against the target system, and produces scored results. It also captures the path the AI took to get there, including intermediate reasoning steps and tool calls, so developers can pinpoint where a failure originated rather than just noting that one occurred.

A worked example from Microsoft: a developer building a document research agent could specify that the agent must not email anyone outside the company, must restrict confidential information to C-level executives, and must produce concise summaries that incorporate prior context. ASSERT turns those constraints into a battery of test cases and re-runs them as the underlying model or prompts change, flagging regressions before they reach production.

Key facts

  • 01Microsoft released ASSERT on Tuesday as an open-source framework for application-specific AI behavior testing.
  • 02ASSERT stands for Adaptive Spec-driven Scoring for Evaluation and Regression Testing.
  • 03The tool converts natural-language policies into structured acceptable and unacceptable behaviors, then auto-generates test cases.
  • 04It records intermediate actions and tool calls so developers can trace where an AI system failed.
  • 05Microsoft positions ASSERT alongside broader benchmarks like Stanford's HELM, MLCommons' AILuminate, and work from METR.

Microsoft is pitching the tool for three phases of the AI lifecycle: pre-deployment validation, post-deployment acceptance testing, and continuous monitoring of live systems. That continuous angle matters because behavior drift, whether from a model version change, a prompt edit, or new tools being added to an agent, has become one of the harder operational problems for teams running AI in production.

Sarah Bird, chief product officer of Responsible AI at Microsoft, framed the launch around a lesson the company has drawn from internal deployments: trustworthy systems require evaluation across many more dimensions than any general-purpose benchmark covers, and those dimensions are usually defined by the application's own context and policies rather than by the model itself.

That argument lines up with where the rest of the evaluation ecosystem is moving. Stanford's HELM, MLCommons' AILuminate, and the evaluation group METR have each rolled out frameworks for measuring model behavior under different conditions, but those are aimed at scoring the underlying models. ASSERT is aimed at the layer above, where a customer-support agent or a research copilot has to obey rules its base model has never seen.

The release also fits a pattern at Microsoft this year of shipping infrastructure for agent governance rather than another headline model. The company recently published its Agent Control Specification, a schema for constraining how agents act, and ASSERT is the testing counterpart: one defines the rules, the other checks whether the system actually follows them.

For enterprise buyers, the practical question is how much of their existing evaluation tooling ASSERT replaces. Many teams have stitched together their own harnesses using pytest-style assertions, LLM-as-judge scoring, and ad hoc red-team prompts. A maintained open-source framework with structured policy ingestion and full execution traces could collapse a meaningful chunk of that custom code, but only if it slots into existing CI pipelines without forcing a rewrite.

Related · from this week
Perplexity brings Personal Computer agent to Windows for $200/month users
Jaeden Schafer · 4 min read →

The skeptical read is that any evaluation framework that uses an AI to test an AI inherits the same failure modes it is supposed to catch. If ASSERT's test generator misses a category of unacceptable behavior, the scored results will look clean while the underlying system still misbehaves in the wild. Microsoft has not published numbers on how reliably the generator covers the policy space described to it, and that is the metric the framework's credibility will eventually rest on.

Application-specific evaluation is becoming the next bottleneck in AI deployment, and whoever owns the testing layer earns a durable position in every team's stack. Microsoft shipping ASSERT as open source rather than as a paid Azure feature suggests the company would rather set the standard than monetize it directly, which is the right call when the alternative is letting an independent evaluation framework define the interface that every enterprise AI team ends up writing against.

ShareXLinkedInEmail
AI Box

Every AI model. One chat.

The latest models from ChatGPT, Claude, Gemini, Sora, ElevenLabs — 80+ models in a single chat. Compare answers side by side. Pick the best one every time.

  • ChatGPT, Claude, Gemini, Grok, DeepSeek — in one chat
  • Generate images & video with Sora, Veo, Ideogram
  • Compare any two models side by side
  • From $8.99/mo · 80+ models, all included
Try AI Boxaibox.ai
Trusted by 3,000+ teams
Got a tip?

Working on something we should cover, or seeing a story we missed? Send leads, documents, or feedback to hello@aichatdaily.com. For sensitive tips, see our secure tips page for Signal and PGP options.

Spotted an error? Email hello@aichatdaily.com with the URL and the issue, or read our full corrections policy.

AI Box Daily briefingFree · Daily · No fluff

Stay ahead of everyone in AI.

The tightly edited AI news email engineers, founders, and investors actually open. One email. Every weekday. Five minutes to finish.

Loved by 10,000+ AI professionals
Free forever. Unsubscribe with one click.

The briefing read inside teams at

Keep reading

More from Tools

Perplexity brings Personal Computer agent to Windows for $200/month users
Tools

Perplexity brings Personal Computer agent to Windows for $200/month users

The agentic tool works across local files, Microsoft 365, and the web, targeting enterprise workflows that live on Windows desktops.

Jaeden Schafer4 min read
Microsoft logo
Tools

Microsoft unveils Surface RTX Spark Dev Box for local AI development

The mini Surface PC packs 128GB of unified memory and runs 120B-parameter models locally, filling the gap left by Qualcomm's canceled Snapdragon Dev Kit.

Jaeden Schafer4 min read
Microsoft logo
Tools

Microsoft ships Agent Control Specification to rein in AI agent behavior

The open-source ACS lets developers define what agents can and cannot do, with policy checks at multiple points in a workflow.

Jaeden Schafer4 min read