How Deep Research Works and How Its Architecture Evolved

November 24, 2025

中文版

In my hosted API survey and open-source survey, I focused on choosing a practical research backend. That leaves a more interesting question: what turns a model with a search tool into a research system?

My working definition is a system that gathers evidence across multiple steps, uses what it learns to guide further investigation, and turns the resulting evidence into an answer whose sources can be inspected. The mechanism combines a model with a research strategy, tools, persistent state, and rules for deciding when to stop. Different implementations distribute those responsibilities differently.

This article follows the technical lineage and representative designs published from 2022 through 2025. It is an explanation of architectures, rather than a ranking of today's products. The distinction matters: a useful design can outlive the particular model or API used to demonstrate it.

What changes when search becomes research

Consider a question such as: Which document search system should our small engineering team deploy?

A single retrieval pass might collect product descriptions and summarize their features. A research process also has to discover what matters: deployment restrictions, update frequency, supported formats, operating cost, and evidence that the advertised features actually work. Reading one source may reveal a new question that was absent from the original plan.

For example, a product page might advertise local deployment, while its installation guide reveals that one essential service still requires an external API. The next useful action is to investigate that dependency. Repeating the original query would add little. This is where feedback changes the trajectory of the investigation.

The practical distinction is between a fixed retrieval pass and a process that can revise its investigation. RAG can be a component of either. Calling a system “agentic” does not establish that it performs careful research, and calling another system “RAG” does not establish that it only retrieves once.

I would look for three observable behaviors: the system can identify an unanswered question, take a relevant action to reduce that uncertainty, and retain the connection between its conclusions and the evidence it collected. A long answer alone demonstrates none of these.

Where the ideas came from

Deep Research emerged from several overlapping lines of work. The following milestones distinguish research ideas from product launches.

DateMilestoneContribution to the story
October 2022ReActInterleaved reasoning and actions, allowing external observations to inform subsequent decisions.1
February 2024STORMResearched topics through different perspectives before organizing evidence into an outline and a grounded long article.2
December 11, 2024Gemini Deep ResearchIntroduced a consumer research workflow with a plan, iterative browsing, and a linked report.3
February 2, 2025OpenAI deep researchDescribed an o3-based system trained for extended browsing and analysis, including reinforcement learning on tasks using browser and Python tools.4
February 4, 2025Hugging Face Open DeepResearchPublished an open implementation built around smolagents and code-based actions.5

These dates do not identify a single inventor of automated research. They show how reasoning with tools, research-oriented writing, and product interfaces converged. In particular, the product category did not begin with OpenAI's February 2025 announcement.

Reinforcement learning belongs to this history, but it is not a requirement that every application developer must reproduce. Training a model to handle research trajectories and building a research workflow around an existing model are different engineering tasks. OpenAI's launch describes the former; several implementations below demonstrate the latter.

Why the loop became practical

The chronology leaves an important question: if agents could already repeat planning and tool calls, what made later research systems more useful? Juneja's retrospective describes early agents losing direction, repeating actions, and consuming resources without a satisfactory result. His “What Was Missing” section identifies four enabling improvements: context capacity, multimodal understanding, tool infrastructure, and tool selection (Juneja, 2025).6

I would connect those improvements to concrete research bottlenecks:

BottleneckEnabling improvementWhat it changes in a research task
The task and earlier findings no longer fit togetherLarger context windowsMore relevant history can inform the next decision
Useful evidence appears in a diagram or page imageMultimodal understandingMore source material becomes accessible to analysis
A planned action has no dependable implementationReusable search, browsing, extraction, and execution toolsMore plans can actually be carried out
Tools exist, but the agent chooses an unhelpful actionBetter tool selectionThe next operation is more likely to address the current gap

These are Juneja's four categories; the bottleneck mapping is my interpretation.6 They also explain why adding a loop to an arbitrary model is insufficient. A larger window supplies capacity, but the application still has to select and preserve relevant evidence. Access to a browser supplies an action, but the controller still has to choose a useful destination.

Contemporaneous releases illustrate the convergence. In July 2024, OpenAI introduced GPT-4o mini with a 128K context window, text and image input, and reported improvements in function calling. Its announcement also emphasized lower cost and latency for applications that chain multiple model calls.7 This is one historical example of several enabling capabilities arriving together, rather than evidence that one model caused the whole category to emerge.

