Make agents verify current facts before answering. pi-omnisearch
reminds the model to use the Omnisearch MCP tools for web search,
extraction, and cited synthesis instead of relying on stale memory or
snippets.
pi install npm:@spences10/pi-omnisearchLocal development from this monorepo:
pnpm --filter @spences10/pi-omnisearch run build
pi install ./packages/pi-omnisearch
# or for one run only
pi -e ./packages/pi-omnisearchThe extension injects a system reminder telling the model to use
mcp-omnisearch when the user asks to:
- research current information
- verify facts or citations
- inspect documentation
- compare packages, APIs, or tools
- extract and summarize web content
It encourages the verified research workflow from the ecosystem guide skill:
- use
web_searchfor discovery - use
web_extractto read actual source content before making claims - use
ai_searchfor synthesized answers with sources - prefer official docs, repositories, release notes, and source files
- report partial failures, conflicts, and uncertainty
It adds no slash commands and no custom tools.
mcp-omnisearch must be configured separately, for example in
~/.pi/agent/mcp.json:
{
"mcpServers": {
"mcp-omnisearch": {
"command": "npx",
"args": ["-y", "mcp-omnisearch"]
}
}
}import omnisearch from '@spences10/pi-omnisearch';
// pass `omnisearch` as an ExtensionFactory to your Pi runtimemy-pi imports this package directly and enables it as the built-in
Omnisearch reminder.
Package scripts build transitive workspace dependencies first, then
run local tools through Vite+ with vp exec.
pnpm --filter @spences10/pi-omnisearch run check
pnpm --filter @spences10/pi-omnisearch run test
pnpm --filter @spences10/pi-omnisearch run buildMIT
