@pi-plugins/websearch

WebSearch tool extension for pi-agent.

Packages

Package details

extension

Install @pi-plugins/websearch from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@pi-plugins/websearch
Package
@pi-plugins/websearch
Version
0.1.1
Published
Sep 14, 2026
Downloads
410/mo · 410/wk
Author
kedom1337
License
MIT
Types
extension
Size
3.3 MB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.mjs"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@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

Parameter Type Required Description
query string Yes The search query.
maxResults number No Number 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.