@random-long-int/pi-tavily

Tavily web_search and web_extract tools for pi

Packages

Package details

extension

Install @random-long-int/pi-tavily from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@random-long-int/pi-tavily
Package
@random-long-int/pi-tavily
Version
0.1.0
Published
May 19, 2026
Downloads
not available
Author
random-long-int
License
unknown
Types
extension
Size
11.6 KB
Dependencies
4 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

Tavily pi extension

Adds two pi tools backed by the Tavily JavaScript SDK:

  • web_search — search the web with Tavily
  • web_extract — extract content from known URLs

Setup

bun install
export TAVILY_API_KEY="tvly-..."
# optional
export TAVILY_PROJECT="pi-agent-mac-mini"

Put this directory at ~/.pi/agent/extensions/tavily/ and run /reload in pi.

Tool output is truncated to pi's default limits. If truncated, the full JSON response is saved to a temp file and the path is included in the tool result.