Skip to content

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

Add lazy import example for browser-use agent with OpenAI LLM integration

Magnus Müllera27dbdbda61e
diff --git a/examples/models/lazy_import.py b/examples/models/lazy_import.py
new file mode 100644
index 000000000..cbb7ae265
--- /dev/null
+++ b/examples/models/lazy_import.py
@@ -0,0 +1,6 @@
+from browser_use import Agent, llm
+
+# available providers for this import style: openai, azure, google
+agent = Agent(task='Find founders of browser-use', llm=llm.openai_o3)
+
+agent.run_sync()