Pi Web Access

Adds web search, page and PDF extraction, and video understanding to the Pi coding agent, and exposes the same tools as a local MCP server.

Stars
★ 1.9k
Last updated
3d ago
FARS reviewed
Nov 24, 2026
License
MIT
Primary language
JavaScript

At a glance

How it runs
Agent plugin / skillMCP server
Works with
Universal · cross-platformCodex · Claude Code · OpenAI API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Pi v0.37.3+Node.js 22.19ffmpeg (optional)yt-dlp (optional)GitHub CLI (optional)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer working in Pi needs the current version or API change of a library and runs web_search in the terminal instead of switching to a browser.
Not a fit if
  • Users who only work inside ChatGPT or Claude.ai and run no local CLI
  • Compliance contexts that forbid sending page or PDF content to third-party APIs
Maintenance
Commits in the last 30 dayslast commit 2026-11-21

What does this agent do, and when should you use it?

Pi Web Access is an extension for the Pi coding agent that registers four tools — web_search, fetch_content, get_search_content, and source_check — on top of a local Node.js process. It works out of the box: search runs through Exa's MCP endpoint and the keyless DuckDuckGo and Keenable providers without any API key, and it can reuse an existing Codex subscription login or a Kimi Code Plan session; for more control you add keys or endpoints in ~/.pi/agent/web-search.json, covering OpenAI, Brave, Parallel, Tavily, Perplexity, Gemini, self-hosted SearXNG and dozens more. fetch_content returns readable Markdown, exact raw HTTP bodies, page-grounded answers, or typed field extractions, and special-cases GitHub repositories (local clone), GitHub PRs and issues, YouTube and local video (Gemini analysis plus timestamped frame extraction), and PDFs (self-hosted endpoint, Datalab, Gemini, or local unpdf). Search, fetch, PDF, proxy and SSRF behaviour each follow an ordered, configurable fallback chain rather than failing outright. The same tools run as a local stdio MCP server via npx for Claude Code, Codex, Cursor and other clients, though Pi-only features such as the curator UI, answer/extract modes and video prompts are unavailable there.

The extension registers four tools with Pi. web_search takes a single query or a batch, supports numResults, recencyFilter, domainFilter, category (Exa only), provider (one name, a comma-separated list, or all) and workflow (none, summary-review, auto-summary), walks searchRouting.providers in order while honouring fallbackOn, and returns raw results tagged with the provider that served them plus a responseId for later retrieval. fetch_content fetches one or many URLs: ordinary pages go through Readability and then, on failure, through fetchRouting.providers such as Firecrawl, Crawl4AI, Jina, TinyFish, Parallel, Bright Data, Exa contents or Gemini; GitHub repos are cloned to a local path and returned as real files, while PR and issue URLs are rendered by gh into one ordered Markdown document. YouTube and local video files are analysed by Gemini for transcripts, visual descriptions and chapters, with ffmpeg/yt-dlp extracting frames at a given timestamp or across a range. PDFs are converted to Markdown through an endpoint, Datalab, Gemini or unpdf in that order and also saved to a temporary pi-web-pdf directory. get_search_content pages or findText-searches stored content from a one-hour, 128-entry, 128 MiB local web-search-cache. source_check gathers passages for a claim from up to 20 sources and 5 fetched pages and emits an artifact with exact offsets, SHA-256 hashes and a supported/contradicted/unclear/missing-evidence status. It also ships /websearch, /curator, /search and /google-account commands, a Ctrl+Shift+W activity monitor, and an npx -y pi-web-access stdio MCP server.

  1. A developer working in Pi needs the current version or API change of a library and runs web_search in the terminal instead of switching to a browser.
  2. An agent must understand a GitHub repository or the discussion in a PR; fetch_content clones the repo or renders the PR into Markdown with a local path to explore.
  3. Someone debugging a UI issue from a screen recording or a conference video passes the file or YouTube URL to fetch_content with a prompt plus timestamp and frames to get descriptions at exact moments.
  4. A technical writer or reviewer checking a claim about a product uses source_check to collect cited passages with exact offsets before judging them manually.
  5. A team on Claude Code, Codex or Cursor wants the same search and fetch tools and mounts npx -y pi-web-access as an MCP server.
  6. A privacy-conscious team behind a corporate proxy points the extension at self-hosted SearXNG and Crawl4AI and configures proxy plus ssrf.allowRanges so traffic stays on its own network.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install ffmpeg
  • brew install yt-dlp
  • npx -y pi-web-access
