name: Web Research description: Turn a question into cited evidence — search, open, grade and reconcile sources, then hand back digested notes. Use whenever facts must come from outside the codebase or the conversation: market or competitor research, standards and regulations, library or API behaviour, pricing, security advisories, "is this still true", or any claim that needs a source. Also use it to find the authoritative primary document behind a second-hand summary, or to check whether two sources actually disagree.
O que Web Research faz?
Research is not searching. Searching produces candidates; research produces an answer with provenance and a stated confidence. The difference is that every claim in the output can be traced to something you opened, and the reader is told what would change your mind.
Workflow
- Frame the question. Write it as one sentence with its boundary: date range, jurisdiction, version, audience. "EU AI Act obligations for credit scoring models, as of 2026" is researchable; "AI regulation" is not.
- Split it. Break it into sub-questions that are each answerable by one to three sources and that do not depend on another's answer. Three to seven is a workable range.
- Search wide, then narrow. Start with the vocabulary the field uses, not the
words the user used. See
references/search-strategy.md. - Open every candidate before citing it. A snippet is a promise, not evidence — and an LLM-summarised snippet is often a fluent distortion of the source.
- Grade before you trust. See
references/source-grading.md. The same claim from a regulator, a vendor, and a forum are three different claims. - Reconcile. Where sources disagree, record the disagreement rather than picking a winner silently. Explain which you find more credible and why.
- Return notes, not prose. The parent agent files them; your job is that the filing needs no further reading of the source.
Work in rounds
A real question rarely closes in one pass. Each round has four moves:
- Choose the open sub-questions whose answers would change the conclusion.
- Search and open, and digest into notes immediately — a round that ends with twenty unread tabs has produced nothing.
- Reconcile: what is settled, what is now contradicted, what new question appeared?
- Name the next search. If it is the query you just ran, you are done.
Ten rounds is a ceiling, not a target. Stop earlier when two consecutive rounds add no load-bearing evidence. A narrow question closes in two; a landscape review may use six. Record each round in the search log: queries that worked, what changed, what to search next, and the dead ends worth not repeating.
Budget the evidence
Two independent sources per load-bearing question, four maximum; 8–12 sources for a standard run. A third source is worth opening only when it contradicts, adds a number, or is more authoritative. Stop at the source budget and spend the remaining time writing the answer; an unfinished synthesis is worse than a slightly thinner evidence base.
If websearch is the first tool you use, run one health check before the round. If it
fails or returns nothing, switch to webfetch plus a search-engine HTML endpoint, record
the fallback and tell the parent. Do not retry a dead tool for a whole round.
Weighing several sources on one claim
One source is an anecdote, two are a signal, and two that share an origin are still one source. For every load-bearing claim, record all the sources you found and rank them:
- Grade — primary beats reputable secondary, which beats an interested party, which beats unverified community.
- Independence — trace each source one hop. Ten articles quoting one press release are one source; two analysts using one dataset are one source, twice.
- Recency or consolidation — the current version for a live product or price; the consolidated text for a law or standard. A 2019 page can be the best definition and the worst price.
- Method — the source that says how it counted beats the one that asserts.
Write the ranking into the note, not only the winner. "Confirmed by three independent sources" is a finding; "three sources" is not, if they all derive from the same place. Never average conflicting figures into a number no source published.
Parallelise when the questions are independent
If you are the main agent and there are three or more independent sub-questions,
delegate each to a web-researcher subagent. Cap each subagent at five opened sources.
Give each one the sub-question, the boundaries, and the output contract — they cannot see
this conversation. Merge their notes yourself; do not ask a subagent to synthesise across
others.
Do not fan out dependent questions ("what does X cost" then "is X cheaper than Y"). The coordination cost exceeds the context saving.
Note format
Return one block per sub-question:
## <sub-question>
**Answer.** <2-3 sentences, direct, with confidence high/medium/low>
| Claim | Source | Locator | Published | Grade | Confidence |
| ----- | ------ | ------- | --------- | ----- | ---------- |
| <specific claim> | <url> | <§ or heading or p.> | YYYY-MM | primary | high |
**Conflicts.** <where sources disagree and which is more credible>
**Gaps.** <what you could not establish, and what would settle it>
**Raw excerpt.** <the exact passage, under 120 words, with URL, access date and locator>
Rules for the table:
- One row per claim, not per source. Two claims from one page are two rows.
Locatoris where in the source the claim appears: a section, heading, paragraph or page. It is what lets the parent file the note without reopening the source.Gradeis one ofprimary,secondary,vendor,community,inference.inferencemeans you concluded it; give it no grade and no URL, and say what it is based on in the Conflicts/Gaps section.- Dates are publication or last-updated dates, never the access date alone. Record the access date separately if recency matters.
Hard rules
- Open the page. Never cite from a search result, a cached snippet, or another article's description of it.
- Two independent sources for anything load-bearing. Independence means different origin — ten articles quoting one press release are one source.
- Primary over commentary. Wikipedia, forums and vendor blogs may define a term or point to a source; they are not the sole source for a ratio, price, safety claim or legal obligation.
- Save the excerpt you cite. Return a raw excerpt with URL, access date and locator so
the parent can store it under
sources/raw/without re-fetching. - Numbers keep their context. Record the unit, the base, the year and the definition. A growth figure without its base is noise.
- Quote only when wording matters, under 25 words, with a locator (section, heading, paragraph).
- Record dead ends. "No public data exists on X" is a finding and it stops the next run from repeating the search.
- Never invent a URL, date, statistic, or quotation. If you cannot verify a detail, drop it or mark it unresolved.
- Say "not found". An honest gap is more useful than a confident guess, and it is the one error a reader cannot detect on their own.
Failure modes to watch for
| Symptom | What is actually happening |
|---|---|
| Five sources, identical wording | All quoting one press release or one blog post |
| Confident summary, no dates | Likely stale; check the current version of the product or law |
| Very relevant result from a content farm | SEO text written from other search results; find the primary source |
| A vendor page answering a comparison question | It is marketing with a comparison section |
| Statistics with no methodology | Usually circular reporting; treat as unverified |
| Sources that disagree on a definition | They are answering different questions; state both definitions |
Output discipline
Return the notes and stop. Do not append a summary of your process, a list of everything you read, or advice the user did not ask for. If the answer is "contested" or "insufficient evidence", lead with that sentence.