// 02The Pipeline
Six stages, run in order, streamed live.
WARREN is built on the AGENT X pipeline pattern — the same operating shape as Claude Code, with the agent's reasoning streamed to the operator over a live event channel. The pipeline runs the same way every scan; the inputs (universe, prefilter thresholds, model selection) are configurable.
// STAGE 01 · UNIVERSE
Load the ticker set
S&P 500 + Nasdaq-100 constituents loaded from the index sources, deduplicated to ~580 unique tickers. Cached for a week to avoid hammering the source. Universe is configurable for private deployments — Russell, FTSE, MSCI sub-sets, or any custom list.
~580 Tickers · 1-Week Cache
// STAGE 02 · SNAPSHOT
Pull fundamentals + price
For every ticker in the universe: trailing and forward P/E, P/B, EV/EBIT, FCF yield, debt-to-equity, PEG, market cap, 90-day average volume, distance from 52-week high, dividend yield, current price. Parallel fetch, 12 workers. Snapshot cached for 6 hours so repeat scans don't repeat the slow step.
Parallel Fetch · 6h Cache
// STAGE 03 · QUANT GATE
Rules-based pre-filter
Before any LLM call: drop the obviously expensive, illiquid, or over-levered names using a configurable rule set. A ticker passes the gate if it satisfies at least N of: P/E < 18, fwd P/E < 16, P/B < 3.0, FCF yield > 5%, EV/EBIT < 14, D/E < 1.5, PEG < 1.5, ≤85% of 52w high, dividend yield > 2%. The defaults are tuned for value-orientation; thresholds are configurable.
No LLM Spend on Obvious Losers
// STAGE 04 · RANKER
Score 1–10 with a written reason
Survivors of the gate go to a Claude Haiku ranker in batches of 25. Each ticker gets a numeric score (1–10) on "warren-worthiness" — undervalued, mispriced, structurally cheap — and a one-paragraph reason. Speed: full ranker pass in under 60 seconds on a typical scan.
Claude Haiku · Sub-Minute Pass
// STAGE 05 · ANALYST
Deep thesis on the top ten
The top-N (default 10) by ranker score graduate to a Claude Opus analyst. Each name receives a full thesis: bull case, bear case, what would change my mind, catalysts, risks. Output is the analyst-grade research artifact — not a buy/sell signal. Every scan package includes the full Opus deep-dive on the top ten — no per-thesis add-on, no upsell.
Claude Opus · Full Thesis · Per Name
// STAGE 06 · STREAM
Live to the operator console
Every event — universe loaded, snapshot fetched, ticker passed, ticker scored, thesis written — streams to the operator console over a server-sent event channel. The investor watches the agent reason and can pause, drill in, or kick a re-scan. Live soon at WarrenTrades.com.
SSE Stream · Operator-First