@ollama/pi-web-search
v0.0.5
Published
Web search and fetch tools for Pi agent - uses Ollama's web search and fetch APIs
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 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-searchFrom local path (development)
pi install /path/to/pi-web-searchTry without installing
pi -e git:github.com/ollama/pi-web-searchThe 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
