Install Browser Use, run one local Python agent that opens a real browser, and automate a tiny research or form-fill task after work.
Browser Use is an open-source Python library that lets an LLM drive a real browser—click, type, read the page, and finish a task. Start at the official open-source intro: docs.browser-use.com/open-source/introduction. Code: github.com/browser-use/browser-use.
After work this is the right tool when you already write Python and want programmable web research or form filling—not another chat-only agent.
After-work Python learners who can run a venv and an API key. If you only want a hosted “do this in a browser” button, use ChatGPT Work / cloud browser instead. Come here when you want the loop in your code.
Overview: Top 10 AI agent tools for after-work Python.
Read Open-source introduction. Note the two products: the open-source Python library (tonight) vs cloud Agents / managed browsers (later).
Use Python 3.11+ (3.12 is a safe default). In a new folder:
uv init bu-lab && cd bu-lab
uv add browser-use
Or pip install browser-use in a venv. Do not dump this into your work repo on night one.
.envFollow the GitHub quickstart: either a Browser Use Cloud key or a provider key (OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY). Never commit .env.
Copy the current sample from the docs/README. The shape is: Agent(task=..., llm=...) then await agent.run(). First task should be read-only, e.g. “Open https://example.com and return the <h1> text.” Watch the browser if you set headless=False.
Pass a small max_steps (try 8–15). If it loops, kill the process. You are supervising a robot with a mouse.
Task: “Open the Browser Use GitHub repo and report how many stars it shows, with the URL you used.” Print history.final_result() (or the equivalent in the current API). Do not log into anything.
from_system_chrome() can touch cookies and sessions.max_steps plus a vague task. Cost and chaos scale together.Browser / BrowserSession, model wrappers). Trust docs.browser-use.com.You leave with a real Chromium window and a 15-line script—the same shape you can later wrap in a cron job or a research notebook.
When the Agent/task/llm loop feels obvious, tighten your Python with Intro to Python Programming so async runs, .env, and small functions stay readable.