Skip to main content
Natural language is ambiguous. Memory resolves references such as “the selected tab” by feeding the agent its own past decisions from successful runs. This lets the agent distinguish the currently active tab from one literally labeled “Selected”.

When memory is used

Memory is used 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.