npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lincoln504/pi-research

v1.0.6

Published

A set of web research tools (search, scrape, and others) and research agent system that uses them safely and efficiently.

Readme


Research is broken into subtasks automatically, with each sub-researcher given a high volume of sources to investigate. Then, evaluator decides whether the answer is complete or an additional round of research is needed. The final result is a synthesized cited report.

Ask in natural language — the tool understands the depth needed:

Prompt-driven multi-round research in the pi TUI

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-config TUI.
  • Using the pi-research agent skill as OpenClaw's web access.
  • Building agent systems that identify and examine web sources.

Advantages

  • Unlimited search and scrape, for free — you only pay for LLM tokens.
  • Context-efficient — it returns a synthesized, cited report to the chat instead of dumping raw web content into the conversation.
  • Safe by design — web access runs inside a specialized, limited research agent with no filesystem or shell access.
  • 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.