AI product buildersUpdated
Build a web research agent that cites its sources
Based on a real paid run of its steps,
Search snippets aren't sources. This flow has the agent open every page it cites and keep a claim only if the page says it. Our run checked 5 of 5 sources for $0.002: 4 opened with the agent's own web fetch, which is free, and 1 through a paid page reader.
Before you start: set up Orthogonal
Connect Orthogonal once, in the app you use. Eligible new accounts get a one-time $1 starter credit (phone check needed). If the prompt names a CSV and you use Claude chat, attach the file to the chat.
New to Orthogonal? Create an account.
On claude.ai or Claude Desktop, go to Plugins (or Customize → Connectors) → Add → Add custom connector. Enter the name Orthogonal and this URL:
Click Continue twice, choose Sign in now, then click Add. In a chat, turn it on from + → Plugins (or Connectors).
On Team or Enterprise, an owner adds it once under Organization settings → Connectors, then you click Connect. Free plans allow one custom connector.
An agent with a terminal can also set itself up from llms.txt. Other clients (ChatGPT, Codex): MCP setup docs.
Copy the flow
Why this prompt works
- Set a length and a source count
- “About 150 words with at least 4 cited source URLs” tells the agent when it's done.
- Make the agent open every source
- “Only keep a claim if the page says it” dropped a figure that appeared only in a search snippet.
- Plan for blocked pages
- “Read it through a scraping API” reads a page the agent can't open itself.
- Cap the spend
- Under $0.25 for the answer; our run cost $0.002.
How it works
- You connect Orthogonal once: a custom connector in Claude chat, or one command and a sign-in in Claude Code.
- The agent runs a web search for the question.
- It opens every page it plans to cite, through a scraping API when a site blocks plain fetches.
- It keeps a claim only if the page says it, and drops claims found only in search snippets.
- It writes the answer with a numbered source for each claim.
The real run (Nov 27, 2026)
The answer it wrote (first two sentences of 141 words): "x402 is an open payment protocol that revives the HTTP 402 "Payment Required" status code, so an AI agent can pay for an API call or web resource inside the same request, usually in stablecoins such as USDC [1]. Coinbase built it and in April 2026 contributed it to the Linux Foundation's x402 Foundation, which now governs it [2]."
Its five sources: [1] Decrypt, [2] wavect.io, [3] x402.org, [4] AWS and [5] Fireblocks. Source 2 is a secondary one for the April date.
What went wrong. A "12 chains" figure appeared in a search snippet but not on the page, so it was dropped. One site blocked the agent's plain fetch, and a page reader ($0.00016) read it. An agent without its own web fetch would pay for every page, about $0.0008 for five. The prompt above adds the line about blocked pages; it hasn't been run as worded.
Why use this flow
- Citations that actually say what's claimed. In our run all 5 sources checked out, and 1 claim found only in a search snippet was dropped.
- A second way to read a page. When the agent can't open a page itself, a page reader in the catalog can. Check the site's terms.
- Runs in your agent. Ask in Claude Code, Cursor or any agent; no separate research tool.
Cost comparison
Our numbers come from the real run above, on November 27, 2026.
FAQ
Exa vs Tavily vs a Google search API: which should a research agent use? All three are in Orthogonal's catalog behind one key: Serper's Google search costs $0.002 a call, Exa $0.01 and Tavily from $0.01 (prices checked November 30, 2026). Our Nov 27, 2026 test used Serper because it returns fresh, dated Google results. We didn't compare result quality across the three, so name the one you want in the prompt or let the agent pick by price.
How do I make an AI agent cite sources it actually read? Tell the agent to open every page it cites and keep a claim only if the page says it, as this prompt does. In our Nov 27, 2026 test with Orthogonal, all 5 cited sources loaded and supported their claims, and one claim found only in a search snippet was dropped.
What if the agent can't open a page? It can read the page through a page reader in Orthogonal's catalog. In our test one page refused a plain fetch, and Litescrape ($0.00016 a page) read it.
Why does a cited research answer cost so little? A Serper search is $0.002 and a page read is $0.00016. Our 141-word answer with 5 checked sources cost $0.002 on Nov 27, 2026, because the agent opened 4 of the 5 pages itself for free.
Can the research agent write longer reports? Raise the word count and the source count in the prompt and keep the rule that every claim needs a page that says it. Cost grows with the number of searches and pages read.
Which flow should we build next?
Tell us the job you want your agent to do. We're picking the next flows with customers. Share your idea
The form asks for your email and subscribes you to the Orthogonal newsletter.