CA
CAIBots
Agentic AI · Credit Underwriting
// Architecture v2.1 · Credit Underwriting · Decision Intelligence
Credit Underwriting — Full Agentic AI Implementation Architecture
Application Ingestion → Spreading → Scoring → Decision → Structuring → Fair Lending · CAIBots © 2025
ECOA · Fair Lending CECL · Reg B CRE · C&I · Consumer SBA · Syndications
01 · Application Ingestion — Multi-Channel Credit Request
📨
Credit Application Ingestion — Multi-Channel, Multi-Product
Online application · Branch originated · Broker/correspondent · Relationship manager · Renewal/modification · Portfolio monitoring trigger · Secondary market acquisition

Credit requests arrive across seven channels with dramatically different data completeness and document sets. Digital consumer applications arrive structured with bureau pull permission — agent initiates bureau pull, income verification (Finicity/Plaid), and employment check immediately on submission. Commercial applications arrive with incomplete financial packages — agent identifies missing documents, sends automated information requests, and begins spreading available financials immediately. Broker/correspondent submissions arrive via LOS API (Encompass, Blend, OpenClose) — agent validates eligibility, runs initial AUS findings, and flags overlay policy exceptions. Portfolio monitoring triggers — covenant breach detected, financial statement past due, property inspection due, maturity approaching — initiate automated renewal or remediation workflow. All submissions normalized to CAIBots Credit Request Schema v2 before agent pipeline invocation.

Digital Consumer — Immediate Bureau Pull Online Business Application Portal RM-Originated Commercial (LOS) Broker / Correspondent (API) Portfolio Monitoring Trigger Renewal / Modification Request Secondary Market Acquisition Review LOS: Encompass · Blend · OpenClose · nCino CAIBots Credit Request Schema v2
application classified · borrower profile bound · loan type determined · complexity tier assigned · workflow instantiated
02 · Credit Underwriting Agent Orchestrator
Credit Underwriting Agent Orchestrator
Parallel sub-agent dispatch · policy compliance gate · fair lending monitoring · credit committee packet assembly · exceptions tracking · Frameworks: LangGraph · AutoGen · ReAct

Seven specialized sub-agents execute in parallel from application receipt. Financial Spreading Agent — extracts and spreads financial statements (tax returns, CPA statements, management accounts), calculates DSCR/FCCR/EBITDA, normalizes adjustments, builds 3-year trend. Credit Scoring & Bureau Agent — tri-merge bureau pull, FICO/VantageScore, derogatory analysis, business credit (D&B Paydex/Experian Intelliscore), UCC search, judgments/liens. Collateral Valuation Agent — orders/reviews appraisal, validates via AVM, calculates LTV/CLTV/DSCR, monitors market comparables for CRE. Risk & Policy Agent — applies credit policy guardrails, calculates risk grade, flags policy exceptions, assesses industry/concentration risk. Structuring Agent — designs loan structure (tenor, amortization, covenant package, pricing grid, guaranty requirements), benchmarks against peer deals. Fair Lending Agent — runs HMDA, ECOA, disparate impact screening throughout the decisioning process, monitors for prohibited basis proxies. CECL / Provisioning Agent — calculates expected credit loss, assigns loss given default, probability of default, exposure at default for CECL reserve.

Financial Spreading Sub-Agent Credit Scoring & Bureau Sub-Agent Collateral Valuation Sub-Agent Risk & Policy Sub-Agent Structuring & Pricing Sub-Agent Fair Lending Sub-Agent (ECOA/HMDA) CECL / Provisioning Sub-Agent LangGraph · AutoGen · ReAct · Policy Gate Enforcement
application decomposed into parallel underwriting workstreams · loan type routing confirmed
Loan Type Classification — Underwriting Methodology & Decision Routing
Classifies product type · determines underwriting methodology · maps policy requirements · assigns decision authority · sets SLA and complexity tier

Loan type classification determines the entire underwriting methodology and approval authority matrix. Consumer/SBA loans use scorecard-driven decisioning with AUS findings — highest auto-decision eligibility. Commercial Real Estate requires property-level cash flow analysis, appraisal, environmental review, and market study — always credit officer review. C&I / ABL requires spreading, industry analysis, collateral audit program, borrowing base calculation. Syndicated/Leveraged requires sponsor analysis, credit agreement review, EBITDA addback scrutiny, covenant compliance modeling.

