deep-research  by dzhng

AI research assistant for iterative, in-depth topic exploration

created 5 months ago
17,183 stars

Top 2.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a simple, iterative AI research assistant that deep dives into topics by combining search engines, web scraping, and LLMs. It's designed for researchers, students, or anyone needing to explore subjects in depth, offering a <500 LoC implementation for easy understanding and extension.

How It Works

The agent takes a user query, breadth, and depth parameters. It iteratively generates search queries (SERP), processes results to extract learnings and new directions, and then recursively explores deeper based on these findings if the depth parameter is not exhausted. This approach allows for refined research paths and deep dives, culminating in a comprehensive markdown report.

Quick Start & Requirements

  • Install: Clone the repo and run npm install.
  • Prerequisites: Node.js, Firecrawl API key, OpenAI API key (or local LLM endpoint/model).
  • Setup: Rename .env.example to .env.local and set API keys. Docker setup is also available.
  • Usage: Run npm start and follow prompts for query, breadth, and depth.
  • Docs: README

Highlighted Details

  • Iterative research with LLM-driven query generation.
  • Configurable depth and breadth parameters.
  • Concurrent processing for faster execution (adjustable via CONCURRENCY_LIMIT).
  • Supports custom endpoints and models (e.g., DeepSeek R1 via Fireworks API).

Maintenance & Community

  • Sponsored by Aomni.
  • Follow on X/Twitter mentioned for project support.

Licensing & Compatibility

  • MIT License. Permissive for commercial use and closed-source linking.

Limitations & Caveats

Free Firecrawl API usage may encounter rate limits, requiring a reduced concurrency or paid/local Firecrawl. The project is presented as a simple implementation, implying potential for further refinement and feature expansion.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
5
Star History
1,438 stars in the last 90 days

Explore Similar Projects

Starred by Jason Liu Jason Liu(Author of Instructor) and Ross Taylor Ross Taylor(Cofounder of General Reasoning; Creator of Papers with Code).

Search-R1 by PeterGriffinJin

1.3%
3k
RL framework for training LLMs to use search engines
created 5 months ago
updated 3 weeks ago
Feedback? Help us improve.