@tavily/pi-extension package. It adds two extension tools: web_search (Tavily Search) and web_fetch (Tavily Extract).
1
Set your Tavily API key
Get a free key from the Tavily dashboard and export it in the shell where you launch Pi:The extension reads the key from your environment. OAuth sign-in isn’t supported yet.
2
Install the extension
pi config and make sure the extension resource is enabled. If the package is installed but web_search or web_fetch don’t appear, check this first.Don't have Pi yet?
Don't have Pi yet?
3
Verify the tools are available
Start a fresh Pi session in a clean directory:Then ask Pi:You should see
web_search and web_fetch in the available tools.Example prompts
Search
Fetch
Troubleshooting
If Pi says it cannot access the web or Tavily tools do not appear, check these in order:- Is the package installed?
- Is the extension resource enabled?
- Is the API key set in the same shell where Pi is launched?
- Are you starting a fresh session?