Install
Install with PiG
pig install npm:@ollama/pi-web-searchInstall with Pi
pi install npm:@ollama/pi-web-searchReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.0.5 (README.md). PiG does not review it.
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 informationollama_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 informationollama_web_fetch- When you need to extract content from a specific URL
Troubleshooting
If you get connection errors:
- Make sure Ollama is running (
ollama serve) - Verify web search/fetch is enabled in your Ollama configuration
- Check the OLLAMA_HOST environment variable matches your setup
License
MIT