omp packages

@kivlor/pi-websearch0.1.3

Exa-backed web search and content fetch for pi — raw TypeScript, no build step

kivlor Published 12 days ago MIT ~598 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@kivlor/pi-websearch

Web search for the Pi coding agent, powered by Exa: search the web and fetch full text content for known URLs.

Install

pi install npm:@kivlor/pi-websearch

--local/-l writes the declaration to the project's .pi/settings.json instead of the personal one. Manage installed extensions with pi config.

Tools

  • web_search — search the web with Exa. Single query or up to 4 varied queries run concurrently; optional numResults, includeContent, recencyFilter (day/week/month/year), domainFilter (-domain excludes).
  • web_fetch — fetch full text content for known URLs via Exa's /contents endpoint (up to 10 per call).

Usage

Ask pi: "search the web for recent news about X" or "fetch the full content of this URL", and the model calls the matching tool.

Commands

  • /websearch — show Exa configuration status.

Configuration

Resolution order:

  1. exaApiKey in ~/.pi/agent/web-search.json
  2. EXA_API_KEY environment variable

With a key, searches hit the Exa REST API (api.exa.ai, override with exaBaseUrl in config or EXA_BASE_URL). Without a key, they fall back to the free Exa MCP endpoint (mcp.exa.ai), which is rate-limited (429s).