Grafy News
Try Grafy free

Momentic uses AI agents to build self-maintaining software tests

Momentic is deploying AI agents powered by OpenAI models to create software tests that automatically adapt as products change, reducing manual upkeep.

Illustration for the news story: Momentic uses AI agents to build self-maintaining software testsSource: OpenAI News

Momentic is deploying specialized AI agents to create software testing suites that automatically update themselves as digital products evolve. This shift from rigid, script-based automation to intent-based verification aims to solve the industry-wide problem of fragile tests that break whenever a user interface is redesigned or a workflow changes.

How do adaptive software tests work?

Traditional software testing often relies on specific selectors or scripts tied to a product's interface. According to OpenAI, these methods are inherently fragile; if a developer changes a login flow or a checkout page, the existing tests fail, forcing engineers to spend significant time on manual maintenance.

Momentic's approach moves toward intent-based verification. Instead of writing rigid scripts, engineers describe the desired outcome in natural language. The system then determines how to execute and verify that goal. To handle the complexity of modern software, Momentic utilizes a specialized architecture involving more than two dozen sub-agents. These agents handle distinct tasks such as visual understanding, element grounding, and video reasoning to ensure the software behaves as intended.

What models power Momentic's AI agents?

Momentic leverages OpenAI's models to provide the reasoning and instruction-following capabilities required for autonomous testing. Specifically, the company uses GPT-6.2 Sol and GPT-6 Luna to drive its browser automation and agentic workflows.

In their system, different models serve different roles. For example, in their AI QA engineer named Mo, GPT-6.2 Sol is used to plan test cases, while GPT-6 Luna manages the actual actions taken within the application. Wei-Wei Wu, co-founder and CEO of Momentic, stated that the company required models with high reliability, reasoning strength, and the ability to maintain performance and consistency at scale for enterprise workloads.

How does the system handle test failures?

When a test fails, Momentic employs a multi-agent strategy to diagnose whether the failure is a genuine product bug or a harmless change in the environment. The process is centered around three primary types of agents: AI Action, failure categorization, and autohealing.

The AI Action agent receives a goal—such as "log in with these credentials"—and determines the necessary steps, adapting if the interface requires more or fewer clicks than usual. If a failure occurs, a categorization agent examines logs and screenshots to determine the cause. If the failure is identified as an expected product change rather than a bug, an autohealing agent automatically updates the test suite to match the new intended state. This prevents the "maintenance burden" typically associated with rapid software deployment.

What is the Mo AI QA engineer?

Beyond maintaining existing suites, Momentic has developed Mo, an AI agent designed to perform "bug-bashing." While self-maintaining suites protect known workflows, Mo is intended to find bugs that developers might not have thought to test.

An engineer can provide Mo with a URL or a mobile build and describe how the application should function. Mo then plans and runs test cases in parallel. When it discovers a bug, Mo provides a complete report including reproduction steps, console logs, network logs, and a video recording. According to OpenAI, Momentic also established a public benchmark called QA Bench to compare agent performance. In this benchmark, Mo reportedly found 4.6x as many labeled bugs as the best setup from Claude Code when testing four open-source applications.

Can these tests prevent future regressions?

One of the primary goals of the Momentic system is to close the loop between bug discovery and long-term stability. When Mo identifies a bug in a critical user flow, engineers can instruct the agent to convert that specific bug into a formal regression test.

These new regression tests are designed to be as durable as the self-maintaining suites. They cache resolved steps after the initial successful run to ensure subsequent tests remain fast and cost-effective. Because these tests are also subject to the autohealing process, they stay aligned with the product even after future code refactors, ensuring that once a bug is fixed, it stays fixed.

How does this relate to modern development workflows?

As teams increasingly use AI coding agents to generate features and refactor code at higher speeds, the need for an equally fast verification layer has become critical. Momentic's technology is positioned to act as this autonomous verification layer, allowing engineers to focus on building rather than managing the upkeep of testing scripts.

For developers looking to monitor how software or web interfaces change over time, the concept of automated monitoring is highly relevant. While Momentic focuses on the testing and QA side of the development lifecycle, users of Grafy can explore similar concepts of change detection through Watch, which allows for monitoring web pages and receiving updates when content changes. For those working directly on the implementation side, Grafy Code provides an environment to build and run software where such testing logic might eventually be applied.

Frequently asked questions

What is the main difference between traditional testing and Momentic?

Traditional testing relies on rigid scripts tied to specific interface elements, which break when the UI changes. Momentic uses intent-based verification, where AI agents understand the user's goal and adapt to interface changes automatically, reducing the need for manual script updates.

How does Mo find bugs in an application?

Mo acts as an AI QA engineer that performs bug-bashing by planning test cases based on a user's description of how an app should work. It executes these tests across web, mobile, or desktop platforms and provides detailed reports including video recordings and logs.

How does the autohealing agent function?

The autohealing agent identifies when a test failure is caused by an intentional change in the product rather than a functional bug. Once an expected change is detected, the agent updates the existing test suite to reflect the new state of the application, maintaining the integrity of the tests.

Source: OpenAI


Source: OpenAI News — Momentic builds software tests that adapt as products change