Finance Demo

MAS Document Analysis Pipeline

A five-step analyst workflow: ingest a revised MAS notice, compare versions, extract obligations, map products and create an impact report.

Streamlit showcase · Repo path: showcases/finance/demo-doc-analysis

Structure Blueprint

MAS Document Analysis Pipeline blueprint

Step-by-step Design

01

Notice Intake

Normalize the revised notice and preserve section-level source anchors.

Context Triage
02

Version Diff

Compare the revised notice with the baseline and isolate material changes.

Semantic Compaction
03

Obligation Extract

Turn changes into obligations, deadlines, owners, and evidence.

Prompt Chaining
04

Product Mapping

Connect obligations to product lines, customers, controls, and operational teams.

RAG Pipeline
05

Impact Report

Produce readiness score, risk matrix, executive summary, and action register.

Progress Tracking
06

Review Loop

Ambiguous or high-impact findings remain reviewable and traceable.

Approval Gate

Screenshots

Business context and five-step agent pipeline.
Business context and five-step agent pipeline.
Step 1: document ingestion and section map.
Step 1: document ingestion and section map.
Step 2: old/new comparison with structured changes.
Step 2: old/new comparison with structured changes.
Step 5: executive summary, readiness score and risk matrix.
Step 5: executive summary, readiness score and risk matrix.
Action list and report tail.
Action list and report tail.

Pattern Mapping

PatternDesign role
Context TriageSeparate source sections, changed clauses, and background context.
Semantic CompactionConvert a long notice into reviewable changes and obligations.
Progress TrackingExpose readiness score, risk matrix, and action register.
Approval GatePreserve human review for ambiguous or high-impact changes.

Design Insights

Document change must become product impact

Finance teams act on affected products and controls, not raw paragraphs.

Progress visibility matters

Compliance work is collaborative, so status and action ownership must be visible.

The pipeline is the explanation

Each step is inspectable, which makes the final report more trustworthy.

Run Path

cd showcases/finance/demo-doc-analysis streamlit run app.py
READMEshowcases/finance/demo-doc-analysis/README.md
Blueprintimages/training/visual/mas-document-analysis-blueprint.png