Consumer / Retail
FICO-driven · AUS (DU/LP) · Conforming/Non-QM · HELOC/2nd mortgage · Auto / Personal · Student · Credit Card · 30–70% auto-decision eligible · Reg B adverse action · HMDA reportable · ECOA monitoring
SBA / Small Business
SBA 7(a) / 504 / Express · SBSS score · Personal financial statement · Business tax returns · 3-year P&L spreading · UCC search · SBA eligibility check · SBA Authorization · Guaranty percentage calculation · ETRAN submission
Commercial Real Estate
NOI / DSCR analysis · Appraisal (FIRREA compliant) · AVM validation · Lease roll analysis · Environmental (Phase I/II) · Sponsor guaranty analysis · Stress test (rate/vacancy) · Market study · Construction draw schedule · HLBI / concentration tracking
C&I / ABL / Syndicated
3-year financial spreading · EBITDA normalization · Working capital cycle analysis · Borrowing base (A/R, inventory) · Field audit program · Covenant design · Leveraged lending guidance (DFAST/OCC) · Syndicate structure · Agent bank duties · Credit agreement review
AUTO APPROVE
Score above threshold · Policy compliant · No exceptions · Consumer/SBA eligible · Fair lending clear · Instant decision
ASSISTED REVIEW
Minor exceptions · Borderline risk grade · Agent + credit officer co-review · Full package assembled by Agent
COMMITTEE
Above officer authority · Material exceptions · Complex structure · Leveraged · Syndicated · Agent prepares full credit memo
DECLINE
Policy ineligible · Risk grade below floor · Fraud flag · Auto-generate Reg B adverse action notice
Consumer / SBA: 30–70% auto-decision eligible CRE: Always credit officer review C&I: Credit officer + committee above threshold Syndicated: Full credit committee + legal review Decline: Auto Reg B adverse action generation
loan type classified · underwriting workstreams dispatched · all five source tools called in parallel
03 · Source Selection — Five Peer Underwriting Intelligence Tools
Source Selection — Agent dispatches tools based on loan type, product, and risk tier
All five tools in parallel for CRE/C&I/Syndicated · consumer uses RAG + API + SQL · RAG pipeline lives entirely inside Vector RAG tool box
▼ ENTIRE RAG PIPELINE LIVES INSIDE VECTOR RAG TOOL BOX
Peer Tool
Peer Tool
Peer Tool
Peer Tool
Peer Tool
📄 Vector RAG — Policy & Benchmarks
ChunkingCredit policy manual (all loan types) · Underwriting guidelines by product · Industry credit benchmarks (RMA Annual Statement Studies) · Leveraged lending guidance (OCC/Fed 2013 + 2022) · FIRREA appraisal standards · SBA SOP 50 10 7 · Reg B / ECOA adverse action guidance · HMDA filing instructions · CECL methodology documentation · 600–900 token chunks · LangChain + LlamaIndex
EmbeddingOpenAI text-embedding-3-large · Fine-tuned on credit memos, policy exceptions, and committee decision rationale · Namespaced by loan type, industry, and policy chapter
Vector StorePinecone (prod · namespaced by loan type + industry + policy version) · pgvector (DR) · Updated on credit policy revisions, RMA annual release, OCC guidance updates, SBA SOP revisions
RetrieverMMR hybrid · Top-8 chunks · Cohere reranker · Policy-section-filtered retrieval · Industry-benchmark-weighted reranking for ratio analysis context · Exception policy retrieval for borderline cases
Prompt AssemblyLangChain LCEL · Credit memo template (by loan type) · Reg B adverse action notice template · Exception approval memo template · Covenant compliance template · CECL provision memo template · Credit committee presentation template
↳ Returns: policy requirements · industry benchmarks · exception standards · credit memo templates · regulatory guidance
⚡ API Calls — Live Data
Bureau & Credit DataEquifax · Experian · TransUnion (tri-merge) · FICO 10T / VantageScore 4.0 · D&B Paydex · Experian Intelliscore Plus · LexisNexis Risk · OFAC check · Bankruptcy search · UCC lien search
Income / Asset VerificationFinicity (Mastercard Open Banking) · Plaid · Argyle (payroll) · The Work Number (Equifax employment) · IRS 4506-C (tax transcript) · Bank statement analysis (Ocrolus · Inscribe)
Collateral / PropertyCoreLogic AVM · ATTOM Data · Black Knight · CoStar (CRE) · CBRE / JLL market data · Flood zone (FEMA NFIP) · Environmental data (EDR) · Construction cost (RSMeans)
Business / IndustryD&B · Moody's Analytics CreditView · S&P Capital IQ · IBISWorld industry reports · NAICS classification · SIC industry benchmarks · Covenant compliance monitoring (Covenant Review)
LOS / Core SystemsnCino · Encompass · Blend · Jack Henry · FIS IBS · Loan origination state · Prior relationship history · Deposit balances · Existing exposure · Cross-sell profile
↳ Returns: bureau reports · income verification · AVM · industry data · LOS status · existing relationship exposure
🗄 SQL — Portfolio Intelligence
Loan Portfolio DBSnowflake · Full portfolio by loan type, industry, geography, risk grade · Concentration limits by NAICS/SIC, geography, collateral type · Existing borrower exposure (single and related) · Maturity ladder · Repricing schedule
Credit History DBBorrower prior loan history · Payment performance · Modification / forbearance history · Watch list / classified loan status · Prior charge-offs · Covenant violation history · Collection activity
Pricing & Peer DBInternal pricing history by product and risk grade · Floor/ceiling constraints · Spread to benchmark (SOFR/Prime/Treasury) history · Peer bank pricing data (Call Report derived) · Fee income history
Policy Exception Log DBAll granted exceptions by type, frequency, approver · Exception default rates vs. policy-compliant loans · Serial exception borrower detection · Exception concentration monitoring · Regulatory exam finding history
CECL / Reserve DBLoss development by cohort, vintage, product · PD/LGD/EAD calibration data · Qualitative factor history · CECL reserve adequacy history · Exam feedback on methodology · DFAST adverse scenario outcomes
↳ Returns: portfolio concentrations · borrower history · pricing benchmarks · exception patterns · CECL calibration
◈ Knowledge Graph — Borrower & Risk Network
Borrower Relationship GraphNeo4j · Borrower → Guarantor → Related entities → Common ownership chains · Global exposure calculation across all related parties · Affiliated transaction detection · Cross-default linkage mapping
Collateral Lien GraphCollateral → UCC filing → Lien priority → Existing creditors · Blanket lien detection · Cross-collateralization chains · Prior security interest conflicts · PMSI priority analysis
Industry / Sector GraphNAICS → Sector peers → Benchmark ratios → Economic cycle sensitivity · Supply chain dependency mapping · Customer concentration risk paths · Competitor financial stress propagation
CRE Property GraphProperty → Owner → Tenant → Lease expiry → Market comps · Anchor tenant dependency · Lease roll risk accumulation · Environmental liability chain · Zoning change impact paths
Fair Lending Network GraphApplicant demographics (HMDA proxy) → Decision outcomes → Geographic distribution · Disparate impact path detection · Pricing disparity network · Prohibited basis proxy identification · Peer institution comparison paths
↳ Returns: global exposure · lien priority · industry peer ratios · CRE market position · fair lending disparity paths
🧠 Memory Store — Credit Intelligence
External / Long-TermRedis · VectorDB · Closed loan performance history · Prior credit memo library · Committee decision rationale archive · Exception approval history · Examiner feedback on underwriting quality · Peer benchmarks calibration history
In-ContextCurrent application state · Spreading work in progress · Document completeness checklist · Information request status · Multi-entity global exposure assembly · Covenant modeling in progress
KV CacheBureau report cache (TTL 30 days) · AVM cache (TTL 30 days) · Industry benchmark cache (TTL 90 days) · Portfolio concentration cache (TTL 1hr) · Pricing grid cache (TTL 24hr)
In-WeightsFine-tuned on institution's credit memos and committee decisions · Risk grade calibration · Industry-specific underwriting norms · Covenant construction preferences · Credit culture and risk appetite calibration
↳ Returns: prior loan performance · memo library · exception history · examiner preferences · session state
all underwriting intelligence assembled · financial analysis complete · risk grade calculated · policy checked · fair lending tested
04 · Credit Analysis Assembly — Spreading, Scoring, Structuring & Compliance
Credit Analysis Assembly — Complete Underwriting Package, Risk Grade & Decision Recommendation
Merges financial spreading · credit score · collateral analysis · risk grade · policy exception tally · fair lending screen · structuring recommendation · CECL provision

