← Back to blog
• Agents

Deep Research as an orchestrated research workflow

Ruslan Dudov

Product manager

Deep Research is often described as "an LLM with web search". But if a system simply runs a few search queries, reads part of the results, and writes an answer, it misses several important aspects without which real research is impossible.

In genuine deep research, besides access to up-to-date sources, the research process itself matters: understanding the original question, not losing the constraints, breaking the task into verifiable parts, building an evidence base, separating the facts found from the model's conclusions, recording the gaps, and assembling the final report.

In this article, we describe how we built a B2C Deep Research system on top of an instruct model (GigaChat Ultra 3.1), where the model performs well-specified tasks and the research logic is implemented as a pipeline of roles, completion criteria, search loops, and gradual accumulation of citation-backed context. This way, Deep Research goes beyond a set of prompts with access to web sources to become an orchestrated research workflow.

In the reasoning-first approach, an autonomous agent holds the strategy; in the instruct-first workflow, the strategy is moved into an orchestrated research process.

In the reasoning-first approach, an autonomous agent holds the strategy; in the instruct-first workflow, the strategy is moved into an orchestrated research process.

Why a regular LLM with web search isn't enough

A regular LLM answer without external search works well when the model's general knowledge is enough. But for research queries that's not enough: facts may be outdated, details may be disputed, and the user often asks to "find, compare, verify, and draw a conclusion" instead of asking to "explain the topic."

A simple LLM + web search combo adds sources, but by itself it doesn't solve the research task. It often works as a single-step scheme:

  1. Generate a few search queries.
  2. Read part of the results.
  3. Write the final answer right away.

This approach quickly breaks down on multi-step questions. It may answer a neighboring question, grab the first convenient source, skip checking alternatives, mix a fact from a source with the model's guess, or sound confident where the data is insufficient.

For B2C Deep Research, that's not enough. A user can ask anything: a precise fact, a product comparison, a historical reconstruction, a technical choice, a market overview, a hypothesis check, an analysis of a controversial topic. So, the system has to be able to both search and to steer the course of the research.

A good Deep Research system should:

  • answer exactly the original question, not a conveniently similar wording;
  • base its conclusions on the sources found, not on the model's free-form knowledge;
  • track which parts of the task are done and which are to be dealt with;
  • distinguish facts, interpretations, contradictions, and limitations;
  • carry results between stages without losing context;
  • assemble the final answer as a readable research document, not a raw archive of notes.

A map of approaches

Many Deep Research systems rely on a strong reasoning model that plans the research and writes the answer on its own. We took a different path: we made the research an explicit process with narrow roles, verifiable DoDs, a pipeline with stages, memory, and final assembly. The model reasons locally, while convergence and reproducibility are ensured by the loop, not by one long agentic prompt.

To position the system properly, it's useful to compare classes of architectures, not individual products.

ApproachHow it worksAdvantagesLimitation for our task
Single-step LLM + web searchThe system finds a few sources and writes the answer right awayFast and relatively cheapStruggles with multi-step tasks, contradictions, and open questions
Open-source research agentAn LLM with a set of tools chooses its own research trajectoryFlexibility, less hand-built architectureIn an instruct workflow, it too easily drifts, repeats itself, or jumps to conclusions
Multi-agent reasoningSeveral agents split the task, coordinate, and return resultsFits strong reasoning models wellRequires the LLM to plan and coordinate autonomously and reliably
Rigid scripted pipelineAll stages are predefined in a fixed orderControl and reproducibilityAdapts poorly to diverse B2C queries
Our research workflowA shared plan of needs and completion criteria, local ReAct loops, reports, transfer, answer assemblyA balance of control and adaptability for an instruct modelRequires careful contracts between stages and discipline in handling context

The table compares approaches, not specific implementations. Deep research based on multi-agent reasoning is clearly visible in OpenAI Deep Research, Gemini Deep Research, and Perplexity Deep Research. The open-source track is represented by projects such as Open Deep Research and GPT Researcher. STORM-like approaches also deserve a mention: they focus on preparing structure and writing long, source-backed texts, not just on finding an answer.

We chose a middle ground between a fully free agent and a rigid script by building the research skeleton up front, while keeping local adaptability inside each block.

This structure is especially important for B2C: user questions are too diverse to cover with a single template. But with an instruct model, it's too risky to hand the whole process over to a free agent without control.

