pi-native-web-search

Adds a web_search tool powered by Anthropic's native web search โ€” no third-party API key needed. Always runs via claude-haiku-4-5 for fast, cheap retrieval with source URLs.

Package details

extension

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

$ pi install npm:pi-native-web-search
Package
pi-native-web-search
Version
0.1.1
Published
Mar 13, 2026
Downloads
26/mo ยท 5/wk
Author
pierre-mike
License
MIT
Types
extension
Size
8.1 KB
Dependencies
0 dependencies ยท 1 peer
Pi manifest JSON
{
  "extensions": [
    "."
  ]
}

Security note

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

README

๐ŸŒ Native Web Search

Adds a web_search tool powered by Anthropic's native web search โ€” no third-party API key, no browser, no proxy. Results come directly from Anthropic and are always run via claude-haiku-4-5 for fast, cheap retrieval regardless of which model is active in the session.

Install

pi install npm:pi-native-web-search

What it does

Registers a web_search tool the LLM can call to look up current information: documentation, news, packages, changelogs, anything not in its training data. The tool returns a concise summary with source URLs.

Tool: web_search

Parameter Type Description
query string The search query. Be specific and concise for best results.

Why this over other search extensions?

Feature pi-native-web-search Others
API key required โŒ None โœ… Linkup / Jina / SerpAPI
Headless browser โŒ None โœ… Some require Playwright
Provider Anthropic native Third-party
Model claude-haiku-4-5 (fast) Varies

Requirements

  • An active Anthropic API key in your pi session (already needed to run pi with Claude)