I built barebrowse: give a local-model agent a browser without Playwright — pruned ARIA snapshots instead of raw HTML (far fewer tokens)
retained text
<!-- SC_OFF --><div class="md"><p>Author here, sharing something I built. If you run agents on a local model, feeding a whole page as raw HTML burns your context fast. barebrowse turns a URL into a pruned ARIA snapshot — the semantic tree with nav/ads/boilerplate stripped — so each page is a fraction of the tokens. Useful when the context window is your bottleneck.</p> <ul> <li>No Playwright / bundled Chromium — it drives a browser you already have (Chrome/Brave/Edge/Chromium) directly over CDP.</li> <li>Pruned ARIA snapshot instead of raw HTML/DOM — far fewer tokens per page for the model to read.</li> <li>Reuses cookies from your real browser profile, so logged-in pages just work (no login scripting).</li> <li>Vanilla JS, ES modules, Node 22+, two tiny deps. Ships an MCP server + CLI, so it drops into local agent setups.</li> </ul> <p>MIT, open source. Repo: <a href="https://github.com/hamr0/barebrowse">https://github.com/hamr0/barebrowse</a> — happy to take feedback or feature requests.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Tight_Heron1730"> /u/Tight_Heron1730 </a> <br /> <span><a href="https://www.reddit.com/r/LocalLLaMA/comments/1usg4cq/i_built_barebrowse_give_a_localmodel_agent_a/">[link]</a></span>   <span><a href="https://www.reddit.com/r/LocalLLaMA/comments/1usg4cq/i_built_barebrowse_give_a_localmodel_agent_a/">[comments]</a></span>
document fetched 2026-07-10 09:16 · canonical https://reddit.com/r/LocalLLaMA/comments/1usg4cq/i_built_barebrowse_give_a_localmodel_agent_a