Nanobrowser is an open-source AI agent that works in your own browser. Tell it a task in the side panel; it reads the pages, clicks, types and moves between tabs to get it done, and it asks you before it submits, sends, deletes or uploads anything.
⬇️ Get Nanobrowser from the Chrome Web Store for free
👏 Join the community on Discord | X
❤️ Support the project by sponsoring us. Every contribution helps keep Nanobrowser free and open source.
/. You can give it a start page and a model.| What the agent does | Ask mode (default) | Auto mode |
|---|---|---|
| Read pages, click links, scroll, move between tabs | Goes ahead | Goes ahead |
| Submit, send, delete or upload | Asks you first | Goes ahead |
| Pay, enter a password or code, grant access | Hands the step to you | Hands the step to you |
You can also set a site to Allow (go ahead in both modes), Ask (ask in both modes) or Block (the agent may not use it), in Settings → Permissions.
[!NOTE] You are always in charge.
- The agent may not notice every step that needs you. When it does notice one, your settings always apply, and no AI model can change them.
- The agent reads text on a web page as information, never as orders. This helps against pages that try to trick it (prompt injection), but no protection is perfect.
- So use sites you trust, keep an eye on the agent, and press Stop at any time to take over.
| Kind | Providers |
|---|---|
| Cloud | Anthropic, OpenAI, Google Gemini, OpenRouter, xAI Grok, DeepSeek, Mistral, and any OpenAI-compatible endpoint |
| Local | Ollama and LM Studio, and other servers (llama.cpp, vLLM and others) through the OpenAI-compatible provider |
OLLAMA_ORIGINS to allow the extension, and LM Studio needs CORS on; the provider card shows how when a request is refused."Summarize this page in a few bullet points."
"Compare the three laptops I have open and put the prices and specs in a table."
"Find a portable Bluetooth speaker on Amazon that is water-resistant, under $50, with at least 10 hours of battery."
"Extract the top 10 headlines from TechCrunch in the last 24 hours and save them as a CSV file."
Install it from the Chrome Web Store: click Add to Chrome and confirm. In Edge, first allow extensions from other stores when Edge asks.
Set it up: the welcome page opens and helps you connect a cloud provider or a local model. You can also do it later in Settings → Providers.
Use it: click the Nanobrowser icon in the toolbar, or press Alt+Shift+N, to open the side panel on the current tab.
Prerequisites: Node.js 24 LTS and pnpm 10 (corepack switches to the pinned 10.34.7).
Clone and build:
bash
git clone https://github.com/nanobrowser/nanobrowser.git
cd nanobrowser
corepack enable # skip if pnpm 10 is already installed
pnpm install
pnpm build # builds the extension into dist/
chrome://extensions (in Edge, edge://extensions).
- Turn on Developer mode (top right).
- Click Load unpacked and choose the dist folder.Then set it up and use it as in the Quick Start. To update, pull the latest source, run pnpm build again, and click the reload icon on the Nanobrowser card in the extensions page.
pnpm dev # run in development mode, reloads on changes; load dist/ in Chrome
pnpm zip # make a release build as a zip file in dist-zip/
pnpm type-check # check types
pnpm lint # check code style and import rules
pnpm test # run the unit tests
pnpm install-chrome # install Chrome for Testing, used by the browser tests
pnpm autorun scenarios # run the browser tests on local test pages, without a window
How it works. The agent sits on top of a browser control layer. The layer looks at the page, acts on it, and reports what happened. It has no AI model in it, so the same input always gives the same result. This makes the agent more reliable:
The layer talks to the page only through Chrome's chrome.debugger API, and uses Puppeteer to keep track of frames on the page. For developers there is a test panel to try the layer by hand: bind a key to the open-test-panel command in chrome://extensions/shortcuts.
AGENTS.md (also CLAUDE.md) explains the design rules, how the repository is laid out and how we work, for people and for AI coding assistants.
Contributions of all kinds are welcome:
If you find a security vulnerability, please do not disclose it in public issues, pull requests or discussions. Report it through a GitHub Security Advisory, so it can be fixed before it is made public. See SECURITY.md.
Nanobrowser builds on other great open-source projects:
Thanks to their creators and contributors.
Nanobrowser is licensed under the Apache License 2.0. See the LICENSE file for details.
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|