|
7 maanden geleden | |
---|---|---|
extension | 7 maanden geleden | |
src | 7 maanden geleden | |
.gitignore | 7 maanden geleden | |
LICENSE | 7 maanden geleden | |
README.md | 7 maanden geleden | |
config_example.yaml | 7 maanden geleden | |
install.sh | 7 maanden geleden | |
pyproject.toml | 7 maanden geleden |
Open source multi-agent browser automation tool with built-in Chrome extension.
The system architecture is visualized using a mermaid diagram, illustrating the interaction between various components such as the Chrome Extension, WebSocket Server, and Multi-Agent components.
graph TB
subgraph "Nano Browser Agent Server"
direction LR
WS[WebSocket Server]
subgraph "Multi-Agent Component"
direction TB
N[Navigator]
P[Planner]
E[Evaluator]
V[Validator]
end
end
subgraph "Chrome Extension"
direction TB
UI[Chat Sidebar UI]
CE[Extension Background]
end
%% External Communications
UI <--> CE
CE <-->|WebSocket| WS
%% Agent interactions
P -->|Next step| N
N -->|Execution results| E
E -->|Success/Failure + Feedback| P
P -->|Final result| V
V -->|Validation failure + Feedback| P
%% Layout hints
linkStyle 2,3,4,5 stroke-width:2
To install the Chrome Extension:
chrome://extensions/
.nanobrowser/extension/src
directory.To run the NanoBrowser Agent Server via script (MacOS), follow these steps:
Navigate to the nanobrowser
directory:
cd nanobrowser
bash
./install.sh
To run the NanoBrowser Agent Server manually on Linux/MacOS or Windows, follow these steps:
Install uv
:
Linux: Open your terminal and run:
curl -LsSf https://astral.sh/uv/install.sh | sh
nanobrowser
directory:
bash
cd nanobrowser
Create a virtual environment:
uv venv --python 3.10
bash
uv pip install .
Set Up Configuration:
If a config.yaml
file does not exist, copy the example configuration:
cp config_example.yaml config.yaml
config.yaml
with your settings, including filling in the LLM API keys.bash
uv run nanobrowser
Contributions to the NanoBrowser project are welcome! To contribute:
Thank you for your interest in contributing to NanoBrowser!
Special thanks to the open-source projects that inspired NanoBrowser:
Their foundational work helped shape this project. We appreciate the open-source community's collaborative spirit.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.