Environment variables
BRAVE_API_KEY
Config files
~/.pi/agent/web-search.json config.toml
Runtime
Node.js 22.19
Install notes cover
macOS · Linux

How do you install or deploy this agent?

Install Pi first (v0.37.3 or later) and add the extension with one command; it works immediately with no API keys:

pi install npm:pi-web-access

For direct API access or more providers, write keys into ~/.pi/agent/web-search.json — every field is optional and values can reference environment variables:

{
  "openaiApiKey": "sk-...",
  "braveApiKey": "BSA_...",
  "exaApiKey": "exa-...",
  "perplexityApiKey": "pplx-...",
  "geminiApiKey": "AIza..."
}

Frame extraction needs optional binaries; transcript and visual analysis work without them:

brew install ffmpeg
brew install yt-dlp

On Linux the curator needs xdg-utils to open your default browser; without it the URL is printed in the tool output instead:

sudo apt install -y xdg-utils

To use the tools from another agent, run the stdio MCP server (Node.js 22.19 or later, no Pi install needed):

npx -y pi-web-access

Then register it in an mcpServers config; Codex takes the same command, args and env in its config.toml:

{
  "mcpServers": {
    "pi-web-access": {
      "command": "npx",
      "args": ["-y", "pi-web-access"],
      "env": { "BRAVE_API_KEY": "BSA_..." }
    }
  }
}

Subscription auth is reused rather than duplicated: an existing Codex login from /login lets OpenAI search run without a separate key, and an active Kimi Code Plan session from /login kimi-coding enables explicit Kimi search.

How do you use this agent?

With the extension installed, call the tools from a Pi session:

web_search({ query: "TypeScript best practices 2025" })
web_search({ queries: ["query 1", "query 2"], numResults: 10, recencyFilter: "week" })
fetch_content({ url: "https://docs.example.com/guide" })
fetch_content({ url: "https://github.com/owner/repo" })

Video, frame extraction and page-grounded answers:

fetch_content({ url: "https://youtube.com/watch?v=abc", prompt: "What libraries are shown?" })
fetch_content({ url: "https://youtube.com/watch?v=abc", timestamp: "23:41-25:00", frames: 4 })
fetch_content({ url: "https://example.com/guide", mode: "answer", prompt: "What are the installation steps?" })

Retrieve stored content by responseId, paging with offset/limit or locating passages with findText, and check a claim:

web_search({ query: "rust async programming" })
get_search_content({ responseId: "abc123", urlIndex: 0, findText: "installation" })
source_check({ claim: "The API supports streaming responses", fetchContent: true })

Inside Pi codemode scripts the tools resolve to typed data instead of the text the model sees:

const search = await tools.web_search({ query: "Acme Pro plan price" });
const urls = search.queries[0].results.slice(0, 3).map((result) => result.url);
const page = await tools.fetch_content({ urls, mode: "extract", fields: { pro_monthly: "number: Pro plan price per month" } });
return page.urls.map(({ url, extraction }) => ({ url, price: extraction?.fields?.pro_monthly }));

Slash commands cover the interactive paths: /websearch opens the curator (optionally pre-filled with comma-separated queries), /curator toggles or sets the workflow at runtime, /search browses stored results for the session, and /google-account shows which Google account Gemini Web is authenticated as.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Zero-config start: Exa MCP plus keyless DuckDuckGo and Keenable give working search with no API key, and an existing Codex subscription or Kimi Code Plan login is reused.
  • Independent ordered fallback chains for search, fetch, PDF and proxy, tunable through searchRouting, fetchRouting and pdf.provider rather than hard-coded behaviour.
  • GitHub URLs are cloned locally or rendered via gh instead of scraped, so the agent gets real file contents, PR checks and private repos.
  • The same four tools run as a local stdio MCP server, so Claude Code, Codex and Cursor can use basic search and fetch without installing Pi.
  • Timestamp-exact frame extraction, passage matching for source_check, and SHA-256 content hashes plus exact offsets make outputs auditable.
