Browser Use has a native integration with Laminar - open-source platform for tracing, evals and labeling of AI agents.
Read more about Laminar in the Laminar docs.
Then, you simply initialize the Laminar at the top of your project and both Browser Use and session recordings will be automatically traced.
Copy
Ask AI
from browser_use import Agent, ChatOpenAIimport asynciofrom lmnr import Laminar, Instruments# this line auto-instruments Browser Use and any browser you use (local or remote)Laminar.initialize(project_api_key="...")async def main(): agent = Agent( task="open google, search Laminar AI", llm=ChatOpenAI(model="gpt-4.1-mini"), ) await agent.run()asyncio.run(main())
You can view traces in the Laminar UI by going to the traces tab in your project.
When you select a trace, you can see both the browser session recording and the agent execution steps.Timeline of the browser session is synced with the agent execution steps, timeline highlights indicate the agent’s current step synced with the browser session.
In the trace view, you can also see the agent’s current step, the tool it’s using, and the tool’s input and output. Tools are highlighted in the timeline with a yellow color.