AI agent instructions
AI agent instructions
Quick Start
Open a live viewer automatically when the session starts:quick_start.py
Manual Live View
Open the live viewer manually at any point during the session:manual.py
Viewer Types
Notte supports multiple viewer types:Browser Viewer (Default)
Live screencast of the session in your browser:viewer_browser.py
CDP Viewer
Chrome DevTools Protocol debugger:viewer_cdp.py
Jupyter Notebook Viewer
Display live view directly in Jupyter notebooks:viewer_notebook.py
Live View for Agents
Watch AI agents make decisions in real-time:agent.py
Sharing Live View
Share theviewer_url with your team for collaborative debugging. The link is signed and stays valid for 12 hours after it is issued:
sharing.py
debug_url or cdp_url. They grant full control of the browser and its signed-in state, so treat them like credentials.
Viewer Configuration
Set a default viewer type for all sessions:configuration.py
SessionViewerType.BROWSER- Live screencast viewer in your browser (default)SessionViewerType.CDP- Chrome DevTools Protocol debuggerSessionViewerType.JUPYTER- Jupyter notebook display
Best Practices
1. Use for Development
Live view is ideal for development and debugging:2. Combine with Recordings
Use live view during development, recordings for later analysis:combine_with_recordings.py
3. Multiple Viewers
Open multiple viewer types simultaneously:multiple_viewers.py
Live View vs Recordings
Next Steps
Recordings
Record sessions for later analysis
Playwright
Connect with Playwright via CDP
Session Lifecycle
Understand session management
Session Configuration
Configure session parameters