@odradekk/vera-web-tools

Web search, web read, docs search, academic search, and PDF parsing tools for Vera agent

Package details

extension

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.1.1
Published
May 5, 2026
Downloads
104/mo · 48/wk
Author
odradekk
License
MIT
Types
extension
Size
90.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)
  • session UI, banners, or thinking shortcuts
  • compaction, prompt rules, or system prompt mutation
  • provider compatibility shims

Registered tools

  • web_search — aggregated multi-engine web search
  • web_read — readable page extraction
  • docs_search — library documentation lookup via Context7
  • academic_search — scholarly search via OpenAlex
  • pdf_parse — document parsing via MinerU

Config / auth

This package reads credentials from agent/auth.json and matching environment variables.

Supported keys:

  • exa / EXA_API_KEY
  • brave / BRAVE_API_KEY
  • metaso / METASO_API_KEY
  • jina / JINA_API_KEY
  • tavily / TAVILY_API_KEY
  • context7 / CONTEXT7_API_KEY
  • openalex / OPENALEX_API_KEY
  • mineru / MINERU_API_KEY

External dependencies

  • outbound network access
  • upstream service availability and rate limits
  • a valid URL for web_read / pdf_parse

Internal structure

  • src/index.ts — Pi extension entrypoint
  • src/tools/ — tool definitions and renderers
  • src/clients/ — upstream client wrappers
  • src/shared/ — package-local auth, error, http, and helper utilities
  • src/types.ts — shared detail/result types

Smoke

  • npm run smoke
  • npm run smoke:offline
  • npm run smoke:strict-network
  • from project root: node agent/scripts/smoke-all.mjs

Debugging

  1. Run the package smoke in offline mode first to verify registration and renderer stability.
  2. Re-run without --offline to test live upstream calls.
  3. If a tool fails, separate missing-key paths from upstream/network failures before changing code.
  4. For renderer regressions, inspect pdf_parse first; it has explicit regression coverage.

Loaded through agent/settings.json as ./packages/vera-web-tools.