Aegis Equity Brief is a premium, high-fidelity web intelligence application built specifically for Portfolio Managers (PMs), financial analysts, and asset managers. The application aggregates raw, real-time public news streams, filters temporal scopes, and leverages advanced large language models (LLMs) to synthesize tactical consensus briefs.
The platform is designed around a stunning Obsidian Glassmorphism aesthetic, utilizing custom animations, high-fidelity SVGs, real-time stopwatch step checklists, and extensive telemetry reporting.
Securely routes synthesis workloads dynamically:
- Google Gemini (Cloud): Integrates with the Google Gemini Cloud API for ultra-low latency, high-accuracy structural briefings.
- Ollama (Local Sandbox): Run offline or sandbox queries locally using your own models (e.g.
gemma,llama3). Enables analysis of high-compliance indexes or proprietary tickers without leaking sensitive signal vectors to public networks.
Adjust your news history aggregating scope from 1 to 20 days using a sleek horizontal glass range slider.
- Dynamically filters Yahoo Finance's RSS feed on the backend.
- Automatically updates loading checkpoints and final executive brief citation subtitles.
- Choice is saved locally in browser persistence and loaded dynamically on selecting historical entries.
- Self-Healing Cache Migration: Automatically upgrades legacy stock cache files to the new data model without data loss or UI whiting-out.
Visualizes direct metrics of model throughput and capacity:
- Speed Tracking: Real-time throughput measures in Tokens per Second (tok/s).
- Capacity Mapping: Direct display of prompt token footprints and completion token counts.
- Latency Stopwatch: Microsecond precision generation timers resolving live in the loading board and permanently preserved below the briefing summary.
Accelerates review times by immediately showing source audit markers.
- Analyzes each headline during synthesis and appends a
"usedInSynthesis": trueboolean. - Renders a glowing electric-cyan
β Key Catalyst Sourcetag in the public news feed accordion so you see exactly which headlines directly shaped the synthesized summary, actions, or risks.
- Briefing Caching: Seamlessly syncs generated briefs to your active watchlist history.
- Pruning Controls: Delete individual historic briefs using smooth fade-out buttons or purge the entire local cache with the "Clear All" database command.
- Cascading Fallback: Removing active viewports automatically shifts focus to the next available stock, preventing empty states.
To help Portfolio Managers immediately interpret market consensus, Aegis Equity Brief translates synthesized financial news flows into a standardized numerical Sentiment Score paired with a strategic label.
- π’ Strong Bullish (75 β 100): Unified positive catalyst consensus. Examples include record-breaking earnings reports, major regulatory clearances, or breakout product adoption.
- π’ Bullish (51 β 74): Positive momentum tempered by minor headwinds. Examples include solid growth metrics or favorable macro sector tailwinds, balanced by minor profit-taking or valuation concerns.
- π‘ Neutral (50): Balanced news flow or highly conflicting market forces. Examples include steady-state operations, sideways product cycles, or positive catalysts offset equally by rising structural risks.
- π΄ Bearish (25 β 49): Negative momentum or clear operational warnings. Examples include guidance downgrades, rising competition, supply chain disruptions, or impending legal investigations.
- π΄ Strong Bearish (0 β 24): Severe distress or systemic downside. Examples include critical earnings misses, major fraud investigations, bankruptcy warnings, or crippling regulatory bans.
- NVDA (Score: 92 β’ Strong Bullish): Represents absolute consensus driven by massive AI data center demand (Product/Tech) and strong margin expansion (Financials), comfortably offsetting single-source packaging limitations.
- AAPL (Score: 78 β’ Bullish): Represents solid momentum supported by premium iPhone demand inflections in key regions and record-authorized stock repurchases, balanced by European Union regulatory pressures.
- TSLA (Score: 42 β’ Bearish): Reflects structural transition risks, global pricing wars/automotive margin compression, and Autopilot safety investigations, prompting immediate defensive adjustments.
βββ backend/ # REST Proxy Server & AI Engine
β βββ utils/
β β βββ rssParser.js # Temporal XML parser and RSS aggregator
β β βββ synthesisEngine.js # Unified Ollama & Gemini API integrator
β βββ server.js # API entry controller and routing proxy
β βββ package.json
β βββ .env.example
βββ frontend/ # React client dashboard (Vite built)
β βββ src/
β β βββ components/ # Watchlist, ApiKeyModal, BriefingPanel, etc.
β β βββ utils/
β β β βββ mockData.js # Pre-synthesizedμ λ¬Έ stock data baselines
β β βββ App.jsx # Main layout, progressive loaded checklists
β β βββ index.css # Customizable glassmorphism visual CSS tokens
β β βββ main.jsx
β βββ index.html # Setup web viewport, custom Google Fonts
β βββ package.json
βββ ARCHITECTURE.md # Deep-dive system design & sequence graphs
βββ package.json # Monorepo task workspace manager
βββ README.md
- Node.js: Version 18 or higher is required.
- Ollama (Optional): If you intend to run local inferences inside a network sandbox.
From the repository root directory, run the monorepo setup script. This installs packages for the root, frontend, and backend packages concurrently:
npm run install:allTo perform live, real-time synthesis on arbitrary stock tickers (e.g., AMD, GOOGL), you need to connect to an active model.
Launch the application, click βοΈ Connection Settings in the bottom-left sidebar, select Google Gemini, and enter your API Key. Your key is saved securely inside your browser's private local storage and never touches our backend logs.
Create a .env file inside the backend/ directory from the template .env.example:
GEMINI_API_KEY=AIzaSyYourKeyHere...Start your local Ollama app instance in your terminal:
ollama run gemmaLaunch the Aegis settings panel, select Ollama (Local), adjust the server port if different (default: http://localhost:11434), and select your model (e.g. gemma).
Note: If no connection is configured, the application executes in Demo Mode. You can click major stock tags (AAPL, NVDA, TSLA, MSFT) to instantly showcase the complete visual panel and telemetry dials with realistic mock data.
Run the dev task to boot both servers concurrently:
npm run dev- Frontend Dashboard: http://localhost:5173 (hot-reloading enabled)
- Backend Node Service: http://localhost:5001 (nodemon hot-reloading)
- Type a stock ticker symbol (e.g.
AAPL,MSFT,AMD) in the top lookup bar. - Slide the News Timeframe range selector. Slide left to focus strictly on breaking market news (e.g.
1 Dayor2 Days), or slide right to pull historical context up to20 Days. - Click Analyze (or hit Enter).
- Track progress through the Progressive Checklist: Scrape Headlines β Enforce Temporal Filters β Structured Payloads β Execute Inference β Self-Healing JSON Audits β Compiling Dashboard.
- Pro-Tip: The scraped news headlines are loaded below instantly during the synthesis step so you can begin reading the feed while the model runs in the background.
- Citations: Expand the Analyzed Source Feeds panel. Headlines marked with the electric-blue β Key Catalyst Source badge represent the exact articles that directly informed the synthesized summary.
- Performance Metrics: Read the LLM Inference Telemetry bar below the executive summary to evaluate model speeds, latency, and token contexts.
- Catalysts & Recommendations: Toggle between the dashboard tabs:
- Tactical PM Actions: Active strategic moves suggested for risk control.
- Market Catalysts: Multi-quadrant breakdown separating Financials, Macro forces, Product Innovation, and Regulation.
- Downside Risks: Lingering headwinds or systemic dangers.
- Click π Copy Brief to copy a beautifully structured plaintext brief directly to your clipboard for instant sharing in Slack, Microsoft Teams, or emails.
- Click π¨οΈ Export PDF (or press
Cmd+P/Ctrl+P) to trigger the print utility. The custom print stylesheet hides sliders, dials, and scrollbars, outputting a perfectly formatted, monochrome executive brief suitable for physical portfolios or investor decks.

