pi-web-fetch

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

pi-web-fetch is a pi coding agent extension that gives AI agents a proper web browser via headless Chrome, clean content extraction with trafilatura, and optional LLM processing. Version 1.1.0 brings concurrent batch fetching (up to 10 URLs with 6 parallel tabs), a 15-minute cache, smart large-page summarization, cross-host redirect detection, and an extensible hook system for site-specific handling. Unlike static fetchers like Claude Code's WebFetch, it handles JavaScript-rendered SPAs, strips boilerplate using ML-based extraction, and supports optional LLM distillation via a pi sub-agent. Requires Node.js 18+, a Python tool runner (uvx recommended), and puppeteer's bundled Chromium.