← Back to Leaderboard
Ofdarkaou

fdarkaou/open-deep-research

Self-hosted Next.js research app for recursive web search and cited reports

View on GitHub ↗
Engineering Health (Methodology)
A · 82/100
Maintenance Activity
● Updated 3d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence11/20
License Clarity20/20
Self-HostedAPI1 README badge views (30d)
Total Stars
★ 879
24h Growth
+0
7d Growth
+1
Forks
111

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

fdarkaou/open-deep-research Star History (2025-02-06 - 2026-12-04) ALL-TIME STAR HISTORY (2025-02 – 2026-12) +878 in 666d · avg +1/day 928 464 0 2025-02-06: ★ 12025-03-22: ★ 7782025-05-03: ★ 8062025-06-14: ★ 8212025-07-26: ★ 8342025-09-06: ★ 8442025-10-18: ★ 8532025-11-29: ★ 8582026-01-10: ★ 8602026-02-21: ★ 8642026-04-04: ★ 8672026-05-16: ★ 8672026-06-27: ★ 8692026-08-08: ★ 8712026-09-19: ★ 8732026-10-31: ★ 8772026-12-04: ★ 879 ★ 879 2025-02 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Open Deep Research packages recursive web research as a TypeScript Next.js application. /api/feedback generates clarifying questions whose answers are folded into a research brief. /api/research streams progress over Server-Sent Events (SSE). The Vercel AI SDK and @ai-sdk/openai provide the model interface for query planning, extracting findings and follow-up questions, and writing the report. The Firecrawl SDK handles web search and page retrieval; p-limit bounds concurrent search and extraction work across recursion levels.

Follow-up branches run with depth decremented and breadth set to ceil(breadth / 2). Before synthesis, the workflow deduplicates findings and source URLs. The result is a cited Markdown report, rendered by the React UI. This is query-time retrieval from the live web; the architecture does not establish a persistent corpus, vector index, or plugin framework. Backend customization is through service endpoints and model configuration.

Key Capabilities & Differentiators

Configurable breadth controls how many search queries each planning step can generate, while depth controls whether the workflow can pursue further leads. CONCURRENCY_LIMIT defaults to 2 and caps simultaneous search and extraction work rather than total work per report. The UI shows live progress, renders GitHub Flavored Markdown via react-markdown and remark-gfm, and exports research_report.md.

The default UI model is gpt-5-mini, with gpt-5, gpt-4.1-mini, and o4-mini also listed. OPENAI_BASE_URL supports OpenAI-compatible endpoints such as OpenRouter, Ollama, vLLM, and Azure OpenAI gateways, while OPENAI_MODEL can pin the server to a specific model ID. API compatibility alone is insufficient: the selected model must reliably return structured JSON for query planning and finding extraction.

Trade-offs & Limitations

Compared with managed services such as Perplexity, this application trades operational convenience for control over the model endpoint, Firecrawl endpoint, and search parameters. It is also a different fit from NotebookLM: it discovers sources on the public web rather than starting with a curated document collection. Citations help readers inspect the underlying sources, but URL deduplication does not assess source quality or verify that each statement is supported.

Reducing breadth at each layer limits per-branch expansion, but additional branches and levels can still increase total model and crawl calls, provider spend, and completion time. A concurrency cap controls simultaneous work, not the overall cost of a report. Self-hosting the UI alone does not keep research data local when model or crawl endpoints are hosted. Even with both services self-hosted, live web research still needs access to search services and target pages.

Hardware & Deployment Guide

The application requires Node.js 20 or later; Node.js 22 is recommended. Install with npm install, copy .env.example to .env.local, configure OPENAI_API_KEY and FIRECRAWL_KEY, and use npm run dev to try it locally. For production, use the Next.js npm run build and npm run start scripts; npm run typecheck and npm test are available for validation. The supplied project snapshot includes neither a container manifest nor a tagged release to anchor deployment or upgrades.

The app can call hosted services or point to separate model and Firecrawl deployments using OPENAI_BASE_URL and FIRECRAWL_BASE_URL. The Node.js orchestration tier does not need a GPU when inference is remote; size it for concurrent research jobs and streams, and size self-hosted inference and crawling separately. For shared deployments, NEXT_PUBLIC_ENABLE_API_KEYS=true enables user-supplied keys in HTTP-only cookies, but does not replace authentication or usage controls. Check proxy timeouts and buffering on the SSE route before rollout.

API flow: /api/feedback clarifies the brief; /api/research streams progress over SSE.
Recursion: Follow-up branches decrement depth and round half the previous breadth up.
Concurrency: p-limit caps concurrent search and extraction work across recursion levels, defaulting to 2.
Provider configuration: OPENAI_BASE_URL and OPENAI_MODEL select an OpenAI-compatible backend and model; structured JSON output is required.
Report delivery: Findings and source URLs are deduplicated before synthesis; the UI renders GitHub Flavored Markdown and exports research_report.md.
Credential modes: Use server-side environment variables or enable user-supplied keys stored in HTTP-only cookies.
Best For

Teams that want to control the model and crawling backends for multi-step public-web research and export cited Markdown reports for human review.

Skip If

You need a managed service with no backend operations, a persistent private-document knowledge base, or a fully offline workflow.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedAPI
npm run dev

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
open-deep-research ★879+1TypeScriptMITSelf-hosted Next.js research app for recursive web search and cited reports
open-notebook42.4k+164TypeScriptMITSelf-hosted RAG notebooks for source-cited research, with local or cloud models
Vane38.4k+73TypeScriptMITSelf-hosted AI search with SearxNG, local or cloud LLMs, and cited answers.
LightRAG41k+110PythonMITGraph-backed RAG for cross-document retrieval and multimodal indexing

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/fdarkaou/open-deep-research.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

fdarkaou/open-deep-research Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about open-deep-research

Can I integrate the research workflow into another application?

The application uses /api/feedback to generate clarifying questions and /api/research to stream research progress over SSE. Before building a separate client, verify request and event schemas, disconnect behavior, and compatibility across revisions; no versioned public contract is established in the available project data.

Do I need a GPU, and what should I size for?

No local GPU is required for the Node.js application when the model and Firecrawl are hosted externally. If you run inference through Ollama or vLLM, size the inference host for the chosen model, context length, and concurrent requests. Budget separately for Firecrawl if you also self-host crawling.

Can we deploy it commercially under the MIT license?

Yes. The MIT license permits commercial use and redistribution, with the copyright and permission notices retained in copies or substantial portions. Model and crawling services have separate terms, and the application’s license does not grant rights to reuse retrieved content. Check where research briefs and page content are processed before using it with sensitive material.

When should I choose this over Perplexity or NotebookLM?

Choose Open Deep Research if you want to operate a configurable public-web research pipeline and export the resulting report as Markdown. Perplexity is a more natural fit if you want managed web research without operating the backend; NotebookLM is a more relevant comparison when the work is centered on a curated set of documents.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining fdarkaou/open-deep-research? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature fdarkaou/open-deep-research on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare