Agent Replay
Get a visual replay of the agent’s execution:What’s Included
Agent replays capture:- Visual recording of every page the agent visited
- Actions taken by the agent (clicks, fills, navigations)
- Page transitions and loading states
- Element highlights showing what the agent interacted with
- Timestamps for each action
Viewing Replays
In Jupyter Notebook
Display the replay inline:view_in_notebook.py
Save to File
Save for later viewing or sharing:save_to_file.py
In Browser
Use the Notte Console to view replays:view_in_browser.py
Debugging Workflow
1. Run Agent
Execute your agent task:run_agent.py
2. Check If Failed
Identify failures:check_if_failed.py
3. Inspect Steps
Review what the agent did:4. Watch Replay
See the visual execution:watch_replay.py
5. Fix and Retry
Adjust based on findings:Common Issues
Agent Can’t Find Element
Symptoms:- Agent fails with “Element not found”
- Replay shows element exists but wasn’t clicked
fix_missing_element.py
Agent Takes Wrong Action
Symptoms:- Agent clicks wrong button
- Agent fills wrong form field
Agent Exceeds Max Steps
Symptoms:- Agent stops before completing task
len(result.steps) == max_steps
Advanced Debugging
Step-by-Step Analysis
Inspect each step in detail:step_by_step_analysis.py
Comparing Runs
Compare successful vs failed runs:Agent Status During Execution
Monitor agent in real-time:monitor_status.py
Best Practices
1. Always Review Failed Agents
Don’t ignore failures - watch the replay:review_failed_agents.py
2. Save Replays for Production Issues
Keep replays of production failures:save_production_replays.py
3. Use Replays for QA
Verify agent behavior before deploying:replays_for_qa.py
4. Share Replays with Team
Save and share for collaboration:share_with_team.py
Limitations
Replays are currently:- ✅ Available for all completed agents
- ✅ Full video recording of execution
- ✅ Include element highlights
- ⚠️ Generated after completion (not real-time)
- ⚠️ May be large files for long runs

