@ollama/pi-web-search

Web search and fetch tools for Pi agent - uses Ollama's web search and fetch APIs

Package details

extension

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

$ pi install npm:@ollama/pi-web-search
Package
@ollama/pi-web-search
Version
0.0.5
Published
Mar 28, 2026
Downloads
25.3K/mo · 6,237/wk
Author
jmorgan
License
MIT
Types
extension
Size
7 KB
Dependencies
0 dependencies · 0 peers
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

Web search and fetch tools for the pi coding agent. Uses your local Ollama instance's web search and fetch APIs.

Features

  • ollama_web_search - Search the web for real-time information
  • ollama_web_fetch - Fetch and extract content from web pages

Requirements

  • pi coding agent installed
  • Ollama running locally

Installation

From npm

pi install npm:@ollama/pi-web-search

### From GitHub

```bash
pi install git:github.com/ollama/pi-web-search

From local path (development)

pi install /path/to/pi-web-search

Try without installing

pi -e git:github.com/ollama/pi-web-search

The LLM can then use:

  • ollama_web_search - When you need to search for current information
  • ollama_web_fetch - When you need to extract content from a specific URL

Troubleshooting

If you get connection errors:

  1. Make sure Ollama is running (ollama serve)
  2. Verify web search/fetch is enabled in your Ollama configuration
  3. Check the OLLAMA_HOST environment variable matches your setup

License

MIT