Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
improve readme
Nick Sweeting24e3ee28e3e7
diff --git a/README.md b/README.mdindex 317a7b8d5..6bd3fcbe7 100644--- a/README.md+++ b/README.md@@ -75,16 +75,14 @@ For other settings, models, and more, check out the [documentation π](https:/### Test with UI-You can test [browser-use with a UI repository](https://github.com/browser-use/web-ui)+You can test browser-use using its [Web UI](https://github.com/browser-use/web-ui) or [Desktop App](https://github.com/browser-use/desktop).-Or simply run the gradio example:+### Test with an interactive CLI-```-uv pip install gradio-```+You can also use our interactive CLI (similar to `claude` code):```bash-python examples/ui/gradio_demo.py+$ browser-use```# Demos@@ -123,7 +121,7 @@ https://github.com/user-attachments/assets/de73ee39-432c-4b97-b4e8-939fd7f323b3## More examples-For more examples see the [examples](examples) folder or join the [Discord](https://link.browser-use.com/discord) and show off your project.+For more examples see the [examples](examples) folder or join the [Discord](https://link.browser-use.com/discord) and show off your project. You can also see our [`awesome-prompts`](https://github.com/browser-use/awesome-prompts) repo for prompting inspiration.# Vision@@ -143,6 +141,7 @@ Tell your computer what to do, and it gets it done.- [ ] Improve state representation for UI elements so that all LLMs can understand what's on the page### Workflows+- [ ] Let user record a workflow - which we can rerun with browser-use as a fallback- [ ] Make rerunning of workflows work, even if pages change@@ -153,6 +152,7 @@ Tell your computer what to do, and it gets it done.- [ ] Make it faster### Parallelization+- [ ] Human work is sequential. The real power of a browser agent comes into reality if we can parallelize similar tasks. For example, if you want to find contact information for 100 companies, this can all be done in parallel and reported back to a main agent, which processes the results and kicks off parallel subtasks again.diff --git a/browser_use/main.py b/browser_use/cli.pysimilarity index 97%rename from browser_use/main.pyrename to browser_use/cli.pyindex ab208886c..3bbd9f595 100644--- a/browser_use/main.py+++ b/browser_use/cli.py@@ -36,17 +36,17 @@ MAX_HISTORY_LENGTH = 100# Logo components with styling for rich panelsBROWSER_LOGO = """- [white] ++++++ +++++++++ [/]- [white] +++ +++++ +++ [/]- [white] ++ ++++ ++ ++ [/]- [white] ++ +++ +++ ++ [/]- [white] ++++ +++ [/]- [white] +++ +++ [/]- [white] +++ +++ [/]- [white] ++ +++ +++ ++ [/]- [white] ++ ++++ ++ ++ [/]- [white] +++ ++++++ +++ [/]- [white] ++++++ +++++++ [/]+ [white] ++++++ +++++++++ [/]+ [white] +++ +++++ +++ [/]+ [white] ++ ++++ ++ ++ [/]+ [white] ++ +++ +++ ++ [/]+ [white] ++++ +++ [/]+ [white] +++ +++ [/]+ [white] +++ +++ [/]+ [white] ++ +++ +++ ++ [/]+ [white] ++ ++++ ++ ++ [/]+ [white] +++ ++++++ +++ [/]+ [white] ++++++ +++++++ [/][white]βββββββ βββββββ βββββββ βββ ββββββββββββββββββββββββββ[/] [darkorange]βββ βββββββββββββββββββ[/][white]ββββββββββββββββββββββββββββ βββββββββββββββββββββββββββ[/] [darkorange]βββ βββββββββββββββββββ[/]@@ -236,7 +236,7 @@ class BrowserUseApp(App):#logo-panel, #links-panel, #paths-panel, #info-panels {border: solid $primary;- margin: 0 0 1 0;+ margin: 0 0 0 0;padding: 0;}diff --git a/pyproject.toml b/pyproject.tomlindex 2302a2901..6aaf0a299 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -62,7 +62,8 @@ memory = [Repository = "https://github.com/browser-use/browser-use"[project.scripts]-browseruse = "browser_use.main:main"+browseruse = "browser_use.cli:main"+browser-use = "browser_use.cli:main"[tool.codespell]ignore-words-list = "bu"