pi-parallel-web-search

A pi extension that adds a web_search tool powered by Parallel AI

Package details

extension

Install pi-parallel-web-search from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-parallel-web-search
Package
pi-parallel-web-search
Version
1.0.3
Published
Feb 22, 2026
Downloads
136/mo · 47/wk
Author
philipp-spiess
License
MIT
Types
extension
Size
380.7 KB
Dependencies
4 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ],
  "image": "https://cdn.jsdelivr.net/npm/pi-parallel-web-search@latest/screenshot.png"
}

Security note

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

README

pi-parallel-web-search

A pi extension that adds a web_search tool powered by Parallel AI. Lets the LLM search the web for up-to-date information like recent news, documentation, product releases, or current events.

Setup

  1. Get an API key from platform.parallel.ai — you get $80 of free credits (~16,000 web searches)

  2. Set the PARALLEL_API_KEY environment variable:

    export PARALLEL_API_KEY=your-api-key
    
  3. Install the package:

    pi install npm:pi-parallel-web-search
    
  4. Reload pi with /reload or restart it

That's it! The web_search tool is now available to the LLM.

Usage

Once loaded, the LLM has access to a web_search tool and will use it automatically when it needs current information. You can also ask it directly:

Search the web for the latest Node.js release

The tool accepts:

  • objective — what you're looking for and why
  • search_queries — 1–5 search queries for comprehensive results
  • max_results — maximum number of results (1–20, default 10)

License

MIT