Skip to main content
📖 The AI Tool Bible
Open Deep Research preview image
Open Deep Research logo

Open Deep Research

Minimal open-source deep-research agent that iteratively searches, scrapes, and reasons to produce cited markdown reports.

Free· Free (MIT); bring your own Firecrawl + LLM API keysAgentso3-mini (default), DeepSeek R1, or any OpenAI-compatible model7.2 / 10
Visit website →

In short

Open Deep Research is a sub-500-line TypeScript agent that iteratively searches and scrapes the web to produce cited markdown reports. It is best for developers who want a transparent, self-hosted starting point for building custom research agents using Firecrawl and any OpenAI-compatible LLM.

Best for

Pick Open Deep Research if you want a transparent, hackable starting point for building your own deep-research agent on top of Firecrawl and an LLM of your choice.

Skip if

Skip it if you want a polished, hosted research product with a UI and built-in subscriptions - this is a developer scaffold, not a SaaS.

Open Deep Research (dzhng/deep-research) is a sub-500-line TypeScript implementation of a deep research agent that combines Firecrawl-powered web search and scraping with an LLM (o3-mini by default, with optional DeepSeek R1 via Fireworks or any OpenAI-compatible endpoint) to iteratively refine its own research direction. You give it a query, a breadth parameter (how many SERP queries per round), and a depth parameter (how many recursive rounds), and it loops: generate queries, extract learnings, propose follow-up directions, and dive deeper until it emits a comprehensive markdown report with sources.

The appeal is deliberate minimalism. Unlike the heavier LangChain/CrewAI-style research stacks, this repo is small enough to read in one sitting and fork as a starting point for a custom agent. It's aimed at developers who want to understand how a deep-research loop actually works, self-host it (Docker compose is provided), point it at a local LLM via OpenAI-compatible endpoints, and swap pieces in or out. There is no hosted product or pricing - you bring your own Firecrawl and model keys.

Python port exists in the community (Finance-LLMs/deep-research-python). MIT licensed, ~19k GitHub stars and active maintenance. Caveat: this is a CLI/library, not a polished web app - expect to read code, manage your own API credits, and handle Firecrawl rate limits on the free tier.

Editor's take

The clearest reference implementation of the deep-research-agent pattern we've found. The sub-500-LoC discipline is the feature: read it once and you actually understand how iterative SERP-then-reason loops work, which makes it a far better foundation than the heavier orchestration frameworks if you plan to customize. Just budget for Firecrawl and model spend.

— The AI Tool Bible editorial team

Pros

  • Under 500 lines of TypeScript - easy to read, fork, and customize
  • Works with any OpenAI-compatible endpoint including local LLMs
  • Configurable breadth and depth give precise control over research cost
  • MIT licensed with Docker compose setup included
  • Strong traction (~19k stars) and a Python community port

Cons

  • ⚠️ No hosted UI - command-line only, you run it yourself
  • ⚠️ Requires paid Firecrawl + LLM API keys to be useful at scale
  • ⚠️ Free Firecrawl tier hits rate limits quickly at default concurrency
  • ⚠️ Output quality depends entirely on the model and Firecrawl plan you bring

Use cases

deep-researchagent-scaffoldingcompetitive-researchliterature-reviewself-hosted-agent

Frequently asked

What is the primary purpose of Open Deep Research?
It is a minimal open-source deep-research agent that iteratively searches, scrapes, and reasons to produce comprehensive markdown reports with sources. It is designed as a hackable scaffold for developers rather than a polished hosted product.
Which models and tools does Open Deep Research require?
The tool requires you to bring your own Firecrawl and LLM API keys. It defaults to o3-mini but supports DeepSeek R1 or any OpenAI-compatible endpoint, including local LLMs.
Is Open Deep Research a hosted service with a user interface?
No, it is a CLI/library without a hosted UI or built-in subscriptions. Users must self-host it using the provided Docker compose setup and manage their own API credits and rate limits.
How does the research process work in Open Deep Research?
You provide a query along with breadth and depth parameters. The agent loops through generating queries, extracting learnings, and proposing follow-up directions until it emits a final report.
What are the licensing and codebase characteristics?
The project is MIT licensed and written in TypeScript with fewer than 500 lines of code. It has approximately 19k GitHub stars and a community Python port exists.

Explore related

Compare with similar tools

All in Agents
LangGraph preview image
LangGraph logo

LangGraph

Featured
Agents · BYO (Claude / GPT / open)
8.8

Stateful, graph-based agent orchestration from LangChain.

Freemium· Developer: $0 / seat · Plus: $39 / seat · Enterprise: Custom pricingstateful agentshuman-in-loop
CrewAI preview image
CrewAI logo

CrewAI

Featured
Agents · BYO (Claude / GPT / open)
8.4

Python framework for multi-agent orchestration.

Freemium· Basic: Free · Enterprise: Custommulti-agentorchestration
Ernie Bot preview image
Ernie Bot logo

Ernie Bot

Agents · Baidu ERNIE 4.0 / ERNIE X1 / ERNIE Turbo (in-house)
8.7

Baidu's Mandarin-first ChatGPT rival, powered by the ERNIE model family

Freemium· Free tier for Ernie 3.5 access; Ernie 4.0 and premium features require a paid subscription (approximately CNY 59.9/month for individual plans); enterprise API pricing via Baidu AI Cloud Qianfan platform is metered per 1K tokens.Mandarin content writing and marketing copyChinese-language document Q&A and summarisation
Moveworks preview image
Moveworks logo

Moveworks

Agents · Orchestrates multiple enterprise-ready LLMs (undisclosed mix, historically including OpenAI GPT and in-house models via its Reasoning Engine)
8.7

The enterprise AI assistant that searches, answers, and takes action across your business systems

Enterprise· Enterprise-only pricing; no public tiers. Quoted per organization based on employee count, integrations, and agent scope. Contact sales for a quote.IT service desk ticket deflectionHR policy Q&A and self-service
AWS Bedrock preview image
AWS Bedrock logo

AWS Bedrock

Agents · Multi-model: Anthropic Claude, Meta Llama, Mistral, Cohere, AI21, Amazon Nova/Titan, DeepSeek, Stability, OpenAI GPT
8.6

Build and scale generative AI applications with foundation models

Paid· Standard: Contact sales · Flex: Contact sales · Priority: Contact sales · Reserved: Contact salesEnterprise RAG chatbot over private documentsMulti-step tool-using agents via AgentCore
Claude Agent SDK preview image
Claude Agent SDK logo

Claude Agent SDK

Agents · Claude Opus / Sonnet
8.6

Anthropic's official SDK for building autonomous Claude agents.

Free· Free SDK; API usage billed at Claude ratesClaude agentstool use