@pi-archimedes/web
Pi package published to npm.
Package details
Install @pi-archimedes/web from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pi-archimedes/web- Package
@pi-archimedes/web- Version
2.16.0- Published
- Nov 27, 2026
- Downloads
- 1,524/mo · 511/wk
- Author
- danmademe
- License
- unknown
- Types
- extension
- Size
- 91.1 KB
- Dependencies
- 7 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@pi-archimedes/web
Web search and content extraction package for the Pi Archimedes agent.
Tools
web_search: Search the web using configured providers (Brave, Tavily, Perplexity, OpenAI, SearXNG, DuckDuckGo, and opt-in Keenable).fetch_content: Extract readable content from URLs, with specialized handlers for GitHub, YouTube, and PDFs.get_search_content: Retrieve and optionally search through cached search/fetch results.
Configuration
Settings are read from ~/.pi/agent/settings.json under the archimedes.web namespace, or via environment variables:
braveApiKey/BRAVE_API_KEYtavilyApiKey/TAVILY_API_KEYkeenableApiKey/KEENABLE_API_KEY(optional, see below)openaiApiKey/OPENAI_API_KEYperplexityApiKey/PERPLEXITY_API_KEYsearxngUrl/SEARXNG_URLproxy/HTTP_PROXY/HTTPS_PROXY
Keenable (opt-in)
Keenable is never picked by the automatic Brave → Tavily → Perplexity → SearXNG → DuckDuckGo chain. Use it with provider: "keenable" on a web_search call, or set "defaultProvider": "keenable" under archimedes.web.
It works without a key: requests then go to Keenable's public endpoint, which is rate limited per IP. On its default data policy Keenable logs requests with the query, results and IP, with or without a key (data and privacy). Set keenableApiKey / KEENABLE_API_KEY to use the keyed endpoint and get higher limits.
Features
- Multi-provider search routing.
- Cached content retrieval.
- Intelligent content extraction.
- Dynamic TUI rendering.