How we arrived at this architecture

The initial baseline was built on an open-source research agent. It could search, read sources, and write an answer, but the quality wasn't good enough. This was especially visible on benchmarks: the system held a multi-step strategy inconsistently, controlled research completeness poorly, and didn't always understand when a local task was actually completed.

Directly transferring reasoning-first ideas didn't work: with an overly free agent, drift grows, causing a wrong next step, repeated searches, and premature conclusions.

The main conclusion is this:

Deep research is an agentic task, but agency can be split between the model and the pipeline. The model should perform local intellectual operations, while the pipeline should ensure that the research process as a whole converges.

This gave rise to an architecture built on several principles:

  • Start by drafting an overall plan to set a predictable trajectory.
  • Large needs should be separated from verifiable completion criteria, so the model doesn't confuse a semantic block with a completion criterion.
  • Use ReAct locally, within a single completion criterion, preventing topic drift.
  • The results of each local task should be recorded in a report.
  • Context should be carried in layers, not as one growing prompt.
  • Write the final answer in a separate pipeline, not directly from the raw research archive.
  • Citations should be placed next to the facts, so that the link between a statement and its source isn't lost when moving between stages.

The pipeline at a glance

The overall pipeline: problem statement, research plan, work through the plan items, and separate assembly of the final answer.

The overall pipeline: problem statement, research plan, work through the plan items, and separate assembly of the final answer.

At a higher tier, the system goes through the following path:

User request
→ Brief
→ Scout
→ Needs + DoD plan
→ A research loop for each DoD
→ DoD Reports
→ Need Report / Need Transfer
→ Answer Planner
→ Section Writers
→ Final Answer

Brief pins down the question, Scout gathers quick context on the research topic; then, needs and completion criteria are formed and local loops with reports are launched. After each need comes a Need Transfer into the context of the following stages. At the end, a separate pipeline assembles the final document.

The key feature: the final answer isn't written right away. First the system builds an evidence base, and only then turns it into user-facing text.

Brief: understanding the original task

Brief is the standard problem statement for the whole research. It separates the question itself from the constraints, answer format, language, and additional conditions.

This is needed so that subsequent searches can't lead the system astray. If the user asks "which company was the first after 2020 to do X", the task can't be turned into "list companies that did X". If the user asks to compare tooling for a five-person team, the system can't write an abstract market overview that ignores the small team.

At the Brief stage, it's important to preserve:

  • entities, dates, geography, and constraints
  • the type of expected result
  • the level of detail
  • the language of the final answer
  • negative conditions such as "don't include", "only after", "excluding."

The aim of Brief is to make sure all subsequent stages solve exactly the original task.

Scout: reconnaissance before planning

Scout is needed so that the plan isn't drawn up blindly, but based on quick context on the research topic: which terms come up, which sources might be useful, where the topic is potentially controversial, and which directions mustn't be lost.

Scout helps be versed in the topic, but it shouldn't turn into a standalone research effort or replace the future plan.

Needs and DoD: a verifiable research plan

After Brief and Scout, the system builds a list of large research needs, i.e. semantic blocks that must be closed to answer the user.

For example, for the query:

"Compare Kubernetes, Docker Swarm, and Nomad for a 5-person startup"

the plan might include the following needs:

  • architecture and operational complexity
  • scaling and reliability
  • ecosystem and production readiness
  • a practical recommendation for a small team.

But needs alone aren’t enough. A wording like "study the architecture and operations" is still too broad. So within each need, verifiable completion criteria are created (DoD, Definition of Done).

For the first need, it might look like this:

Completion criterionWhat needs to be closed
1Compare the basic architecture of Kubernetes, Docker Swarm, and Nomad
2Assess the complexity of initial setup
3Assess team requirements and production support

Separating needs from completion criteria gives control. The need is responsible for meaning, the completion criteria for verifiability. Instead of a vague instruction like "research operations", the model gets a specific local criterion: what exactly needs to be found out, compared, or confirmed.

The local ReAct loop

Each completion criterion is executed through a local ReAct loop. This is the place where the system still has agency, but it's limited to a specific subtask.

Within a single completion criterion, the loop looks like this:

Current DoD → Planner → Tools → Extractor → Analyzer / Reflector → Validator → Continue or Stop → DoD Report

