- Python 3.8+ (
python3 --version) - Node.js 16+ (
node --version) - An OpenRouter API key (openrouter.ai)
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
playwright install chromiumcd frontend
npm install
cd ..Terminal 1 — Backend:
source venv/bin/activate
cd backend
uvicorn main:app --reload --host 0.0.0.0 --port 8000Terminal 2 — Frontend:
cd frontend
npm startOr use the scripts:
./start_backend.sh # Terminal 1
./start_frontend.sh # Terminal 2Open http://localhost:3000, click the 🔑 API Key button, and enter your OpenRouter API key.
- Enter a URL in the address bar (e.g.,
https://google.com) - Type a command like "What do you see on this page?"
- Or "Click the search box"
| Problem | Fix |
|---|---|
ModuleNotFoundError |
pip install -r requirements.txt |
| Playwright not found | playwright install chromium |
| WebSocket won't connect | Check backend is running on port 8000: lsof -i :8000 |
| Frontend won't start | cd frontend && rm -rf node_modules && npm install |