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

Momentic uses memory whenever a step relies on AI, including locator resolution (Click, Type) and assertions (AI check, Element check). It treats memory as a form of caching and skips it 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

Momentic writes memory 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.