AI agent instructions
AI agent instructions
Adding Kernel to existing Notte implementations
1. Install Notte and Kernel SDK
Install thenotte-sdk and kernel packages in your Python environment.
2. Create and connect a browser
Use Kernel’scdp_ws_url as the cdp_url when starting a Notte session. Configure proxies, launch arguments, and viewport with Kernel before connecting.
finally block separately deletes the browser owned by Kernel, including when the automation fails.
Benefits of using Kernel with Notte
- No local browser management: Run automations without installing or maintaining browsers locally
- Scalability: Launch multiple browser sessions in parallel for concurrent tasks
- Cloud infrastructure: Leverage Kernel’s optimized browser infrastructure
- Session control: Programmatic control over browser lifecycle