@pi-lab/websearch
v1.0.1
Published
Exa-powered web search tool extension for pi coding agent
Readme
@pi-lab/websearch
A pi extension that adds a websearch tool powered by Exa.
Install
pi install npm:@pi-lab/websearchUsage
Set your Exa API key before starting pi:
export EXA_API_KEY=<your-api-key>
piYou can also provide EXA_API_KEY through @pi-lab/env.
Once installed and configured, ask pi to search the web. For example:
Search the web for the latest Exa Search API docs.The tool returns short, citation-friendly results with titles, URLs, dates, authors, and highlights when available. Use webfetch on a result URL if you need to read the full page.
Notes
num_resultsdefaults to 5 and supports 1–20 results.- Use domain filters when you want official or source-specific results.
- Use news/date filters for recent events.