Cost changes how much investigation is feasible. For a fixed task budget, cheaper calls can leave room for another source, a contradiction check, or recovery from a failed search. The benefit depends on those calls producing useful evidence. More affordable repetition can also finance a longer unproductive loop, which is why cost controls and stopping rules remain necessary.

Long investigations amplify small weaknesses. A research run needs many decisions to remain useful in sequence. Choosing an appropriate tool, passing valid arguments, recognizing an unhelpful result, and revising the plan are distinct capabilities. OpenAI's February 2025 launch describes training on browsing and reasoning trajectories, including backtracking in response to new information.4 That addresses a broader problem than selecting a function once.

My reading is that the 2024–2025 wave combined a familiar feedback loop with stronger models, usable tools, and more affordable repeated execution. This helps explain the technical conditions for practical research agents; it is not a measured account of every cause of their popularity. The engineering designs below show how developers turned those conditions into persistent state, bounded execution, and reports whose evidence can be checked.

The loop needs state and stopping rules

DeepSearch is already iterative

In Jina's terminology, DeepSearch repeatedly gathers evidence; DeepResearch adds document-level organization and synthesis (Xiao, 2025, “DeepSearch vs DeepResearch”).8

LayerMain operationTypical result
Single retrieval passRetrieve once, then answerAn answer based on that retrieval
DeepSearchRepeat searching, reading, and reasoningAn answer grounded in accumulated evidence
DeepResearchCoordinate investigations, organize sections, and integrate findingsA coherent, structured research report

The distinction is between responsibilities, not one search versus many. These are Jina's terms, not universal product definitions.8

Jina's search, read, and reason cycle inside a budget boundary

Figure 1. Jina's budget-bounded search, read, and reason loop.8

A question tree and its execution order are different things

Jina contrasts recursive descent with a shared-context queue that revisits the original question. It favors the queue because budgets are difficult to allocate across an expanding recursive tree (Xiao, 2025, “FIFO Queue vs Recursion”).8

Here is an original illustration using our deployment example. The arrows mean “investigating this question reveals a further question”; they do not specify the order of execution.

flowchart TD
    Q0["Q0: Can we fully self-host B?"]
    Q1["Q1: Does its parser require a hosted API?"]
    Q2["Q2: What hardware is required?"]
    Q3["Q3: What does the license permit?"]
    Q11["Q1.1: Can its OCR dependency run locally?"]
    Q111["Q1.1.1: Are its model weights available?"]
    Q0 --> Q1
    Q0 --> Q2
    Q0 --> Q3
    Q1 --> Q11
    Q11 --> Q111

Author-created example, inspired by Jina's discussion of gap questions.8

Two possible schedules make the difference visible:

  • Recursive depth-first investigation: follow Q0 → Q1 → Q1.1 → Q1.1.1, then propagate findings back up before proceeding to Q2 and Q3. One branch can keep discovering deeper dependencies.
  • Queue with checkpoints: start with [Q1, Q2, Q3, Q0]. If new gaps are appended, the system can investigate Q1, Q2, and Q3, then reassess Q0 while Q1.1 remains pending. Revisiting Q0 is a progress check, not a declaration that the research is complete.

These schedules illustrate the choice; they are not a reproduction of Jina's implementation. In this example, discovering that B's license forbids the intended deployment could make a lengthy OCR investigation unnecessary. The controller should be able to revise priorities using that evidence. A tree describes how questions relate; a scheduler decides which question gets the next slice of work. Both schedules still need budgets and a way to report unresolved branches.

Preserve state and distinguish stop reasons

A loop needs an explicit account of what has happened. For the document-search example, I would keep the following records:

RecordExampleWhy retain it?
Research briefSelf-hosting required; compare three candidatesPrevents the task from drifting
Open questionDoes candidate B require a hosted parser?Determines a useful next action
EvidenceInstallation-guide passage with URL and sectionSupports later verification
Source historyURLs visited, dates, retrieval failuresAvoids repeating unproductive work
Decision recordInvestigate parser deployment nextMakes the investigation inspectable
Resource stateCalls, tokens, elapsed time, remaining budgetMakes termination enforceable