Limitations
  • The configuration surface is very large — dozens of provider keys, routing lists, SSRF ranges, proxy locks, browser-cookie extraction and PDF engines — so misconfiguration is easy and diagnosis is non-trivial.
  • Under MCP, Pi-only features are hard errors rather than graceful degradations: the curator and summaries, answer and extract modes, video prompts and frames, and direct image fetches are unavailable.
  • Runtime prerequisites go beyond one install: Pi v0.37.3+, Node.js 22.19+ for the MCP server, ffmpeg and yt-dlp for frames, and xdg-utils for the curator on Linux.
  • Hosted extraction sends page text, images or PDF bytes to third parties such as Firecrawl, Jina, Gemini, Datalab and Exa contents; these providers are disabled for remote targets unless fetchRouting.allowRemoteHostedProviders is set.
  • The platform badge marks Windows as Windows* without stating what the asterisk limits.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Pi Web Access This agent 52 · Major gaps Agent plugin / skillFree + model costs ★ 1.9k 3d ago JavaScript Codex · Claude Code · OpenAI API
Firecrawl Web Research MCP 67 · Some gaps MCP serverFreemium ★ 7.9k today JavaScript Claude.ai
wigolo 71 · Some gaps CLIFree + model costs ★ 5.6k today TypeScript Codex · Claude Code · OpenAI API · Claude API
Exa Web Research MCP 56 · Major gaps MCP serverFreemium ★ 5.3k 3d ago TypeScript ChatGPT · Codex · Claude.ai

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
52/ 100 5-point scale 2.6 / 5
Trust 12/29
Reliability 8/14
Adaptability 10/18
Convention 10/18
Effectiveness 9/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The evidence shows explicit opt-ins for remote hosted fetchers, browser cookies, and Gemini Web, plus SSRF/proxy controls; however the extension broadly accesses the network, clones GitHub repos to disk, spawns subprocesses, and launches a browser, so least_privilege is only 1. Confirmation is configuration-level rather than interactive per action, so user_confirmation is 1. Data flows are documented in detail for Azure/Bing, routing, proxies, and some providers, but not exhaustively for all providers, so data_flow_transparency is 2. The docs warn against shared Azure keys and support environment variables, but examples show plaintext API keys and browser-cookie access is sensitive, so sensitive_data_handling is 2. Some dependencies are exact-pinned and an audit script exists, but many use caret ranges, no lockfile is shown in the packet, and CI does not run audit, so dependency_security is 1. Network fetches, cloning, spawning, and file writes are real external effects with only partial gating, so external_effects is 1. No user-facing rollback or undo mechanism is evident, so rollback is 0. Results identify the provider per query and return URLs, but universal source attribution is not enforced, so source_attribution is 2.

Reliability8 / 14 · 2.9/5

Provider fallback ordering is not fully consistent across README passages, and package.json is 0.48.0 while the README release notes stop at 0.46, so self_consistency is 1. Node version, optional ffmpeg/yt-dlp, Linux xdg-utils, and zero-config Exa are documented, but no lockfile or full install verification is provided, so dependency_availability is 2. The code and README show unknown-provider errors, availability diagnostics, fallback policy, and error rendering plans, so failure_messages is 2.

Adaptability10 / 18 · 2.8/5

The README targets Pi users and other MCP clients and covers search, fetching, GitHub, PDFs, and video, so audience_and_scenarios is 2. Capability boundaries are unusually detailed, covering provider eligibility, explicit-only providers, allowedProviders/allowedModes, fallback conditions, Azure auth limits, and unsupported exclusions, so capability_boundaries is 3. Tool parameters and schemas are precise, but there is no clear guidance on when the model should trigger the tools, so trigger_precision is 1. Platform is listed as macOS/Linux/Windows* with an unexplained asterisk and requires Node >=22.19 plus external binaries, so environment_fit is 1.

Convention10 / 18 · 2.8/5

The README is long but organized into install, quick start, tools, and configuration sections, so information_architecture is 2. Install notes cover commands, config paths, optional system dependencies, and the Pi version, so install_notes is 2. Many provider and config names exist with no deprecation or naming-stability policy, so naming_stability is 1. Examples are plentiful but there is no FAQ, so examples_and_faq is 2. Limitations are scattered rather than consolidated, so known_limitations is 1. The LICENSE file is a complete MIT text, so license is 3. package.json has a version and CHANGELOG link, but no changelog content is in the packet and the README release notes lag, so versioning_changelog is 1. An author and SECURITY contact path exist, but the publisher is unverified and there is no maintainer roster or support commitment, so maintenance_responsibility is 1.

Effectiveness9 / 13 · 3.5/5

Tool outputs have structured schemas, responseId storage, full-content storage, and inline character caps, so output_usability is 2. The extension clearly adds search, fetch, and video understanding value to Pi, but the large provider surface adds complexity, so marginal_value is 2. README claims token reductions and zero-config use and warns about costs/privacy, but does not quantify overall cost-benefit, so cost_benefit is 2.

