@xl0/pi-web-tools

Pi package published to npm.

Packages

Package details

extension

Install @xl0/pi-web-tools from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@xl0/pi-web-tools
Package
@xl0/pi-web-tools
Version
0.1.1
Published
May 19, 2026
Downloads
not available
Author
xl0
License
MIT
Types
extension
Size
29.6 KB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@xl0/pi-web-tools

Pi extension package providing web_search and web_fetch tools backed by Firecrawl, Exa, Tavily, and Brave Search.

Install

pi install npm:@xl0/pi-web-tools

Or load without installing:

pi -e npm:@xl0/pi-web-tools

Configuration

Run /web-tools in Pi to configure providers interactively, or create ~/.pi/agent/xl0-web-tools.json (global) or .pi/xl0-web-tools.json (project):

{
  "webSearch": { "provider": "firecrawl" },
  "webFetch":  { "provider": "firecrawl" },
  "webApiKeys": {
    "firecrawl": "fc-...",
    "exa": "...",
    "tavily": "...",
    "brave": "..."
  }
}

API keys can also be set via environment variables: FIRECRAWL_API_KEY, EXA_API_KEY, TAVILY_API_KEY, BRAVE_API_KEY.

Search and fetch can use different providers. If only webSearch.provider is set, web_fetch falls back to it when that provider supports fetch.

waitFor is provider-specific: Firecrawl supports it as an extra pre-capture delay; Exa and Tavily ignore it and web_fetch returns a warning if supplied.

Providers

Provider Search Fetch Auth
Firecrawl Authorization: Bearer
Exa x-api-key
Tavily Authorization: Bearer
Brave Search - X-Subscription-Token