Skip to content
Architecture

Architecture & About

A fresh portfolio implementation using synthetic data.

Portfolio notice. This is a fresh portfolio implementation by Swetha Pandala, built with synthetic transactions and fictional policy documents. It is not a recovered or production banking system.

Agent flow

User → Supervisor → specialist agents → tools → Report Writer → grounded response

User
Natural-language question, optionally scoped to a transaction
Supervisor / Router Agent
Intent classification and workflow planning
Retrieval Agent
Policy search, grounded citations
Transaction Analyst
Spend, cash flow, merchants, anomalies
Risk & Compliance
Indicator-based, non-advisory risk
Knowledge index
Section chunks · TF-IDF (pgvector-ready)
Ledger & analytics tools
Typed aggregation services
Report Writer Agent
Summary · findings · evidence · risk · next steps · sources
Grounded response + trace
Citations validated; metrics logged to evaluation

Tech stack

React 19TypeScriptTanStack Start & RouterTailwind CSS v4shadcn/uiRechartsProvider abstraction: OpenAI · Anthropic · AWS BedrockPostgreSQL / pgvector ready

Code structure

GitHub-ready: multi-agent-financial-intelligence-platform

src/
  config/      centralized app config
  domain/      typed interfaces
  data/        synthetic seed data
  services/    orchestrator · retrieval · analytics
               risk · reporting · providers · run-store
  components/  app shell, widgets, response view
  routes/      dashboard · assistant · transactions
               knowledge · reports · observability

Model providers

Runs in deterministic DEMO MODE with no paid API keys. OpenAI, Anthropic or AWS Bedrock can be enabled later through server-side environment variables behind a shared provider interface.

What this project demonstrates

  • Multi-agent orchestration

    A supervisor classifies intent and routes to a planned path of specialist agents.

  • Retrieval-augmented generation

    Section-level chunk index with relevance thresholds; answers are withheld when nothing is retrieved.

  • Structured + unstructured data

    Joins ledger analytics with policy text in one grounded response.

  • Explainability

    Every answer exposes findings, evidence, risk indicators and the full agent trace.

  • Citations

    Exact document title and section label, validated against retrieved passages — never fabricated.

  • Evaluation

    Grounding and relevance scores, retrieved chunk counts and failure reasons per run.

  • Observability

    Per-agent latency, tool-call status and token/cost estimates.

  • Production-minded design

    Typed domain model, provider abstraction, centralized config, no secrets in source.

Demo application using synthetic data. Outputs are for demonstration only and are not financial advice.