The local ReAct loop: instead of solving the whole task at once, the model addresses one verifiable plan item.

The local ReAct loop: instead of solving the whole task at once, the model addresses one verifiable plan item.

Planner chooses the next useful step. It shouldn't "think about the whole research"; its job is to close the current gap of the current completion criterion. That might be a search query, opening a source, refining the direction, or declining to repeat a useless action.

Tools perform the action and return materialized artifacts: search results, cleaned page text, a computation result, or another data source.

Extractor turns raw tool output into an evidence base. It pulls out facts, numbers, wording, constraints, and citations. It doesn't write the final answer, but it separates useful material from source junk.

Analyzer or Reflector assesses what has changed. Did a new fact appear? Is it confirmation of something already known or real progress? Is there a contradiction? Which gap remains the main one?

Validator decides what to do with the loop. If there's enough data, the criterion is closed. If there's progress but still too little data, the loop continues. If the search is going in circles, the criterion can be stopped as open, so the system doesn't waste its budget on endless repetition.

Thanks to these guardrails, ReAct becomes a controlled local research mechanism.

Why the roles are separated

At first glance there are a lot of roles, but each performs a specific type of work, which keeps the model from getting confused by context.

RoleWhy it's needed
BriefHolds on to the user's original intent
ScoutProvides initial orientation before planning
Needs GeneratorBuilds the research skeleton
PlannerTurns the current gap into a specific tool call
ExtractorCleans tool output and extracts facts and evidence
Analyzer / ReflectorUnderstands progress, conflicts, and remaining gaps
ValidatorControls when the local loop stops
DoD ReportRecords the local result
Need TransferCompresses the outcome of a need and passes it into the context of the following stages
Answer PlannerBuilds the structure of the final answer
Section WriterWrites a separate part of the answer using the generated materials

If you merge everything into a single "research and write" role, the task becomes too broad for the model. Separating roles narrows each call and makes the pipeline more predictable.

Context as a series of transferable states

Deep research quickly bloats the context. A single research run may involve dozens of search queries, opened pages, extracted facts, contradictions, local conclusions, and intermediate plans. If the context isn't specially prepared for handoff to the next stage, the prompt gets heavy and the model gets worse at telling the essential from the secondary.

This is why the context in the system is organized in layers.

DoD Trace holds the live memory of the current local loop: what has been tried, what was found, what didn't work, which signals were spotted.

DoD Report records the outcome of one completed criterion: facts found, conclusions, limitations, open questions, and citations.

Need Report collects the results of all completion criteria within one need.

Need Transfer creates a compact artifact for handoff: what's already established, how it affects the next steps, what remains unclear, and what mustn't be forgotten. The pipeline stores the Need Transfer as an artifact and mixes it into the prompts of subsequent model calls — both in the research loop (the following needs and local DoD loops: planner, extractor, validator, etc.) and in the answer assembly pipeline (Answer Planner, Section Writer). The raw trace and the full Need Report are not included in prompts, only the compressed block goes there. The accumulated handoff artifacts form the Need Trace.

The context for final answer assembly is built mainly from all the Need Transfers and, when needed, from individual DoD Reports.

This way, the system doesn't live in one uncontrollably growing context, but carries its state through specialized memory layers. Each layer is responsible for its own level of detail.

This also matters for quality control of the pipeline: if a fact, conflict, or limitation gets lost when moving between layers, you can notice it and fix exactly the handoff link where the loss occurred.

Citations as an essential part of the text

One of the hidden problems of deep research is carrying sources along. A valuable fact appears in the Extractor, then gets into the DoD Report, then the Need Transfer, then the final answer assembly context, and finally the final report. If the source lives separately from the text, the "statement — source" link is easily lost.

That is why citations live right next to the fact in a compact technical format:

