@qmahyar/pi-exa-search
v1.1.0
Published
Exa neural web search and page fetch for pi — multi-key rotation, highlights, filters
Maintainers
Readme
Install
pi install npm:@qmahyar/pi-exa-searchOr from git:
pi install git:github.com/QMahyar/pi-exa-searchWhat you get
| Piece | Role |
|-------|------|
| web_search | Exa neural search with highlights (cheap on context), filters, deep-search modes |
| web_fetch | Clean page content for known URLs (batch OK) — live-crawls pages not in Exa's cache, can pull subpages |
| /exa | TUI: add, reorder, test, remove API keys |
| Multi-key | Auto-fallback with per-status cooldowns (429 → Retry-After, 401/403 → 1h, 402 → 10m) |
| Resilience | 30s per-request timeout, retry with backoff on 5xx/network errors before rotating keys |
| Safety | Output capped at pi's limit; overflow saved to a temp file |
Overrides pi's built-in web tools. pi ships its own Exa-backed
web_search/web_fetch. This package registers the same names so it can add multi-key rotation and cooldown fallback — interactive mode shows an "extension overrides built-in tool" warning on load, which is expected. Prefer the built-ins? Disable this package's tools withpi config.
60-second start
- Get a key at dashboard.exa.ai/api-keys
- In pi:
/exa→ add key (or setEXA_API_KEY) - Ask for current docs / news — the agent calls
web_search/web_fetch
Docs
| Doc | | |-----|--| | Setup | Install & API keys | | Usage | Parameters & tips | | Dev | Architecture & tests |
Links
License
MIT
