r/PiCodingAgent • u/Opening_Library9560 • 7h ago
Plugin 4-tool Rust web extension for Pi: search, fetch, crawl, and screenshots (no API keys, no headless browser for reading, 0$, Stealthy)
pi install npm:donsetchSo, Been a while since i have posted here about donsetch, it has gone through a lot of massive updates, so i thought i would post again.
It works natively on pi (Win, linux, mac support), You dont need any keys, just tun the command above and its done, its simple as shit, as you can see in my demo video,
Just uninstall it If you dont like it.
IT IS COMPLETELY FREE, you dont have to pay a dime for it, even the local search is free, fast and actually good , however grab a free api key from a search provider like exa or tinyfish if your workload is heavy.
Now if you want to, Read the technical slop my agent wrote for this post below this:
Repo (AGPL-3.0) + 54-second demo
Built to sit cleanly inside Pi
- ~2,000 tokens total across all 4 tool definitions. No giant prompt file eating your context window.
- Compact TUI cards: Pi shows a short status line and one-line preview instead of dumping raw markdown into your terminal, while the model still gets the real content.
- Real
Esccancellation: aborting a call in Pi stops the in-flight fetch or crawl server-side cleanly. - Crash-safe worker: runs under a local supervisor so if anything kills the worker process, it restarts on its own.
No browser in the reading path
Instead of spawning Playwright for every link (or getting 403'd with plain curl), page reads run in one local Rust process:
- 8 measured client profiles with matching TLS, HTTP/2, header order, and isolated per-site cookies.
- Embedded V8 when JS is actually needed for WAF challenges or client-rendered SPAs, with zero CSS layout or painting. In a cold 17-site SPA check (Linear, Hugging Face, npm, Ashby, Angular docs, Bluesky, Mastodon, etc.), all 17 returned content without touching a browser.
- Learns and replays plain HTTP: when a SPA pulls its data from an API endpoint during a JS run, DonSeTch stores that request template and replays it over plain HTTP on repeat or sibling pages without booting V8 again. Learned routes survive restarts.
- Defended-site numbers (28 targets, home IP): cold runs got content on 23/28 targets (46/56 rounds, 1.16s median vs curl's 20/56). With learned state and no page cache, 24/28 targets at 0.76s median.
web_screenshot is the only tool that launches a browser, using your installed Chromium/Chrome/Edge in a throwaway profile (or a remote CDP endpoint if you run in Docker or on a NAS).
Stops blowing up your context window
web_fetchviews: Pi can ask forfocus(relevant passages only),tocthensection(grab the outline, read one part),must_contain(phrase, regex, or amount checks like$1.5bnmatchingUS$1,500 million), orsince_last(diffs only). Batches up to 12 URLs in one call.- PDFs and images: PDFs get the same reading controls, combining PDFium text and page pixels for tables, reading order, and forms (plus optional local OCR on scans). Direct image URLs come back as native image blocks.
web_crawlplans before fetching: maps the site first (llms.txt, sitemaps, feeds, hub links), picks pages around your topic, and returns a compact digest withpNhandles so Pi only opens full pages offline when it needs the detail. Jobs resume and repeat crawls skip unchanged pages.
Keyless search that holds its own
Search works right after install with zero keys and zero model downloads. For a completely local, zero-key setup, it holds up well for everyday coding and research: it fuses keyless web engines (Google CSE, Exa MCP, Parallel MCP, Keenable, Bing, DDG, Brave, Yandex) with direct first-party sources (GitHub, crates.io, npm, PyPI, Stack Exchange, Wikipedia, arXiv, OpenAlex) and ranks results locally.
It also includes keyless image search with optional 3x3 rank-badged contact sheets if you want Pi to look over reference images.
One heads-up: if you spam queries hard from one IP, engines will temporarily rate-limit you (it backs off cleanly and rotates lanes, so normal agent use is fine). If you do heavy search volume, you can always grab a free API key from Exa, Tavily, TinyFish, Brave, or Serper and plug it in for search while keeping the local fetch and crawl engine.
Honest benchmarks and limits
I had an agent test DonSeTch against paid Firecrawl Cloud (Not the free oss version since that wouldnt be competitive with donsetch )on real tasks:
- Fetch: faster on 9/10 shared targets (0.83s vs 2.00s median), with cleaner code blocks and structured PDF tables.
- Focused crawl: 27% fewer page fetches (19 vs 26) and 6-22x smaller output. On HTTPX docs it grabbed the 2 pages asked for, while Firecrawl read 6 and missed
/async/. - Search: Firecrawl Cloud beat DonSeTch on search relevance in that Nov 16 session (6-1 with 2 ties). I have since added keyless Exa MCP, Parallel MCP, and Keenable to the default pool, though I have not run a fresh head-to-head yet.
Hard limits upfront: it will not log into accounts and will not solve human CAPTCHAs (Turnstile, DataDome, etc.). When it hits a login wall or human check, it tells Pi plainly instead of returning a "please enable JavaScript" page as fake content.
Full Firecrawl Cloud comparison
Try pi install npm:donsetch and let me know what sites trip it up or break on your machine.