# Browser Use: an open-source Python library that lets an AI model drive a real browser

> A Python library and command-line tool that lets a language model finish web browser tasks by writing code against a persistent REPL and raw Chrome DevTools Protocol calls.

- Project: browser-use by browser-use
- List: Built for AI
- Kind: library
- Works with: Pydantic AI, Ollama, Claude Code, Codex, Cursor
- Noticed: 122,151 GitHub stars (when we found it)
- Added: 2026-11-26T23:08:00+00:00
- Web page: https://ai-news.ikangai.com/built/browser-use/

The README says Browser Use gives a model a task and lets it finish the task in a real browser. The model writes Python in one persistent REPL, using its own helpers and raw Chrome DevTools Protocol (CDP) calls. The default run uses the model bu-4.0 on the Browser Use gateway and a Browser Use Cloud browser. The author writes that it runs on any LLM, locally or in the cloud, though. The library is MIT licensed.

Installation is a uv or pip command pinned to browser-use==1.0.9, followed by browser-use login or a BROWSER_USE_API_KEY. The README tells users to pin the exact version because releases move fast. Python 3.11 or newer is required. A local run uses Browser('chromium') or Browser('chrome') with an OpenAI key, or with a local Ollama server through an OpenAI-compatible base URL. Cloud browsers, stealth, and CAPTCHA solving need a Browser Use key and are billed by the author's service. The library itself is free.

The README is frank about its limits. The domain allow list is, in the author's words, a guard for an aligned model, not a sandbox. Secrets passed through sensitive_data can still be read by model-written Python. Local browsers opened with a debugging port have no authentication on 127.0.0.1, so the author advises using a container or Browser Use Cloud on shared machines. Anyone who has a live view link can control the browser.

## In the author's words

> The open-source browser agent. Give it a task and the model does it in a real browser by writing Python

## When to reach for it

Reach for it when a Python project needs an agent to operate a real website, with the option to attach to your own logged-in Chrome or to a cloud browser. Its per-run judgement and domain guards are worth copying even if you use a different agent.

## See it

- [browser-use](https://github.com/browser-use/browser-use)
- [Website](https://browser-use.com)

---

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it.
