AI agent instructions
AI agent instructions
examples/yutori.
Set up
Use Python 3.12+, a Notte API key, and a Yutori API key. Install the example’s requirements, setNOTTE_API_KEY and YUTORI_API_KEY, and run python main.py from the example directory.
Call run(task, start_url) for another task. The adapter uses the official SDK to prepare screenshots and trim request history, then executes supported core browser actions through Playwright. It bounds the loop, applies a 120-second task deadline, and closes its owned Notte session after success or failure. Set timeout_seconds for a shorter deadline. Verify the actual result in your application before relying on the model’s final answer.
The example tests the native SDK protocol with local model-response fixtures and real Notte browser actions and cleanup. Live Yutori model inference has not been validated. See the Yutori SDK documentation for model options.