Skip to content

Interview question · Agentic System Design

Design a deep research agent that writes a cited report.

The hard part is not finding pages; it is making every sentence in the report traceable to a source that actually says it, at a cost and time the user accepts.

hardEssentialNewUpdated Nov 2026

TL;DR: A lead agent clarifies the question and plans sub-questions; parallel workers search and read in their own contexts and return structured claims, each with a quote and source; the harness validates quotes against fetched text; the lead resolves conflicts, verifies decisive claims against primary sources, and writes a report where every factual sentence cites claims that passed verification; a final citation check removes or flags anything unsupported. Budgets cap workers, rounds and spend; the user sees progress and can stop early. Quality is measured on citation precision, coverage and expert ratings.

How to approach it

Pin down what a good report is (coverage, accuracy, citations a reader can check), then design for verifiable claims from search to final text, with costs and latency explicit.

A strong answer

Clarify. Users are analysts; reports of 2,000 to 4,000 words; minutes are acceptable, hours are not; wrong citations destroy trust.

Architecture.

  1. Scope: the lead restates the question, proposes sub-questions and asks the user to confirm when the task is large.
  2. Workers: one per sub-question (3 to 8), each with a brief (scope, sources standard, time range, output schema), its own context, search and fetch tools, and a step budget.
  3. Claims, not prose: workers return claims as {text, quote, url, retrieved_at, source_type}.
  4. Quote check: the harness confirms each quote appears in the fetched page text; claims that fail are dropped.
  5. Synthesis: the lead groups claims, resolves conflicts (authority, recency, targeted re-check), and verifies decisive claims against primary sources.
  6. Writing: every factual sentence carries claim ids; the renderer turns them into citations.
  7. Final check: each cited sentence is compared with its claims; unsupported sentences are removed or rewritten as stated uncertainty.
def quote_supported(claim, page_text):
    q = " ".join(claim["quote"].split()).lower()
    return q in " ".join(page_text.split()).lower()

page = "The plant's annual output reached 1.2 million units in 2025, the company said."
claims = [{"id": "c1", "quote": "annual output reached 1.2 million units in 2025"},
          {"id": "c2", "quote": "output doubled to 2.4 million units"}]
print([c["id"] for c in claims if quote_supported(c, page)])  # => ['c1']

A claim whose quote is not in the page it cites never reaches the report.

Budgets and progress. Caps on workers, rounds (two), steps per worker and total spend; progress shown as sub-questions completed; the user can stop and receive a report from what exists.

Evaluation. Citation precision (cited sentences supported by their sources, checked by people on samples and by an automatic checker calibrated against them), coverage of a reference list of key points per question, expert ratings, cost and time per report.

Numbers. Five workers at around 400,000 input tokens each plus the lead's synthesis is a couple of million tokens per report; caching and trimming fetched pages matter more than model choice.

What interviewers probe next

"Why not let one agent do it?" For broad questions, isolated workers read far more without polluting one context, and run in parallel. For narrow questions, the lead uses one worker or none.

"Paywalled or conflicting sources?" Record that a source was inaccessible; present conflicts with both sources rather than choosing silently.

"How do you stop citation laundering through blogs that copy each other?" Origin tracking: claims count as confirmed only when supported by independent origins or a primary source.

What if?

What if · interview follow-ups

Hold your answer as the constraints change

Your research agent returns claims with quotes and checks every citation.

  1. Start here

    What if the quote check fails on a third of claims for one site?

How it's scored

Weak: One agent searches and writes, adding links at the end.

Hire: Orchestrator and workers with sources per claim and a final citation pass.

Strong Hire: Clarifies quality, scopes with the user, uses briefs and structured quoted claims, checks quotes against fetched text, resolves conflicts and verifies decisive claims, binds every sentence to claims, applies budgets and early stop, and evaluates citation precision and coverage.

Common mistakes

  • Citations attached after writing.
  • Trusting quotes without checking them against the page.
  • Counting copies of one source as confirmation.
  • No budget, so broad questions run for hours.
You just read a free answer. Every topic opens its first 5 answers to anyone. Sign in and the count per topic goes to 6, and the site remembers where you stopped in each one.Google sign-in · free · no payment details
HOW DID IT GO?
0
READING SIGNED OUT

Signing in raises your free answers from 5 to 6 per topic, adds an applied lesson in every topic and easy practice tests, and the site starts remembering you: mastery per topic, bookmarks, and a next-focus recommendation. Free, no card.

Sign in free
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.