@lincoln504/pi-research
A set of web research tools (search, scrape, and others) and research agent system that uses them safely and efficiently.
Package details
Install @lincoln504/pi-research from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@lincoln504/pi-research- Package
@lincoln504/pi-research- Version
1.1.0- Published
- Aug 4, 2026
- Downloads
- 1,326/mo · 692/wk
- Author
- ldeen
- License
- MIT
- Types
- extension
- Size
- 3.1 MB
- Dependencies
- 19 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
],
"image": "https://raw.githubusercontent.com/Lincoln504/pi-research/main/docs/media/hero.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Free, unlimited web search & scraping — no monthly quota, no subscription. You pay only for the LLM tokens you use, and it builds your own private, searchable knowledge store on your machine.
How it works
A research run is a loop of agent teams: a coordinator plans the work and runs an opening search, parallel researcher agents scrape and read sources through a fixed, sandboxed toolkit (no filesystem or shell access), and an evaluator decides whether to run another round or synthesize — returning one cited Markdown report while its sources are saved to the knowledge store in the background.
Three depth levels — normal, deep, ultra — set the team size and number of rounds; ask in natural language and the tool picks the right one:

Use cases
- Plug-and-play (no API key needed) research tool for your pi.
- Research from Claude Code, Codex, or another coding agent, with a cheaper lightweight or local model driving the research so it doesn't spend your main agent's budget.
- Populating a dataset or building an index of knowledge sources from the web.
- Holding research in the knowledge store with a configurable scope — project-specific or globally user-scoped, set per directory from the
/research-configTUI. - Using the pi-research agent skill as OpenClaw's web access.
- Building agent systems that identify and examine web sources.
Why pi-research
- Free, unlimited search & scrape — no quota, no monthly fee. Most AI-search providers cap free searches per month and then charge; results run on their index on their servers. pi-research's search and scraping layer (DuckDuckGo via a stealth browser) is free and unlimited — you pay only for the LLM tokens you use, never per search or per month.
- You own your index. Every finding is written into a local LanceDB knowledge store on your machine — a persistent, searchable index you control and keep, which also seeds future runs so repeat questions get faster, cheaper answers. No borrowed, server-side index you can't keep or query. Findings can also be kept globally, scoped to a single project, or not kept at all — set per directory, changed whenever you like. The optionality is the point: the store is yours to build, partition, or switch off.
- Cited reports, not raw dumps. It returns one synthesized, sourced Markdown report to the chat instead of dumping raw web content into the conversation — context-efficient and easy to verify.
- Sandboxed by design. Web access runs inside a specialized, limited research agent with no filesystem or shell access — safe to point at anything.
- Search a little or a lot — three depth levels in the pi tool (four via the SDK and standalone CLI, which add the quick depth-0 path). Levels 1 and 2 are recommended for everyday workflow use; level 3 is for larger-scale investigations.
Requirements / limitations
- Node.js >= 22.19.0
- An LLM with a 100k+ context window (bring your own key)
- Internet access
- A residential IP address — search, scraping, and YouTube transcripts all rely on a residential connection. A datacenter/VPS/cloud IP gets bot-blocked by the providers these features depend on.
- The pi runtime the engine builds on —
@earendil-works/pi-ai,@earendil-works/pi-coding-agent, and@earendil-works/pi-tui. The pi extension uses the host's copies; the standalone CLI / agent skill install them as dependencies. - Cloudflare and similar anti-automation systems block scraping on some sites, so runs will identify sources they cannot reach. pi-research compensates with volume: the search tool rapidly pulls a large set of results off free DuckDuckGo, giving the model a wide selection of reachable content to cite.
Install
pi install npm:@lincoln504/pi-research
See Agent skill or SDK for standalone (no pi extension) installation.
The pi extension works out of the box — it runs on your pi session's model and pi's own configuration. Standalone use (agent skill / CLI) requires a configured model: set PI_RESEARCH_MODEL (e.g. openai/gpt-4o) as an environment variable or in ~/.pi/research/config.env (the CLI also accepts a per-run --model), plus PI_RESEARCH_API_KEY if you don't use pi; the SDK takes a model option. See Configuration.
The first install pulls the stealth browser engine, which takes a few minutes.
Stability (v1.x.x)
v0.1.13 (April 2026) was the last release before a rebuild against current pi APIs and the stealth-browser stack. v1.0.0 is the first stable release since. Channels:
- npm (
npm:@lincoln504/pi-research) is the stable channel, kept current with breaking pi changes. - A git install is the development channel: latest commits, first to break.
License
MIT. Bundled third-party licenses are listed in docs/THIRD-PARTY-NOTICES.md.