Five parallel assembly tracks execute simultaneously. Financial Track: 3-year spreads normalized, DSCR/FCCR/EBITDA calculated with adjustments documented, global cash flow assembled across all entities, debt service coverage tested under stress scenarios. Credit Track: tri-merge bureau analyzed, risk grade assigned (1–10 scale), probability of default calculated, peer comparison benchmarked against RMA industry data. Collateral Track: AVM validated against appraisal (within policy tolerance), LTV/CLTV calculated, lien position confirmed, environmental clearance verified, collateral adequacy stress-tested. Policy Track: every underwriting criterion checked against credit policy — exceptions identified, counted, severity classified, required approver level determined. Fair Lending Track: ECOA-protected class screening applied, disparate impact test run, pricing disparity flagged, prohibited basis proxy detection active — all clear required before decision output.

DSCR
1.42×
Min policy: 1.20×
LTV
62%
Max policy: 75%
RISK GRADE
3
Pass · Watch: 6+
FICO / SCORE
748
Floor: 680
EXCEPTIONS
1
P1 · Officer req'd
3-year spreads complete Global cash flow assembled Risk grade assigned (1–10) Policy exceptions tallied Collateral adequacy confirmed Lien priority verified Fair lending screen: CLEAR CECL provision calculated Structure recommendation assembled
complete underwriting package → LLM reasoning · credit memo generation · decision recommendation · structuring terms
05 · LLM Reasoning — Credit Memo, Decision Narrative & Structure Design
🧠
LLM Reasoning — Credit Memo Generation, Decision Recommendation & Loan Structuring
3-stage pipeline: financial narrative → decision recommendation → complete credit package · credit memo · term sheet · covenant package · adverse action notice · CECL memo

