← Catalog

@pi-plugins/websearch

WebSearch tool extension for pi-agent.

Extension

Install

Install with PiG

pig install npm:@pi-plugins/websearch

Install with Pi

pi install npm:@pi-plugins/websearch
Review before installing

Packages 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": [
    "./dist/index.mjs"
  ]
}

README

Written by the package's publisher, shown as published in version 0.2.3 (README.md). PiG does not review it.

@pi-plugins/websearch

Search the web in pi with the web_search tool.

Install

pi install npm:@pi-plugins/websearch

To try it for one session without changing your settings:

pi -e npm:@pi-plugins/websearch

Usage

Ask pi to look something up:

Search the web for the latest Effect 4 release notes.

Results are returned as a Markdown list of title, URL and a short content excerpt. Pair it with @pi-plugins/webfetch to read a result in full.

Parameters

ParameterTypeRequiredDescription
querystringYesThe search query.
maxResultsnumberNoNumber of results to return, from 1 to 20. Defaults to 8.

Configuration

Searches are served by Tavily in its free, rate-limited keyless mode. No account or setup is needed.

If you hit the keyless limit, set TAVILY_API_KEY to a Tavily API key. The free tier includes 1,000 searches a month with no credit card required. Results are identical in both modes.

Notes

Long result lists may be shortened to fit pi's output limit. A notice indicates when this happens.