These records expose difficult choices. What counts as sufficient coverage? Does a second article provide independent evidence, or merely repeat the first? Should a failed request be retried? These policies deserve as much attention as the prompt that generates search queries. The implementation section connects the records in a concrete control loop.

Stopping also has several meanings. Completing the research brief, exhausting the budget, and repeatedly failing to retrieve a crucial source should produce different status messages. A partial report can still be useful if it identifies the question it could not resolve.

I would reserve a separate budget for writing and checking the report, and count rejected actions toward an attempt limit. Otherwise, a system can spend everything on retrieval or keep proposing invalid actions without ever reaching a useful result.

Several ways to organize the same work

A graph makes the control flow explicit

Shuai Guo's LangGraph tutorial makes the loop concrete through Google's Gemini example. Its diagram shows where research repeats and where answer generation begins.9

A question moves through query generation, search, reflection, and a sufficiency decision

Figure 2. The tutorial's high-level flowchart. Source: Shuai Guo, Towards Data Science, Figure 2.9

The accompanying Google code separates query generation, web research, reflection, and finalization. Structured results expose gaps and follow-up queries; conditional routing decides whether to search again; Send distributes searches across branches. A configured loop limit prevents the reflection step from continuing indefinitely.10

This illustrates a useful boundary: developers specify the available transitions, while model outputs influence which transition is taken. A fixed graph can therefore support an adaptive investigation. The graph's shape alone tells us little about the quality of the evidence moving through it.

A supervisor can divide the research

LangChain's July 2025 design separates scoping, research, and writing. A brief guides a supervisor, workers investigate subtopics, and a final call produces the report. The team reports moving away from parallel section writing because the resulting text lacked coherence.11

LangChain's scope, research, and write phases

Figure 3. LangChain's three-phase architecture, including clarification and brief generation. Source: LangChain.11

The design question is which work can proceed independently. Researching deployment requirements for three products may parallelize well. Recommending one product requires comparing the findings under the same constraints. The latter needs a shared account of what the former discovered.

Several agents can prepare one research request

The OpenAI Cookbook demonstrates a different division: a triage agent routes missing context to a clarifier, an instruction builder prepares a brief, and a research agent investigates it using web search and optionally internal MCP search. Clarification is conditional.12

OpenAI's triage, clarifier, instruction builder, and research agents

Figure 4. The Cookbook's four-agent example. This is application-level orchestration, not a diagram of ChatGPT's undisclosed internals. Source: OpenAI Cookbook.12

Here the agent count describes preparation and handoffs; it does not imply four researchers browsing concurrently. When comparing architectures, ask what each role contributes rather than treating more roles as greater research depth.

Report sections can become parallel research assignments

Jai Juneja's QX implementation offers a simple iterative mode and a deep mode that plans subtopics, researches them concurrently, and consolidates the output. Its diagram makes report structure part of the work decomposition.6

QX's planner dispatches section researchers whose drafts reach a proofreader

Figure 5. QX's deep mode. Source: Jai Juneja.6

The associated Reddit discussion adds a revealing limitation: newly discovered topics could fit into existing sections, but the implementation did not automatically create a new top-level section. The author also describes selecting relevant URLs and summarizing retrieved material with citations.13

This gives us two separate questions to ask of any system: can a worker change its next search, and can the overall investigation change its structure? A workflow can have considerable freedom at the first level while remaining constrained at the second. Neither a “dynamic” label nor an animated progress panel tells us which kind of flexibility exists.

Who controls the research strategy

Universal Deep Research, by Peter Belcak and Pavlo Molchanov, makes the strategy a separate input. It translates natural-language research instructions into executable code, stores intermediate material in program variables, and uses the model for designated reasoning tasks. It requires no additional model training. The paper presents a prototype whose behavior still depends on generated-code quality and a sensible user strategy.14

The NVIDIA researchers distinguish code agency from LLM agency, but UDR itself puts orchestration in generated code. They describe model reasoning as “a callable utility rather than a controlling entity” (Belcak & Molchanov, 2025, §2.2, “Phase 2 – Strategy execution”).14 This is a distinction between control architectures, not a proposal for a model to set its own spending limit.

UDR compiles a user strategy and executes its steps with persistent state