Stage 1 — Financial Narrative: synthesize spreading results, ratio analysis, and trend into a coherent financial narrative — identifying key credit strengths, concerns, and mitigants in the institution's voice. Industry peer benchmarking contextualized against RMA data. Stress scenario analysis quantified and explained. Stage 2 — Decision Recommendation: formulate a specific, policy-grounded credit recommendation — approve/decline/counter-propose — with risk grade rationale, exception justification (if any), conditions precedent, and required approval authority level. Stage 3 — Complete Package Generation: produce the full credit deliverable suite — credit memo (institution template, committee-ready), term sheet draft, covenant package (financial maintenance + reporting + negative covenants calibrated to risk grade), Reg B adverse action notice (if applicable), and CECL provision memo. In-weights memory carries institution's credit culture, memo writing style, covenant construction norms, and prior committee feedback.

Azure OpenAI GPT-4o Claude 3.5 Sonnet Llama 3 / Mistral (Open-Weight) Fine-tuned: Credit Memos + Committee Style Fine-tuned: Financial Spreading + Ratio Analysis 🧠 In-Weights: Loan Performance + Decision Outcomes
credit memo + decision recommendation + term sheet + covenant package + adverse action → output layer
06 · Credit Decision Output, Approval Gates & Booking
Credit Decision Output — Explainable, Auditable, Fair-Lending-Tested
Every decision grounded to policy · every ratio traceable to source document · auto-decisions for eligible products · credit officer + committee for complex credits · full audit trail for ECOA/CRA/HMDA

Outputs routed to three simultaneous destinations. Auto-Decision Lane — eligible consumer and SBA loans: policy compliant, fair lending cleared, no exceptions — approve/decline decision rendered instantly, Reg B notice auto-generated for declines, LOS updated, funding workflow initiated. Credit Officer / Committee Package — complete credit memo in institution template, term sheet draft, covenant package, exception approval memo (if applicable), risk grade rationale, CECL provision memo — all assembled and ready for officer review. Post-Decision — loan agreement covenant monitoring activated, financial statement collection scheduled, HMDA LAR updated, CRA activity recorded, CECL reserve posted. CREDIT OFFICER APPROVAL IS MANDATORY for all non-auto-decisions — Agent never commits the institution without human credit authority sign-off.

Auto-decision: policy compliant, fair lending clear Instant Reg B adverse action (auto-decline) Credit memo: institution template, committee-ready Term sheet draft with pricing grid Covenant package (maintenance + reporting + negative) CECL provision memo 🔴 CREDIT OFFICER: Non-auto decisions 🔴 COMMITTEE: Above officer authority 🔴 APPROVAL REQUIRED: All policy exceptions HMDA LAR updated post-decision CRA activity recorded Covenant monitoring activated post-booking
downstream parallel paths
📊
Credit Officer Workbench
Committee-ready memo · exception review · structuring negotiation

Credit officer receives complete underwriting package in nCino / Salesforce FSC / Sageworks (Abrigo): full credit memo in institution template, spreading with adjustments documented, risk grade rationale, collateral summary, exception log with severity, covenant package, term sheet draft, and CECL provision. Agent handles all research and drafting — officer provides judgment, negotiates terms, and approves. Average CRE underwriting time: 3 weeks → 4 days. C&I: 2 weeks → 3 days.

nCino / Abrigo / Sageworks Committee-ready memo in institution template CRE: 3 weeks → 4 days C&I: 2 weeks → 3 days Consumer: Instant (auto-decision eligible)
Fair Lending & ECOA Compliance
Continuous monitoring · disparate impact · pricing analysis · Reg B

