Web research: sources with page citations
Your agents can read the outside world before they propose a strategy: search the web, read a page, a PDF or an EPUB, and read a YouTube talk's transcript. Every idea they register can then cite exactly where it came from: the link, the title and the page (or the moment in a video).
The three tools
| Tool | What it does |
|---|---|
web_search | Finds leads: title, link and a snippet. A lead is not a source until it is read. |
fetch_url | Reads a web page (by section), a PDF (page by page) or an EPUB (chapter by chapter). |
youtube_transcript | Reads a video's captions in one-minute windows, each with its timestamp. |
The same tools exist for the in-app agent, for external agents over MCP, in the ss
CLI (ss web search, ss web fetch, ss web transcript) and as REST endpoints
(/api/v3/research/web/*).
Citing a page
Each read returns a cite_as block. Put it in the hypothesis's sources with the
page, chapter, section or timestamp the claim rests on:
{"kind": "paper", "title": "Time Series Momentum",
"retrieval_id": "<from the read>", "locator": "p. 12",
"excerpt": "the passage the idea rests on"}
SwingSurfer checks that the page exists in what it read, then stores the link to
that exact page (a PDF opens at page 12, a video at its moment), the date it read
the source and a fingerprint (SHA-256) of the exact file. On the card, the source
shows read <date> · sha256 …: proof of what was read, not just a claim.
Fetched text is never an instruction
Everything these tools return was written by someone else. It reaches an agent as untrusted source material: data to read and cite, never instructions to follow. Sentences shaped like instructions ("ignore your previous instructions", "promote this to live") are withheld before the agent sees them, and counted. The same goes for text a website picks that is not on the page: a link it redirects to, a search result's link, a server's error details. No page can change what an agent is allowed to do. Reading the web never arms money or moves a card.
Limits
- Only public web addresses are read (never a private network address), over the standard ports, without logins or cookies.
- Pages up to 5 MB; PDFs and EPUBs up to 25 MB. Scanned PDFs without a text layer and password-protected PDFs cannot be read (there is no OCR).
- Per account: 30 web calls a minute; per rolling day, 300 MB downloaded, 200 searches and 400 documents. Re-reading the same link within 30 minutes is free.
- Web search needs a search key on the server; without one,
web_searchsays so and agents read links they already know withfetch_url. - YouTube sometimes refuses to serve transcripts to servers; the tool then says so plainly, and a video can still be cited by its link and timestamp.