pi-seltz-search
Seltz.ai search and Q&A tools for Pi Coding Agent
Package details
Install pi-seltz-search from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-seltz-search- Package
pi-seltz-search- Version
1.0.2- Published
- Jul 6, 2026
- Downloads
- not available
- Author
- aibear
- License
- MIT
- Types
- extension
- Size
- 17.8 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./seltz.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Seltz Search — Pi Extension
A Pi coding agent extension that integrates Seltz.ai for web-grounded search and answers.
What is Seltz.ai?
Seltz is an AI search platform that provides a REST API for real-time web search and RAG-powered answers. It returns structured, context-engineered documents optimized for AI consumption — making it ideal for coding agents that need up-to-date information about APIs, libraries, documentation, pricing, and more.
What This Extension Does
Registers two tools in Pi:
seltz_search— Searches the web and returns structured documents with URLs, content, and publication dates.seltz_answer— Returns a direct, cited answer to a natural-language question using Seltz's RAG engine.
Together they give Pi the ability to look up current information during coding sessions without needing external browser access.
Installation
npm
pi install npm:pi-seltz-search
Git
pi install git:codeberg.org/iobear/pi-seltz-search
Local
pi install ./path/to/pi-seltz-search
Quick test (one-off)
pi -e ./path/to/pi-seltz-search
Quick Start
# Option 1: Environment variable
export SELTZ_API_KEY="your-api-key"
# Option 2: Global config file (recommended)
mkdir -p ~/.seltz
echo '{ "api_key": "sk-your-api-key" }' > ~/.seltz/config.json
# Then start pi
pi
Then just ask Pi a question about something current — it will know to use Seltz.
The extension resolves the API key in this order (first match wins): tool parameter → SELTZ_API_KEY env var → ~/.seltz/config.json → .seltz/config.json (project-local).
License
See the Seltz.ai Terms of Use.