Kubernetes requires higher operational maturity for a production environment [@A12#3].

What matters technically here is the artifact_id and, if needed, the index of the element within the artifact. The human-readable formatting of the source happens later, at the user interface level.

This approach has several advantages:

  • the fact and the source pass through the pipeline together;
  • the model doesn't need to remember the full URL or source object;
  • citations can be carried through intermediate reports and artifacts;
  • the final layer can restore links after the answer has been written;
  • the same format works for the web, files, computations, and other tools.

Importantly, citations let the system present the report to the user in the format common for research papers and they are an important mechanism for preserving the evidential link between statements and sources.

A separate pipeline for assembling the final answer

Even strong research can be ruined by a weak presentation of the final answer. If the user gets a chaotic patchwork of local reports, they don't get a full picture of the topic, trust in the result drops, and the overall value of the research goes down.

That's why the answer preparation pipeline is separate from the research pipeline itself.

Once research is complete, the system doesn't write the answer directly from raw Need Reports. First, the answer preparation pipeline selects the material that actually matches the user's request. Then the Answer Planner builds an answer plan: which sections are needed, in what order to lay out the arguments, where to give a direct conclusion, and where to explain limitations.

After that, the Section Writer writes the answer piece by piece. This reduces the risk that a large document falls apart in one long model call. Each section relies on the citation-backed context prepared during research, not on the model's free-form knowledge.

The main principle:

The final answer should be a finished form of research already carried out, ready for presentation to the user, not just a collection of facts and model reasoning.

An end-to-end example

Let's take the query:

Compare Kubernetes, Docker Swarm, and Nomad for a 5-person startup.

Brief

The system records:

  • the user wants a practical comparison, not an abstract overview of orchestrators;
  • the context of a small team matters;
  • operational complexity, production readiness, support, risks, and a final recommendation must be taken into account;
  • the answer should be structured and actionable for making a choice.

Needs

The research plan might look like this:

NeedWhy it's needed
Architecture and operational complexityUnderstand how hard each system is to launch and maintain
Scaling and reliabilityCompare production behavior and fault tolerance
Ecosystem and supportAssess documentation, community, managed services, compatibility
Practical recommendationDraw a conclusion specifically for a five-person startup

Completion criteria within the first need

Completion criterionVerifiable condition
1Compare the basic architecture of Kubernetes, Docker Swarm, and Nomad
2Assess the complexity of initial setup
3Assess team requirements and production support

One research iteration

For the second completion criterion, the Planner might choose to search the official documentation and practical materials on setup complexity. The tool returns several artifacts. The Extractor pulls out only what relates to initial setup: which components are needed, how much manual configuration is involved, whether managed options exist, and what the typical operator requirements are.

A sample fragment of the evidence base might look like the one below. The artifact numbers here are illustrative: they show how sources are carried along, rather than referring to real documents from this text.

Kubernetes offers the richest ecosystem but requires more operational setup and an understanding of the control plane, networking, and storage [@A12#2]. Docker Swarm is easier for a small team to launch but has a more limited ecosystem and fewer modern production practices [@A15]. Nomad is architecturally simpler but requires a separate assessment of the HashiCorp stack and integrations [@A18#4].

Completion criterion report

After closing the local task, the system writes a compact report:

DoD: assess the complexity of initial setup.

Status: CLOSED.

Finding: Kubernetes is the most feature-rich but requires more operational maturity. Docker Swarm is easier to get started with but weaker as a long-term production setup. Nomad sits in between: a simpler core, but the integrations and the surrounding stack matter.

Limits: the final recommendation must account not only for setup but also for support, the ecosystem, and future growth.

Citations: [@A12#2], [@A15], [@A18#4].

Need transfer

After the whole need is complete, what goes to the next layer is not the full trace but a transferable summary:

For a small team, operational complexity becomes the key factor. Kubernetes may be overkill without a managed platform or strong DevOps expertise. Docker Swarm is simpler but may limit growth. Nomad requires a separate compatibility check with the ecosystem.

This block will go into the context of the following needs (for example, when comparing ecosystems) and later into the final answer assembly pipeline.

The final answer

The answer assembly pipeline no longer repeats the internal structure of needs and completion criteria; instead, it assembles a document from the collected material following a clear narrative logic:

  1. A short conclusion.
  2. A comparison table.
  3. Risks for a small team.
  4. When to choose Kubernetes, Docker Swarm, or Nomad.
  5. The final recommendation.

This way, the internal plan remains a research tool, and the final answer becomes a convenient report for the user.

Safeguards against typical failures

In deep research, it's important to find good sources but also to keep the system from quietly breaking. So the pipeline has several layers of protection.

Protection against losing the question

The Brief preserves the original constraints, and the Answer Planner brings the final answer back to the user's task. This reduces the risk that the system researches a similar but different topic.

Protection against free drift

The plan of needs and completion criteria sets the research skeleton. The model can adapt within a criterion, but it shouldn't reinvent the whole plan every time.

Protection against repetition and stagnation

The Analyzer and Validator distinguish real progress from repeating what's already been found. If the search goes in circles, the completion criterion can be stopped as open, recording a limitation instead of continuing endlessly.

Protection against losing context

Traces, intermediate reports, and handoff artifacts let us carry results rather than the full raw archive. This reduces the risk of quality degradation due to a ballooning prompt and localizes information loss.

Protection against facts drifting away from sources

Citations travel together with the facts. The final answer shouldn't invent sources anew or refer to anything that wasn't in the collected evidence base.

Protection against weak final presentation

The answer assembly pipeline is separately responsible for turning the research archive into a readable document. This matters because users judge not so much the internal quality of the research as the final answer.

Results

We tested the architecture on two types of benchmarks:

  • SEAL-Hard tests the accuracy of multi-step fact-finding search. In this benchmark, what matters is getting to a specific answer without losing the conditions of the question.
  • Deep Research Bench (RACE) is closer to long, research-style user queries. It tests not only the accuracy of individual facts but also the ability to assemble a detailed answer.

The main comparison: how much the new workflow on GigaChat Ultra 3.1 outperforms the baseline. To check how choosing a different strong model affects research quality, we ran the same pipeline on GPT-4.1 as an external instruct reference point.

VersionSEAL-HardDeep Research Bench
Old giga-researcher6.30%0.2435
New Deep Research (GigaChat Ultra 3.1)23.23%0.4068
The same pipeline on GPT-4.116.14%0.3588

The values in the two columns can't be compared with each other: they come from different benchmarks with different scales.

Conclusion: the new research pipeline significantly improved quality compared to the old baseline. Comparing the same pipeline on Ultra 3.1 and on GPT-4.1 confirms that the architecture and context handoff have a visible effect even against strong instruct models.

Interpreting the results

It's important to be clear about the limits of these results.

These benchmarks do not show that an instruct model with our pipeline delivers the best results among all deep research solutions. We understood the model's limitations from the start and worked on improving the result specifically with its characteristics in mind.

The results do not prove that our approach — giving the agent freedom in planning but constraining the scope of local decisions — is always better than a free agent. With a strong reasoning model, a free agent can be very effective. But for our model, this approach delivered a substantial quality improvement, while giving it more freedom didn't achieve the desired results.

We also cannot claim that quality grows solely thanks to the research algorithm. Other factors must be taken into account too: search quality, source selection, SEO junk filtering, data freshness, contradictions on the internet, and the cost and duration of deep research.

What the results do show:

  • It's impossible to get a substantial quality improvement by developing the old baseline, which gives the model more freedom of decision.
  • Fixing the logic of the research workflow made it possible to improve quality substantially.
  • Separating roles, completion criteria, reports, artifact handoffs, and a dedicated final answer assembly pipeline delivered the required practical effect.
  • With an instruct-first approach, it makes sense to build deep research as a pipeline rather than as one big agentic prompt.

Why this approach stays useful

A stronger model will improve individual roles, but it will still need a problem statement, verifiable completion criteria, citation handling, artifact handoff between stages, and a separate answer assembly pipeline. A suitable pipeline compensates for the quirks of an instruct model and makes the research observable. A strong model with an unsuitable research approach can lose a source or drift away from the question.

Limitations and next steps

The system has clear directions for further development.

The first line of work is the quality of the search layer. If the results contain lots of SEO junk or weak rewrites, the model spends its budget on filtering and may miss a high-quality source. So the next step is to rank sources better by primacy, reputation, date, relevance to the question, and signs of generated content.

The second line of work is the source-opening strategy. For complex fact-finding tasks, it's crucial not to stop at search results, but to open pages, check early data, and compare several independent sources.

The third line of work is context compression and handoff. The longer the research, the more important it is not to lose early facts, contradictions, and citations when moving between DoD Trace, DoD Report, Need Transfer, and the material set for final answer assembly.

The fourth track is training the model on its own trajectories. Since the pipeline already logs the inputs and outputs of each stage, we can collect data to improve the local roles: planner, extractor, validator, section writer.

The fifth track is using stronger models in individual roles. The architecture doesn't rule out reasoning models. On the contrary, it lets you place a stronger model precisely where it gives the biggest payoff: planning, verification, contradiction analysis, and the final answer structure.