HorizonDB
A financial research database that keeps track of what it knows, where each figure came from, and what it believed before the latest filing.
- Problem
- Research databases overwrite history. When a company restates a figure, the old value disappears, and nobody can answer what the data said at a given point in time, or notice on their own that something has gone stale.
- Built
- An append-only, provenance-first store for a focused set of companies, with a small controller model that reads a compact summary of the database’s own state and decides what to refresh next.
The idea
A research database should know what it knows. For every combination of company and dataset, HorizonDB records whether the data is fresh, stale, missing or in conflict, when it was last checked, which source it came from, its content hash, and when it should be checked next. That state lives in the database, not in a model’s context window, so the thousandth maintenance cycle costs the same as the first and the system survives a restart without forgetting anything.
How it works
- Append-only, provenance-first storage. Every fact points to the raw document it was extracted from. Nothing is overwritten; current values are derived views over observations, so any past state can be reconstructed.
- Revision-aware queries. Because history is kept, the system can answer questions such as what it believed about a company’s quarterly revenue before the most recent filing.
- A small controller. A compact language model receives a summary of the database’s state (counts, items that need attention, open conflicts, recent errors) and emits structured actions that are validated before a deterministic orchestrator executes them.
- Sources. SEC EDGAR’s public API for filings, public daily prices, and web extraction for investor-relations pages.
The demo
In the demonstration scenario the agent checks EDGAR, discovers a new AMD quarterly report it did not know about, re-observes its state and only then decides that AMD’s fundamentals need refreshing. When newer filings restate an NVIDIA figure, the revision is recorded alongside the original value instead of replacing it.
Status
A prototype built for a hackathon. It demonstrates the architecture on a seeded scenario and a small set of companies; it is not a maintained data service.