How Sterling's data stack works
Our agents are only as good as what they read, so we own every step from vendor feed to agent context.
We treat the market as a data compression problem: millions of ticks, stories and filings a day must become the few facts an agent needs for the decision in front of it. Specialists choose the data, we host all of it ourselves, refine it in bronze, silver and gold layers, add a layer of synthetic research on top, and watch every hop.
Curation comes first
We decide what is worth onboarding before we write any code. Domain specialists make that call, because they know what a dataset can and cannot measure. Every source follows the same path: identify a gap, probe the live data for coverage and outliers, engineer the pull, map it to securities, put it under contract, then serve it.
The judgment stays attached to the data. Each dataset and ticker pair carries curated notes on what it measures well and where it breaks. Card spend is a good example: it tracks total brand demand, so it cannot settle a same-store sales question for a chain that keeps opening stores. Our agents read those notes before they use the data.
Everything lives in our own databases
Every dataset is onboarded natively. We license or collect it, land it in stores we run (S3, Databricks, ClickHouse, Postgres and MongoDB) and serve it from there. No agent calls a vendor's MCP connector or API when it answers a question; live web search is the one last resort.
That choice buys three things:
- Speed. Last-price reads take under a millisecond, and we target under 10 seconds from a market trigger to an alert.
- Reliability. No outside rate limit or outage sits between an agent and its data. A crashed writer loses nothing, because every write can be replayed.
- Cost. Data arrives clean, so agents spend no tokens fixing it, and our gateway narrows 144 tools to about 10 per turn.
Four kinds of data, plus one we make
We class every dataset as market, media, fundamental or alternative. A fifth class, synthetic data, is written by our own agents.
| Class | What it holds | Examples | How it arrives |
|---|---|---|---|
| Market | Prices, order books, trades, reference data | NYSE, Nasdaq, OPRA, CME futures, Kalshi, Polymarket | Streamed, in milliseconds |
| Media | News, social, calls, interviews, letters | LSEG newswire, X, live earnings-call audio, podcasts, expert interviews | Live streams, archives in batches |
| Fundamental | What companies report and what the Street expects | Visible Alpha consensus, Company Fundamentals, SEC filings, FRED | Webhooks and scheduled pulls |
| Alternative | Real-world signals, measured before they print | Card spend, foot traffic, flights, GPU prices, grid load, 35 web scrapers | Batches, checked every 10 minutes |
| Synthetic | Research our agents write | Market briefs, theses, price targets, key debates, trade ideas | Published back onto the same bus |
Bronze, silver, gold
Batch data moves through three layers.
- Bronze keeps each delivery raw, exactly as it arrived, so we can replay it.
- Silver cleans it, maps it to securities, and computes fiscal calendars, growth rates and KPIs one way everywhere. Text is chunked, embedded and tied to tickers.
- Gold holds query-ready tables, stored as they were known at each point in time. An agent testing an idea on last March sees only what was known last March.
Between silver and gold, a data-quality contract checks every run for nulls, duplicates and broken taxonomy. A bad pull is quarantined, never promoted. Our MCP server's 144 typed tools sit on top of gold.
Synthetic data: agents that write new data
The fifth class is the one no vendor sells. We spend about $5 per public company per day on agents that read gold and write new data back. They write market briefs through the day, investment theses, verified price targets, each company's open bull and bear debates, trade ideas and news narratives.
Scout agents hunt for new uses of alternative data. A scout finds a market question worth answering, such as a turn in weekly card spend, then asks whether our data can actually measure it. A judge model reads the specialists' notes and drops any question the data cannot settle. Questions that pass are corroborated, then a designer agent writes a cookbook: a recipe of whitelisted tools in which the tools, not the model, do the math. A specialist approves or rejects each draft, and a rejected idea stays shelved until the evidence changes.
Nothing ships unchecked. An auditor model checks each market brief against the market state and sends it back when it is wrong. Every output then goes to its own Kafka topic, so synthetic data joins the same stream as the raw feeds.
Event driven, and kept current
Nothing waits for a nightly job. Market data streams onto Kafka the moment it prints, across more than 200 topics, and idempotent writers persist it. Batch sources are checked every 10 minutes, and new data starts its own refinement job.
Detectors watch the streams for sharp price moves, unusual options and futures flow, and breaking news. A router merges overlapping signals into one trigger, which wakes only the agents subscribed to that kind of event.
This is where the compression happens. An agent never sees the firehose. It sees the events it chose, about 10 tools picked for the turn, briefs that already distill the session, and data as of the moment it is reasoning about. Two agents on the same stack can hold entirely different context, and we spend as much care curating that context as collecting the data.
Observability at every hop
Every hop reports its own health, through more than 200 monitors and 100 runbooks, all defined as code. We watch three layers:
- Infrastructure. A silent feed, a lagging consumer or a crashed writer each raises an alarm, and failed messages go to dead-letter topics.
- Data. Contracts run on every promotion, freshness is tracked per security, and monitors watch every scraper. When a series stops updating, agents see its true last data point, not a stale value posing as new.
- Models. Every model call is traced, auditors check what ships, evals cover what changes, and token budgets are metered per service.
Each alarm pages the owning team's on-call with its runbook attached, and priority-one incidents escalate to the CTO.
See the whole stack
The Sterling Data Stack blueprint walks through all of this in seven animated sheets, from sourcing to observability. Its counts were taken from our repositories on 5 November 2026.
Explore the data stack.
THE WHOLE STACK
Four classes of data enter on the left. Two speeds carry them through. Agents read what comes out, write new data and publish it back onto the bus. Every hop reports its own health.
Architecture snapshot · 5 November 2026. Animation illustrates the flow; it does not show live activity.