Figure 6. UDR separates the strategy from the research prompt. Source: Belcak and Molchanov, Figure 2.14

For our example, a strategy could require deployment claims to be checked against installation documentation, record contradictions explicitly, and cap searches per product. These are methodological instructions, distinct from the question being investigated.

I find it useful to compare systems along three axes:

AxisOne endOther end
Control over the next stepProgram chooses the operationModel chooses among permitted actions
Control over the methodologyDeveloper supplies a fixed strategyUser supplies or edits the strategy
Distribution of workOne research contextMultiple cooperating contexts

These axes can be combined. A program can launch several model-driven workers; an autonomous controller can call a tightly constrained extraction routine. The useful engineering question is where a particular decision belongs.

For a narrowly specified audit, explicit procedures may be valuable. For an unfamiliar topic, rigid procedures may miss an important branch. I would choose that tradeoff based on the task and assess it with examples where the initial plan turns out to be wrong.

Keep working context separate from evidence

Tavily describes distilling tool results into compact findings for subsequent decisions, then bringing source material back for final writing. Its design also emphasizes source deduplication and persistent state. The team reports 66% lower token consumption than its Open Deep Research comparison; this is their November 2025 result, not a universal saving or a current leaderboard claim.15

Its preference for model autonomy is explicit: “Simplify orchestration logic and lean into autonomy” (Griff et al., 2025, “Takeaways” section, item 1).15 I read this as an argument for letting models make more research decisions as their capabilities improve; the application still needs to enforce resource limits.

Tavily carries distilled findings between tool-calling iterations

Figure 7. The light bulbs represent distilled knowledge carried forward through the research. Source: Tavily.15

For an implementation, I would distinguish three stores:

  1. Working context: the brief, unresolved questions, and the findings needed for the next decision.
  2. Evidence records: passages, source identifiers, timestamps, and enough location information to revisit a claim.
  3. Execution records: actions, errors, usage, and stop reasons.

These records serve different consumers. The next-action selector needs a concise view. A claim checker needs the relevant passage and its context. An engineer investigating a failed run needs the action history. Sending the same accumulated transcript to all three is an avoidable coupling.

The storage technology follows the access pattern. Files or structured records may be enough for a small investigation. A larger collection may benefit from an index or retrieval service. A vector database is one possible retrieval mechanism, not an explanation of why a citation is correct.

Compression creates a particular risk: it can preserve a conclusion while dropping its conditions. “Local deployment is supported” may lose “except for the document parser.” I would therefore retain the original supporting passage even when a short finding drives the next step.

Reliability requires checks outside the model

Sarmad Qadri's MCP-Agent account describes a complicated adaptive design that performed poorly, followed by a simpler plan, execute, verify, and replan loop. The revised system checks task dependencies and verifies that named servers and agents exist before execution.16

Qadri (2025) captures the division of responsibility in a short sentence: “There’s more to agents than just LLMs” (“Plan, but verify (deterministically)” section).16

MCP-Agent repeats orchestration when objective verification fails

Figure 8. Completion is checked after execution, with a route back to planning. Source: Sarmad Qadri, AI Alliance.16

That is a useful distinction between two types of correctness. Code can check whether a tool exists, whether its arguments match a schema, and whether a budget has been exceeded. Those checks cannot establish that a source is trustworthy or that its passage supports a conclusion. Both layers need attention.

Similarly, MCP supplies a way to expose tools and resources; the research procedure still has to decide which capabilities to use and how to interpret their results. Tool access, methodology, and evidence quality are separate responsibilities.

For a small system, I would begin with search, page or document reading, and evidence storage. I would add calculation or code execution when tasks require it. Permissions, bounded execution, and treating retrieved text as evidence rather than operational instructions belong at that boundary.

I would evaluate a first version with a small collection of difficult cases before expanding its toolset:

CaseWhat to inspect
The answer requires information found only after the first searchWhether new evidence changes the next query
Two sources appear to disagreeWhether dates, definitions, and original sources are checked
Many pages repeat the same announcementWhether repetition is mistaken for independent confirmation
A crucial document is unavailableWhether the report states the unresolved gap
The research budget expiresWhether it terminates and explains the limitation
A citation looks plausibleWhether the cited passage actually supports the attached claim

