@odradekk/vera-web-tools
Web search, web read, docs search, academic search, and document parsing tools for Vera agent
Package details
Install @odradekk/vera-web-tools from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@odradekk/vera-web-tools- Package
@odradekk/vera-web-tools- Version
0.2.0- Published
- Jun 12, 2026
- Downloads
- 49/mo · 14/wk
- Author
- odradekk
- License
- MIT
- Types
- extension
- Size
- 115.8 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
vera-web-tools
Purpose
Provide network-backed information retrieval tools for Pi: web search, page extraction, documentation lookup, academic search, and document parsing.
Non-goals
- local workspace search (
rg/fd) - owning session UI, banners, or thinking shortcuts; search/read/parse logic stays non-UI, while tool-frame chrome is currently borrowed from
vera-theme - compaction, prompt rules, or system prompt mutation
- provider compatibility shims
Registered tools
web_search— aggregated multi-engine web searchweb_read— readable page extractiondocs_search— library documentation lookup via Context7academic_search— scholarly search via OpenAlexdocument_parse— document parsing via MinerU (remote URL or local file path); writes Markdown to a requiredoutput_path, optionally one file per page (paginate)
Config / auth
This package reads credentials from agent/auth.json and matching environment variables.
Supported keys:
exa/EXA_API_KEYbrave/BRAVE_API_KEYmetaso/METASO_API_KEYjina/JINA_API_KEYtavily/TAVILY_API_KEYcontext7/CONTEXT7_API_KEYopenalex/OPENALEX_API_KEYmineru/MINERU_API_KEY
External dependencies
- outbound network access
- upstream service availability and rate limits
- a valid URL for
web_read; a URL or readable local file path fordocument_parse
Internal structure
src/index.ts— Pi extension entrypointsrc/tools/— tool definitions and renderers; renderers currently usevera-theme'skylinFrameForCall/kylinFrameForResulttool-frame chrome helpers from the sibling packagesrc/clients/— upstream client wrappers; search deduplication usessrc/shared/render.tsURL normalizationsrc/shared/— package-local auth, error, http, render, and helper utilitiessrc/types.ts— shared detail/result types
Boundary notes
- The package owns network search/read/docs/academic/parse behavior, not session UI; tool-frame chrome is a cross-package borrow from
vera-themerather than a local UI framework. src/shared/render.tsis also part of client-side normalization:clients/search.tsusesnormalizeUrlwhen de-duplicating provider results.
Smoke
npm run smokenpm run smoke:offlinenpm run smoke:strict-network- from project root:
node scripts/smoke-all.mjs
Debugging
- Run the package smoke in offline mode first to verify registration and renderer stability.
- Re-run without
--offlineto test live upstream calls. - If a tool fails, separate missing-key paths from upstream/network failures before changing code.
- For renderer regressions, inspect
document_parsefirst; it has explicit regression coverage.
Loaded through agent/settings.json as ./packages/vera-web-tools.