{
  "id": 20108293,
  "title": "Beyond Black-Box Prompts: Building an Explainable Multi-Agent Financial Intelligence Platform with FastAPI & React",
  "url": "https://urgent.news/2026/11/15/beyond-black-box-prompts-building-an-explainable-multi-agent",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-15T03:49:17.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/khare69/beyond-black-box-prompts-building-an-explainable-multi-agent-financial-intelligence-platform-with-4o03"
  },
  "original_language": "en",
  "account": "Quantitative finance and retail investing are increasingly turning to Large Language Models (LLMs) as a sort of all-knowing oracle for stock recommendations. However, relying on a single LLM can be problematic. Such models often show confirmation bias, insert financial figures without verification, and lack proper risk management. In the world of actual investment committees, there isn't a single go-to analyst. Instead, there are specialized, competing experts.\n\nIn response to these issues, I created a platform named Vibe-Finance. Vibe-Finance is a comprehensive, end-to-end multi-agent financial intelligence and explainability system. The platform is built using a Python/FastAPI backend, a vector Retrieval Augmented Generation (RAG) over corporate filings, and a modern React/Vite/Tailwind client.\n\nThe system architecture separates data ingestion, analysis, adversarial cross-examination, and synthesis into distinct layers. This design prevents putting all data through one large prompt. Instead, it breaks down the process into dedicated layers for easier handling and understanding.\n\nThe platform features three main agents:\n1. The Quantitative Agent, which uses hard mathematical indicators like Wilder's RSI-14, MACD, and EMA/SMA to analyze stock movements.\n2. The Fundamental RAG Agent, which parses regulatory corporate filings like SEC 10-Ks, 10-Qs, and earnings conference transcripts using vector embeddings. It ensures zero cross-contamination between unrelated equities and provides citations for users to verify claims.\n3. The Behavioral Risk Manager, which safeguards the investor against risk-taking behaviors. It assesses the user's risk profile (Conservative, Moderate, or Aggressive), maximum historical drawdown caps, high-beta concentration limits, and provides pre-trade what-if nudges if an order threatens portfolio balance.\n\nCritical to the system is the Adversarial Debate Engine, which handles conflict resolution when different agents present opposing views. For instance, if the Quant Agent sees a bullish breakout signal but the Fundamental RAG Agent detects margin compression in recent filings, the Debate Engine detects agent friction and runs a structured adversarial exchange to calibrate the overall decision confidence.\n\nFinally, the platform provides an interactive TradingView client for visualization and telemetry. It uses TradingView Lightweight Charts for technical analysis and displays model latency, regulatory chunk counts, and token consumption for transparency. The platform also undergoes strict testing with an automated test suite verifying 21 critical scenarios.",
  "summary": "In quantitative finance and retail investing, treating Large Language Models as a single \"oracle\" prompt is dangerous. When you ask a single LLM whether a stock is a buy, it frequently exhibits confirmation bias, hallucinations with financial figures, and a total lack of calibrated risk management. Real-world institutional investment committees don't rely on a single analyst. They rely on…",
  "key_points": [
    "Vibe-Finance platform combines multi-agent financial intelligence with explainability",
    "System uses FastAPI backend, RAG over corporate filings, React/Vite/Tailwind client",
    "Three specialized agents prevent single-point failure and bias in investment decisions"
  ],
  "editors_take": "Replacing single-model reliance with a multi-agent architecture mimics professional investment committees to mitigate confirmation bias and provide the transparency necessary for high-stakes financial decision-making.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}