A report can be polished and still fail all six. I would record task coverage, citation support, cost, elapsed time, and failures together. Model-written explanations of success are not a substitute for checking the evidence.

From a minimal agent to a budgeted research loop

The implementation below combines several ideas from the reading list. Their contributions are different:

Design inputSource and scope of the inspiration
A minimal research agent connected to web searchThe OpenAI Cookbook's basic agent example.12
A research loop bounded by resource use and failed attemptsJina's loop uses Token and failed-attempt limits.8
Model-selected next actions and compact working contextTavily advocates simpler orchestration, greater model autonomy, and distilled context.15
Code checks around model-generated proposalsMCP-Agent validates dependencies and available servers and agents before execution.16
An explicit distinction between code control and model reasoningUDR supplies this architectural distinction; its code-led strategy execution is a comparison point, not the source of the adaptive budget policy.14

The combination of model-requested allowances, a protected finalization reserve, and atomic reservation and settlement is my proposed engineering extension. The cited sources motivate its components; they do not establish this particular budget controller or demonstrate its effectiveness.

Start with the smallest useful call

The Cookbook's basic example connects one research agent to web search and streams the result.12 Removing the display code leaves the following shape. Both code blocks in this section are pseudocode; names such as Agent, run, and metered describe responsibilities rather than a copy-and-paste API contract.

agent = Agent(
    model = configured_research_model,
    tools = [web_search],
    instructions = "Investigate the brief; cite sources; state unresolved gaps."
)
report = run(agent, research_brief)
return report

A single application call can already contain multiple model/tool interactions. The missing layer in this sketch is an application-wide spending policy, not necessarily an internal research loop. A hosted research service can own that loop; an application that needs to approve every step must instead own the loop and expose smaller search, reading, and extraction operations.

Make the limits explicit

I would keep these limits in a ledger outside the model:

ResourceApplication rule
Model usageAccount for input, reasoning, and visible output across every call
ToolsCap calls and paid tool usage across the whole task, including retries
TimeStop admitting research early enough to leave time for finalization
AttemptsBound failed, invalid, and redundant proposals as well as successful actions
FinalizationProtect a separate allowance for writing and checking the report

Provider parameters can help, but their scope matters. The Responses API defines max_output_tokens over generated output, including reasoning tokens; it is not a total input-plus-output budget. max_tool_calls limits built-in tool calls within one response. Neither parameter alone implements a task-wide monetary cap across multiple responses and external tools.17

Let the model propose spending; let code authorize it

The following is my proposed extension, informed by the preceding designs. It is not the UDR algorithm or a budget controller supplied by the Cookbook. The model sees remaining resources and evidence gaps, then proposes an action, a short justification, and an allowance for that action. Code validates the proposal and can reduce or reject the allowance.

state = State(brief, stop_reason = "attempt_limit")
ledger = Ledger(hard_limits, reserve_for_finalization)

for attempt in range(MAX_ATTEMPTS):
    if not ledger.can_fund(DECISION_CAP, pool = "research"):
        state.stop_reason = "research_limit"
        break

    proposal = metered(decide_next, state.compact_view(), ledger.view(),
                       cap = DECISION_CAP, pool = "research")
    if not valid_proposal(proposal, state):
        state.record_rejection(proposal)
        continue
    if proposal.action == "stop":
        state.stop_reason = "model_stop"
        break

    cap = ledger.approve(proposal.requested_cap, per_action_limits,
                         pool = "research")
    if cap is denied:
        state.stop_reason = "research_limit"
        break

    result = metered(research_step, proposal.action,
                     cap = cap, pool = "research")
    state.absorb(result.evidence, result.gaps, result.errors)

report = metered(write_and_check, state,
                 cap = ledger.finalization_remaining(), pool = "finalization")
return report.or_partial_from(state), state.stop_reason, ledger.usage()

Here metered is a required enforcement boundary, not a logging decoration. Before work begins it atomically reserves a conservative allowance, sets enforceable call limits and deadlines, then settles against actual usage. Failed calls still consume whatever was billed. Unknown usage remains reserved until reconciled. Planning, extraction, compression, retries, writing, and checking must all pass through it, including any calls inside research_step and write_and_check. Failures become structured results so that the bounded loop can continue or return a partial report.

