Browser Use Integration
Use our pre-integrated fork of Browser Use to track browser agent sessions with full Lucidic observability.
π Browser Use Integration
Browser Use is a popular open-source browser agent built on LangChain. Weβve created a Lucidic-integrated fork so you can track and debug your browser agent workflows with full session replay, step timelines, event logging, and prompt evaluation β right out of the box.
π What Weβve Added
In our fork of the Browser Use agent:
- Lucidic calls like
lai.create_step()
andlai.end_step()
are automatically inserted into the agent logic - LLM and tool interactions are tracked as Events
- Support for Mass Sims, Prompt DB, and Rubric evaluations is built in
- Works with LangChain handler for full call graph coverage
π§ How to Use It
1. Clone the Lucidic Fork
π This is a fork of the official repo with added observability.
2. Install Locally
This installs browseruse as a local package
3. Use the LangChain Handler
Since Browser Use is built on LangChain, you still need to attach the Lucidic handler manually.
In your script:
4. Example Script
You can run full-scale testing of your browser agents using our example script on GitHub. It supports multiple models, prompt versions, and tasks β all fully tracked with Lucidic.
Below are a few key snippets:
π Test Multiple Models
Loop through LLMs like GPT-4 and Gemini using a shared browser agent:
π§ Test Different Prompt Versions
Dynamically inject different versions of prompts (production
, development
, etc.) into your agents:
π§ͺ Run Mass Simulations
Track each run under a different session name and mass sim ID:
π Links
- π Lucidic Fork of Browser Use
- π LangChain Integration
- βοΈ Using the Python SDK
- π¬ Workflow Sandbox