Install
Install with PiG
pig install npm:@pi-archimedes/webInstall with Pi
pi install npm:@pi-archimedes/webPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 2.15.0 (README.md). PiG does not review it.
@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.