momentic.config.yaml ai.agentConfig
block. Momentic generally announces agent deprecations at least 90 days in
advance.
The recommended agents use the latest models. They are specifically tuned to
strongly respect memory (insights saved from past runs) as well as
custom knowledge base entries.
All agents have built-in fallback mechanisms to handle AI provider outages and
disruptions. During such downtime, agents may incur additional latency or
exhibit different behavior. However, Momentic uses multiple mechanisms such as
memory and knowledge base, and
failure recovery to reduce the frequency and
impact of AI non-determinism on your tests.
| Agent | Recommended | p50 latency | Older versions |
|---|---|---|---|
locator | v4 | 3.6s | v2, v3 |
assertion | v4 | 2.8s | v2, v3 |
visual-assertion | v4 | 2.7s | v2, v3 |
text-extraction | v3 | 4.2s | v2 |
failure-recovery | v2 | Variable (multiturn) | v1 |
What each agent does
locator
Locates elements from a natural language description, used by Click,
Type, and Element check steps. Strongly respects single quoted text
values, builds more accurate caches, and achieves 15% lower latency compared
to
v3. Scores 10% better on our toughest web automation benchmark.assertion
Evaluates natural language statements against a snapshot of the page, used by
AI check steps. Strongly respects single quoted text values and discerns
visual detail more accurately. Improves by 8% on our toughest web assertion
benchmark with 22% reduced latency compared to
v3.visual-assertion
Evaluates natural language statements from a viewport screenshot. Reasons
about position more accurately than previous versions. Scores 12% better on
our toughest visual understanding benchmark.
text-extraction
Extracts structured data from the page given a JSON schema, used by AI
extract steps. Handles nested objects and arrays.
failure-recovery
Generates and executes recovery steps when a recoverable failure is detected.
Requires
ai.failureRecovery.