How memory works
Natural language phrases can often be interpreted in different ways. For example, does the description “the selected tab” refer to “the currently selected tab”, or does it mean “the tab with the text ‘Selected’”? What if both options exist on the page? In order to eliminate flakiness, it is imperative that AI chooses a single interpretation for each query across different test runs. To achieve this, Momentic stores AI completions from successful test runs and supplies those traces back to the AI agent when generating new completions. By using past runs’ decisions and logical reasoning processes as context, we can ensure Momentic’s AI agents are making consistent decisions.When memory is used
Memory is used whenever a step uses AI to locate an element or evaluate an assertion. This includes interactive steps likeCLICK as well as assertions
like AI CHECK and ELEMENT CHECK.
Memory is considered a type of caching and will not be applied if caching is
explicitly disabled for a specific step or at the test level.
Storage and expiration
Memory is:- Securely stored on Momentic Cloud.
- Isolated per organization and only accessible during authenticated test runs.
- Automatically expired after 30 days of inactivity.
- Supported by our locator and assertion agents currently.