@peron_js/web-pi

Web search and fetch tools for the pi coding agent

Packages

Package details

extension

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

$ pi install npm:@peron_js/web-pi
Package
@peron_js/web-pi
Version
0.2.3
Published
Aug 18, 2026
Downloads
639/mo · 47/wk
Author
peron_js
License
unknown
Types
extension
Size
9.4 KB
Dependencies
1 dependency · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

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

README

@peron_js/web-pi

npm

Web search and fetch tools for the pi coding agent, backed by @peron_js/web-cli.

Install

pi install npm:@peron_js/web-pi

Tools

  • web_search — search the web, returning a numbered Markdown list of results
  • web_fetch — fetch a URL in a headless browser and return its main content as Markdown, truncated to 2000 lines or 50KB. When truncated, the full Markdown is saved to a temporary file and its path is returned

Both honor the HTTP_PROXY / HTTPS_PROXY / NO_PROXY environment variables and support cancellation. In the TUI each result collapses to a summary line, plus the saved file path when a fetch was truncated; expand it to preview the titles or the fetched Markdown.