Verifiability3 / 8 · 1.9/5

Performance claims such as 68 pages improving from 18 to 31 and token reductions lack in-packet verification data, so claim_traceability is 1. package.json, README, and index.ts partially corroborate each other, but version documentation is inconsistent, so cross_source_corroboration is 1. Cost/privacy warnings and marketing-style performance claims are mixed without explicit fact/inference labeling, so fact_inference_separation is 1.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The extension has broad network access, local GitHub clone writes, subprocess execution, and browser launching; constrain enabled tools, providers, and filesystem locations before deployment.
  • API key examples appear in plaintext in configuration docs; prefer environment variables or protected config files and keep web-search.json out of shared or version-controlled locations.
  • Browser cookies, Gemini Web, remote hosted fetchers, and SSRF trustEnvProxy are high-risk opt-ins; confirm data flows, proxy trust boundaries, and compliance before enabling them.
  • No user-facing rollback or undo mechanism is evident; cleanup of GitHub clones and local file writes remains the user's responsibility.
  • CI does not show a dependency audit step and several dependencies use caret ranges; lock dependencies and run audit:runtime before release.
  • README release notes are not fully synchronized with the package version and performance claims lack verifiable data; do not treat marketing statements as proven fact.
Evidence confidence: Low Reviewed Nov 24, 2026 Reviewed revision f5a745af5bf7
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/pi-web-access.svg)](https://followagents.com/en/agents/pi-web-access)
<a href="https://followagents.com/en/agents/pi-web-access"><img src="https://followagents.com/badge/pi-web-access.svg" alt="FARS review"></a>

FAQ

How far can I get with no API keys at all?
Search works: default auto mode uses Exa MCP without a key (or the direct Exa API when keyed), keyless DuckDuckGo and Keenable are available, and OpenAI search can reuse an existing Codex login from /login. Fetching has keyless paths through Readability and Jina Reader. Brave, Tavily, Perplexity, Gemini video analysis and Datalab PDF conversion all need their own key or subscription.
Where does my page or PDF content actually go?
It follows whichever provider handles the request. The local HTTP path and GitHub clones stay on your machine, but Firecrawl, Crawl4AI, Jina, Exa contents, Gemini, Datalab and Bright Data each fetch or receive content themselves. For remote HTTP(S) targets, third-party hosted fetchers are disabled unless fetchRouting.allowRemoteHostedProviders is true, and content fetched with an authFetch browser-cookie profile is never sent to hosted extractors.
Can Claude Code or Codex use it, and what is missing there?
Yes — run npx -y pi-web-access as a local stdio MCP server (Node.js 22.19+) and register it in mcpServers or config.toml. It reads the same web-search.json and provider environment variables and lists only the tools enabled there. Pi-only pieces are not available: the curator and summaries, Kimi search, OpenAI search through ChatGPT sign-in or the current model, answer/extract modes, video prompts and frames, and direct image fetches return a tool error. get_search_content keeps only the 50 most recent results in memory and loses them on exit.
What happens when a provider fails or returns nothing useful?
In the default auto mode the extension steps down an ordered chain, and searchRouting.fallbackOn lets you choose which conditions — unsupported, transient, quota, network, invalid-response — move to the next provider. An explicit provider: "openai" stays strict and reports an error instead of falling back. Batch searches run up to three queries concurrently, but routing and fallback within each query remain sequential.
What does it cost beyond the software itself?
The repository is MIT-licensed and free. Costs come from whichever backends you enable: OpenAI, Brave, Tavily, Perplexity, Exa contents, Tabstack and Datalab (roughly $4 per 1,000 fast-mode pages, with a $10 monthly credit) bill per use; Azure OpenAI Bing grounding adds search charges to model usage and Microsoft states the data leaves your compliance and geographic boundary. The free paths are keyless Exa MCP, DuckDuckGo and Keenable, plus local unpdf text extraction.
Is Pi Web Access open source?
Yes. The source code is on GitHub (nicobailon/pi-web-access) under the MIT licence.
Is Pi Web Access safe to use?
FollowAgents' FARS review (Nov 24, 2026) scored Pi Web Access 12/29 on trust and safety. The review did not find these safety controls in the source: rollback or recovery path. Before giving it real accounts or data: Back up first, or work on a git branch or snapshot, so its changes can be undone.
Is Pi Web Access still maintained?
Yes. The latest commit on GitHub is from 2026-11-21, within the last 30 days.
Who makes Pi Web Access?
Pi Web Access is published on GitHub by the account nicobailon. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts