Prospectus AI
A Bloomberg-inspired financial research platform with 3-tier AI analysis via OpenRouter, real-time market data from Alpha Vantage and FMP, a portfolio builder, stock screener, and terminal-mode dashboard with 30+ analysis cards.
Active Development
v2.x
2026
Features
3-Tier AI Analysis
OpenRouter-powered intent routing across Claude Haiku, Sonnet 3.5, and Sonnet 4 — quick lookups route to fast models, deep portfolio strategy escalates to the most capable. Every response grounded in real market data, never hallucinated.
Real-Time Data Pipeline
Cron-driven automation processing 6,000+ stocks with Alpha Vantage and Financial Modeling Prep — cache warming, catalyst pre-computation, and digest generation on scheduled intervals.
Terminal Mode Dashboard
Bloomberg-inspired terminal aesthetic with 30+ analysis cards — MarketCap, BottomLine, Technicals, Congressional Trades, Focus Ideas, DCF Valuation — plus theme switching between amber, green, and blue.
Congressional & Insider Trading
Senate and House trading activity from FMP cross-referenced with stock positions, plus insider transaction tracking for sentiment analysis and movement detection.
Portfolio Builder & Screener
Drag-to-reorder portfolio builder with grading system, 9 risk/time-horizon profiles, bond ETF selection, and a stock screener filtering by 50+ criteria including PE, dividend yield, RSI, and analyst ratings.
Auth & Security
Supabase Auth with MFA via authenticator apps, row-level security policies across all tables, subscription tier gating, and encrypted session management.
Architecture
Stack Rationale
Why Next.js 15 + Supabase
Next.js App Router with React 19 delivers server components for fast loads and SEO. Supabase provides Postgres, MFA auth, row-level security, and real-time subscriptions — all without managing separate services.
3-Tier LLM Routing
OpenRouter routes queries across Claude models by complexity — Haiku for quick lookups, Sonnet 3.5 for analysis, Sonnet 4 for deep portfolio strategy. 40+ intent patterns auto-classify every user message.
AI Anti-Hallucination
Every AI response is grounded in real financial data passed as context. Claude receives structured prompts with live prices, fundamentals, technicals, and news — never asked to recall market data from training.
Security Posture
Defense-in-depth: Supabase RLS enforces row-level access across all tables, MFA via authenticator apps protects accounts, API routes validate CRON_SECRET tokens, and all data in transit is encrypted via TLS.