Continuous fair lending monitoring on every decision in real time. Disparate impact testing on approval rates and pricing by HMDA-reportable demographic (race, ethnicity, sex, age proxy via BISG/BIFSG). Prohibited basis proxy detection — zip code redlining screen, name-based analysis. Pricing disparity flagged if spread differential >25bps for similarly situated applicants. HMDA LAR updated on every decisioned application. CRA qualifying activity tracked. Adverse action notices validated for Reg B completeness before dispatch. Quarterly fair lending report generated automatically.

Disparate Impact: Real-Time Pricing Disparity: >25bps Flag Redlining Screen: Geographic HMDA LAR: Auto-Updated Reg B Adverse Action: Validated Quarterly Fair Lending Report: Auto
📈
Post-Booking Portfolio Intelligence
Covenant monitoring · CECL · watch list · annual review

Always-on portfolio monitoring after booking. Financial covenant compliance tested on every financial statement receipt — breach detected immediately, waiver workflow initiated. CECL reserve re-evaluated quarterly — PD/LGD migration tracked by cohort and vintage. Watch list candidates identified automatically from financial deterioration, payment delinquency, covenant violation — credit officer alerted for immediate action. Annual review package assembled automatically at loan anniversary — spreading pre-populated from latest financials, prior period comparison ready.

Covenant Breach: Immediate Alert Annual Review: Auto-Assembled CECL Migration: Quarterly Tracking Watch List: Auto-Identification Financial Statement: Auto-Spreading Maturity Ladder: 90-Day Early Alert
07 · Performance Targets — Underwriting Velocity & Quality
4 days
CRE underwriting
(was 3 weeks)
3 days
C&I / ABL
(was 2 weeks)
70%+
Consumer / SBA
auto-decision eligible
<4 min
Auto-decision
FNOL to outcome
100%
Fair lending screen
on every decision
80%
Spreading time
eliminated by Agent
ECOA / Reg B
Adverse action notices auto-generated with specific reasons within 30 days of application · Incomplete application notices within 30 days · Counter-offer documentation · Appraisal copy delivery · No prohibited basis in any decisioning factor · Agent screens all inputs for proxy variables
HMDA Reporting
All HMDA-reportable originations, applications, and purchases captured · LAR auto-populated with all required fields · Rate spread calculated against APOR · Points and fees calculated · HOEPA status determined · HMDA data integrity validation pre-submission to CFPB platform · Annual LAR submission auto-assembled
CRA Activity Tracking
All CRA-qualifying loans, investments, and services coded at origination · Assessment area mapping · Small business / farm loan coding ($1M threshold) · Community development loan identification · CRA exam data call auto-assembled · Quarterly CRA board reporting package auto-generated · Strategic plan performance monitoring
Architecture notes (Credit Underwriting implementation): The 5-step RAG pipeline (Chunking → Embedding → Vector Store → Retriever → Prompt Assembly) executes entirely within the Vector RAG tool box at Source Selection. Memory has 4 types: External/Long-Term (Redis/VectorDB — closed loan performance, credit memo library, committee decisions, exception approval history) at Source Selection; In-Context (application state, spreading in progress, document checklist, multi-entity global exposure assembly) at Agent Orchestrator; KV Cache (bureau report TTL 30 days, AVM TTL 30 days, industry benchmarks TTL 90 days, portfolio concentration TTL 1hr) at Agent Orchestrator; In-Weights (fine-tuned on institution's credit memos, risk grade calibration, covenant construction norms, credit culture) inside LLM Reasoning. All five source tools are peers at Source Selection. · CREDIT OFFICER APPROVAL MANDATORY for all non-auto-decisions · COMMITTEE required above officer authority · Agent never commits credit without human authority sign-off. · LOS: nCino · Encompass · Blend · OpenClose. · Bureau: Equifax/Experian/TransUnion tri-merge · D&B Paydex. · Income verification: Finicity · Plaid · Argyle · The Work Number · IRS 4506-C. · Collateral: CoreLogic AVM · ATTOM · CoStar · Black Knight. · Business data: D&B · Moody's CreditView · S&P Capital IQ · IBISWorld · RMA. · Credit management: nCino · Abrigo (Sageworks). · Fair lending: ECOA/Reg B · HMDA (CFPB) · CRA · BISG/BIFSG proxy methodology. · CECL: PD/LGD/EAD cohort modeling. · Performance targets: CRE 3wk→4d · C&I 2wk→3d · Consumer <4min auto-decision · 70%+ SBA auto-eligible · 100% fair lending screening · 80% spreading time eliminated. · CAIBots © 2025 · FS · Credit Underwriting · Specialty Markets