approve works component by component across the resource limits and excludes the protected finalization reserve. valid_proposal checks the schema, permitted actions, and repeated unsuccessful actions. These checks do not establish whether the evidence is sufficient. A model's decision to stop is recorded as such; final checking must still identify unsupported claims and unanswered questions. If finalization fails, or_partial_from returns the stored findings and limitations without another model call.

A strict monetary ceiling also requires bounded input sizes, tool-result sizes, and known maximum charges for admitted work. With estimated costs alone, this is a spending target, not a guaranteed bill. Timing out a client does not establish that remote work stopped or became free. Concurrent workers would need the same atomic ledger so that they cannot each spend the same remaining allowance.

Adjust effort as the evidence changes

For an illustrative token budget, suppose the application permits 24,000 total tokens and protects 6,000 for finalization. The remaining 18,000 fund both decisions and research. The model might initially request a 2,000-token investigation of deployment options, stop that branch early, then request up to 3,000 tokens to resolve a conflict about hosted parsing. Every new allowance is checked against the actual remainder after prior usage and reservations. These numbers illustrate allocation, not recommended settings or a cost conversion.

The model can therefore revise its initial plan, shift effort between branches, and stop before spending the allowance. It cannot increase the authorized 24,000-token ceiling or consume the protected reserve. Raising the ceiling requires a separate application or user decision.

I would ask each continuation proposal to name the unresolved claim and the new evidence it expects to obtain. Repeated summaries of the same announcement should not justify more spending. An independent installation guide that could settle a consequential contradiction might. This is a heuristic for allocating effort, not proof that the model can estimate the value of research accurately; evaluate it against a fixed-budget baseline using coverage, supported claims, cost, and elapsed time.

What the AI overviews leave unresolved

Two Google AI Overview snapshots collected for this article provide useful starting questions. The first describes an RL-trained reasoning model, an autonomous loop, tools, and memory. The second suggests planners, workers, context management, and tracing.1819 They capture recurring components, but compress different implementations into something that sounds more uniform than it is.

The distinctions above change how those descriptions should be read:

  • Training and orchestration are separate choices. A specialized research model is one route; an application can also orchestrate existing models.
  • Adaptation can happen inside programmed control flow. A conditional loop does not stop being adaptive because its available transitions were written in advance.
  • Parallel workers, Python, MCP, and vector storage solve particular problems. Their presence is not a definition of Deep Research.
  • Traceability makes verification possible. It does not guarantee that the verification has been performed correctly.

The snapshots are included as discovery material, with their search queries recorded below. Technical claims are supported by the corresponding papers, implementations, and developer accounts. Search results may no longer reproduce the same generated text.

What I would build first

For the internal-service use case behind my earlier surveys, I would start with one bounded research loop, an explicit brief, and evidence records that survive context compression. I would make it possible to inspect why the system searched again, why it stopped, and which passages support its answer.

Only then would I introduce parallel workers for questions that separate cleanly, or a programmable strategy layer for tasks that need a repeatable method. Those additions should solve an observed limitation: slow independent searches, a rigid plan, or an inability to enforce source preferences.

The final design test is concrete: when the initial information is incomplete or misleading, can the system obtain better evidence and explain what remains uncertain? That is the behavior I want from a research backend.

References and source notes

The first eleven entries come from a reading list compiled in November 2025. Entries 8 and 9 refer to Google AI Overview snapshots collected and preserved at that time; they are not primary technical evidence. Undated webpages, source code, and API parameter definitions were checked on November 6, 2026; retrieval dates below record that later verification separately from the original collection. Figures are locally stored copies of the credited source diagrams, optimized for file size while retaining readable labels and the original diagram content. Seven are compressed JPEGs; the smaller LangGraph diagram retains its original PNG format. Footnotes use APA-style author–date entries following the repository template, with numbers retained for navigation; short direct quotations identify their source sections. The implementation pseudocode and budget-allocation policy are proposed designs for this article.

