An AI agent for quantitative financial research. You type a question in plain English, such as “How diversified is an equal-weight AAPL, MSFT, NVDA portfolio?”. The agent decides which analysis tools to run, executes them on live market data, and streams a written research report back in real time. How it works: • An LLM (Groq llama-3.3-70b) calls 8 tools served over MCP: price data, max drawdown, 95% VaR, correlation matrix, portfolio summary and a full backtest engine • A FastAPI backend streams each tool call to a Next.js frontend over WebSocket • Redis caches repeat queries, and MongoDB Atlas stores daily prices for US and Indian (NSE/BSE) stocks • If Groq hits a rate limit, the agent falls back automatically to a local Ollama model Key design choice: tools return compact summary statistics instead of raw time series. This cut the data sent to the LLM by about 98%, which kept requests within the model’s context limit.