Skip to content

integration: Add Browser-Use Agent Integration with Persistent Step WAL #91

Description

@sdageltc

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:

  1. Checkpoint each navigation/interaction step to LILWAL02.
  2. On browser crash or spot instance eviction, resume the agent from the last verified page state without repeating earlier actions.
  3. 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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededintegrationsWorker adapters, LLM providers, and external tools

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions