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

deep-research-agent

v1.0.1

Published

A deep research AI agent built with LangChain, LangGraph, and free Groq AI. Performs multi-step research with web search, analysis, and comprehensive report generation.

Readme

🔬 Deep Research Agent

A CLI-based deep research AI agent built with LangChain, LangGraph, and free Groq AI.

It breaks down complex research queries into sub-questions, iteratively researches each one, analyzes gaps, and synthesizes a comprehensive report — all powered by Groq's blazing-fast inference on Llama models.

Architecture

START → Decompose → Research → Analyze → [loop?] → Synthesize → END
            │            │          │                     │
       Break query   Research    Check for          Write final
       into sub-     each sub-   gaps & decide      comprehensive
       questions     question    to loop or finish   report

Built as a LangGraph state graph with 4 nodes and a conditional loop edge.

Setup

# Install globally
npm install -g deep-research-agent

# Configure your free Groq API key
deep-research setup

Get your free API key at console.groq.com/keys (no credit card required).

Usage

# Basic research
deep-research "What are the latest trends in AI agents?"

# Deep research (more iterations)
deep-research "Compare React vs Vue vs Svelte in 2025" --depth deep

# Save report to file
deep-research "State of WebAssembly" --output report.md

# Use a specific model
deep-research "Quantum computing progress" --model llama-3.3-70b-versatile

Options

| Flag | Description | Default | |------|-------------|---------| | -d, --depth | Research depth: shallow, medium, deep | medium | | -o, --output | Save report to a file | — | | -m, --model | Groq model to use | llama-3.3-70b-versatile |

How It Works

  1. Decompose — Breaks your query into 3-5 focused sub-questions
  2. Research — Investigates each sub-question in depth using the LLM
  3. Analyze — Reviews findings for gaps and contradictions
  4. Loop — If gaps are found and depth allows, generates new sub-questions and researches again
  5. Synthesize — Produces a structured report with executive summary, findings, insights, and conclusions

Tech Stack

  • LangChain — LLM orchestration and prompt management
  • LangGraph — Stateful graph-based agent workflow with conditional edges
  • Groq — Free, ultra-fast LLM inference (Llama 3.3 70B)
  • Commander — CLI framework
  • Chalk + Ora — Terminal UI

License

MIT