Footnotes

  1. Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., & Cao, Y. (2022, October 6). ReAct: Synergizing Reasoning and Acting in Language Models [Preprint]. arXiv:2210.03629. Date refers to the first submission. ↩

  2. Shao, Y., Jiang, Y., Kanell, T. A., Xu, P., Khattab, O., & Lam, M. S. (2024, February 22). Assisting in Writing Wikipedia-like Articles From Scratch with Large Language Models [Preprint]. arXiv:2402.14207. STORM; date refers to the first submission. ↩

  3. Citron, D. (2024, December 11). Try Deep Research and our new experimental model in Gemini, your AI assistant [Blog post]. Retrieved from Google. ↩

  4. OpenAI. (2025, February 2). Introducing deep research [Blog post]. Retrieved from OpenAI. The historical discussion refers to the launch description, rather than subsequent product updates. ↩ ↩2

  5. Roucher, A., Villanova del Moral, A., Merve, Wolf, T., & Fourrier, C. (2025, February 4). Open-source DeepResearch — Freeing our search agents [Blog post]. Retrieved from Hugging Face. ↩

  6. Juneja, J. (2025, March 25). Deep research: How it works and how to build it [Blog post]. Retrieved from Jai Juneja. ↩ ↩2 ↩3 ↩4

  7. OpenAI. (2024, July 18). GPT-4o mini: advancing cost-efficient intelligence [Blog post]. Retrieved from OpenAI. Used as a historical example of context capacity, multimodal input, function calling, and the economics of repeated model calls. ↩

  8. Xiao, H. (2025, February 25). DeepSearch/DeepResearch 实施实用指南 [Blog post]. Retrieved from Jina AI. ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  9. Guo, S. (2025, August 14). LangGraph 101: Let’s Build A Deep Research Agent [Blog post]. Retrieved from Towards Data Science. Read from the locally saved HTML copy. ↩ ↩2

  10. Google. (n.d.). Gemini Fullstack LangGraph Quickstart — graph.py [Source code]. Retrieved November 6, 2026, from GitHub. Source corresponding to the tutorial’s example; repository contents may evolve. ↩

  11. The LangChain Team. (2025, July 16). Open Deep Research [Blog post]. Retrieved from LangChain. ↩ ↩2

  12. Alwell, K., & Jain, G. (2025, June 25). Deep Research API with the Agents SDK [Code tutorial]. Retrieved from OpenAI Cookbook. ↩ ↩2 ↩3 ↩4

  13. TheRedfather. (n.d.). I built Open Source Deep Research — here's how it works [Online forum post]. Retrieved November 6, 2026, from Reddit, r/LLMDevs. Includes the author’s implementation details in the comments. ↩

  14. Belcak, P., & Molchanov, P. (2025, August 29). Universal Deep Research: Bring Your Own Model and Strategy [Preprint]. arXiv:2509.00244, v1. Full text. ↩ ↩2 ↩3 ↩4

  15. Griff, M., Sacoransky, D., & Nefsky, N. (2025, November 24). Building Deep Research: How we Achieved State of the Art [Blog post]. Retrieved from Tavily on Hugging Face. ↩ ↩2 ↩3 ↩4

  16. Qadri, S. (2025, September 10). Building a Deep Research Agent Using MCP-Agent [Blog post]. Retrieved from AI Alliance. ↩ ↩2 ↩3 ↩4

  17. OpenAI. (n.d.). Responses API: Create a response — Python reference [API documentation]. Retrieved November 6, 2026, from OpenAI Developers. Parameter definitions for max_output_tokens and max_tool_calls. ↩

  18. Google. (n.d.). 谷歌 + What is the underlying mechanism behind Deep Research [AI Overview]. Search query. User-supplied snapshot collected in November 2025; used to frame questions and examine generalizations. The link may not reproduce the snapshot. ↩

  19. Google. (n.d.). 谷歌 + How does to build deep research [AI Overview]. Search query. User-supplied snapshot collected in November 2025; used as an implementation-topic checklist, not as evidence for vendor internals. ↩

© 2025 borui. All rights reserved. This content may be freely reproduced, displayed, modified, or distributed with proper attribution to borui and a link to the article: borui (2025-11-24). How Deep Research Works and How Its Architecture Evolved. https://caiborui.com/blog/2025-11-24-en-how-deep-research-works

@misc{borui2025-29cfd011,
  author = {borui},
  title = {{How Deep Research Works and How Its Architecture Evolved}},
  year = {2025},
  publisher = {borui's blog},
  url = {https://caiborui.com/blog/2025-11-24-en-how-deep-research-works}
}