When a run fails, Momentic analyzes screenshots, page state, step descriptions, and error traces to surface the likely root cause, so you can triage without replaying the run.Documentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
What it considers
- Screenshots before and after each step to spot overlays, misalignment, or unexpected UI changes
- Page state and URL at the moment of failure
- Step descriptions and actions to understand intent
- Element targeting details to catch hidden or disabled elements
- Error message and stack
Where you see it
The run viewer surfaces failure analysis under the AI failure analysis tab:- Error summary
- Root cause analysis + suggested fix
- Error details (message, stack)
- Summary of previous steps

Configuration
Setai.aiFailureAnalysis
in momentic.config.yaml:
momentic.config.yaml