How Yahoo! Finance built research multi-agent systems with Gen AI (AWS re:Invent 2025, SPS321)

Rahul Ghosh, Vidya Sagar, Dipen Rughwani4 Dec 2025

Problem

Retail investors have to piece together prices, fundamentals, news and filings from separate places, while professionals have analyst teams and models. Yahoo Finance wants to give retail users clear, accurate answers to equity research questions. The data is mixed: tables (prices, financials, insider trades) and documents. Fiscal years do not match calendar years, and an answer changes the day after earnings. A single query takes 5 to 50 seconds, and the system must refuse investment advice.

Example from the article: "Have insiders sold Meta stock?" returns a table, and the agent adds a column such as transaction value that is not in the database.

Solution in brief

A supervisor agent routes each question to specialized subagents: tool-calling agents for financial and insider-transaction APIs, and RAG agents for SEC filings and news. The agent runs asynchronously behind a queue, with guardrails in front. Quality is measured by a hybrid scheme: humans score a small question set on a fixed rubric, and an AI judge is tuned until it matches them.

Questions this case answers
  • How to answer questions over a mix of structured tables and unstructured documents with an agent system whose answers must be accurate and bounded in scope
  • How to evaluate an open-ended LLM system at scale when ground-truth answers go stale and human raters are too slow to cover the query space
  • How to build a question answering system over prices, financials, filings and news that retail users can trust?
  • How to split an LLM assistant into a supervisor and specialized subagents without a bloated prompt?

Tools and methods

  • Supervisor agent with subagents — routes questions, keeps each toolset small
  • Amazon Bedrock (Agents, Knowledge Bases, Guardrails) — filings and news retrieval, input and output filtering
  • LangChain — tool-calling agents over APIs
  • AWS Lambda and Amazon SQS — asynchronous execution with capped concurrency
  • Terraform — guardrail deployment
  • LLM-as-a-judge with human calibration — scalable evaluation on three metrics
Continue reading — it's free

Google or a one-time email code. No password.