Local agentic browser for Windows — an open-source Strawberry-style capability: you give a goal, an agent drives your real Edge/Chrome across tabs via Chrome DevTools Protocol (CDP), logged in as you, and does the work. 100% local, zero npm dependencies, MIT.
Goal in -> navigate -> snapshot -> click/type/extract -> screenshot -> done
node src/cli.js --demo "test the pipeline" # offline mock planner, proves the plumbing
node src/cli.js "summarize the top story on example.com" # live LLM
Any OpenAI-compatible endpoint works (OpenAI, DeepSeek, Groq, LM Studio, a local proxy):
export OPENBERRY_LLM_KEY=<key>
export OPENBERRY_LLM_BASE=https://api.openai.com/v1 # optional
export OPENBERRY_LLM_MODEL=gpt-4o-mini # optional
No key? --demo uses a deterministic planner so the whole pipeline runs offline.
src/browser.js— finds Edge/Chrome, launches it with--remote-debugging-port=9333, tab creation viaPUT /json/new(CDP requires the PUT verb)src/cdp.js— minimal CDP client on Node's native WebSocket: evaluate, trusted click (scrollIntoView + hover + press + release), React-safe per-character typing, screenshot, wheel scroll. 45s watchdog on every socket.src/agent.js— the agent loop: LLM plans the next tool call (function-calling), the loop executes it, feeds the result back, repeats untildoneor step cap (12).src/llm.js— OpenAI-compatible chat-completions client; mock planner fallback.src/cli.js— CLI entry; writes a JSONL transcript + screenshots intosessions/<ts>/
navigate, snapshot, click, type, extract, scroll, screenshot, done
sessions/<timestamp>/
transcript.jsonl every action + result
screenshot-NNN.png on-demand captures
- multi-tab orchestration (open N tabs, parallel extraction)
- session persistence (resume a browser session)
- presentation/metadata generators (Strawberry's slide deck feature)
- meeting-notes capture (audio -> transcript -> summary)