Description
browser-use is rapidly becoming the standard for multi-turn web automation agents. However, browser sessions frequently drop or crash during long-horizon workflows (e.g., 20-step form submissions, data scraping, multi-page auth).
Proposed Integration
Create a reference cookbook examples/cookbooks/browser_use_durable.py showing how to wrap browser-use agent steps with LetItLoop's @durable_async:
- Checkpoint each navigation/interaction step to
LILWAL02.
- On browser crash or spot instance eviction, resume the agent from the last verified page state without repeating earlier actions.
- Protect irreversible actions (e.g. checkout click, payment submit) with
atomic_marker.
Requirements
- Provide a standalone script in
examples/cookbooks/browser_use_durable.py with mock/demo mode.
- Add unit/integration test in
tests/test_cookbooks.py.
- Documentation with ASCII architectural diagram.
We welcome PRs from the community!
Description
browser-useis rapidly becoming the standard for multi-turn web automation agents. However, browser sessions frequently drop or crash during long-horizon workflows (e.g., 20-step form submissions, data scraping, multi-page auth).Proposed Integration
Create a reference cookbook
examples/cookbooks/browser_use_durable.pyshowing how to wrap browser-use agent steps with LetItLoop's@durable_async:LILWAL02.atomic_marker.Requirements
examples/cookbooks/browser_use_durable.pywith mock/demo mode.tests/test_cookbooks.py.We welcome PRs from the community!