Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

track source=cli in telemetry

Nick Sweetingb03366e5b0b4
diff --git a/browser_use/cli.py b/browser_use/cli.py
index a05f42117..6403e7c6b 100644
--- a/browser_use/cli.py
+++ b/browser_use/cli.py
@@ -978,6 +978,7 @@ class BrowserUseApp(App):
llm=self.llm,
controller=self.controller,
browser_session=self.browser_session,
+ source='cli',
**agent_settings.model_dump(),
)
# Update our browser_session reference to point to the agent's
@@ -1182,6 +1183,7 @@ async def run_prompt_mode(prompt: str, ctx: click.Context, debug: bool = False):
task=prompt,
llm=llm,
browser_session=browser_session,
+ source='cli',
**agent_settings.model_dump(),
# Run the agent
)