Skip to main content
Natural language is ambiguous. Does “the selected tab” mean the currently active tab, or a tab literally labeled “Selected”? Memory removes that ambiguity by feeding the agent its own past decisions from your successful runs.

When memory is used

Memory kicks in whenever a step relies on AI, including locator resolution (Click, Type) and assertions (AI check, Element check). It is treated as a form of caching and is skipped when caching is explicitly disabled.

Storage and expiration

  • Stored per organization, only accessible during authenticated runs.
  • Expires after 30 days of inactivity.
  • Supported for the locator and assertion agents.
Momentic automatically prunes to the most relevant traces so memory stays bounded.

Failed steps

Memory is written on every AI-assisted step, including failed ones. This keeps tests failing consistently when there’s a legitimate bug.

Enabling memory

Toggle per test in the editor’s AI options. Set the default via ai.useMemory in your config.