AI Predictive Risk
& Balance Sheet Intelligence
The complete technical, functional, architectural, security, AI, compliance, integration, migration and installation reference — designed for institutional evaluators, infosec teams, regulators, and prospective deployment partners.
1. Executive Summary
Preemptify AI is the institutional-grade 4-OS BFSI software suite — four standalone but interoperable Industry Operating Systems: Banking OS (Retail · Corporate · Treasury · Compliance), Lending OS (Origination → Underwriting → Collections → Restructuring), Insurance OS (Underwriting → 5-state Claims → Lapse Revival) and Wealth OS (Advisory · MF · PMS · AIF · Demat). Each module ships with its own AI co-pilots, Customer 360 with name-resolved Workbench, NBA recommender, AI risk assessment, multi-turn Ask-AI chat, custom product catalog, JSON rules engine and module-scoped RBAC.
Unlike descriptive CRMs, Preemptify is preemptive. It ingests live central-bank and treasury signals from 24+ sovereign authorities (RBI · BOT · MAS · ECB · Fed +), classifies them through the Preemptify Neural engine, and fuses the signal with proprietary balance-sheet math to surface preempted product recommendations — each one citing a numeric driver and the source headline. PII is redacted before every LLM call. No black box.
1.5 The 4-OS BFSI Suite — Module Deep Dive
Four standalone Industry Operating Systems. Each is licensable independently, deploys with its own AI co-pilots, simulators and module-scoped RBAC — and all four interoperate on a single cryptographic audit spine, AsyncLocalStorage tenant isolation, the same Neural Signal Engine, and a unified PII-redaction boundary. Every module below follows the same template: Header → Metrics → Lifecycle → AI Capabilities → Featured Simulator → Visual Preview → Roles & Regulators.
Banking OS
The flagship balance-sheet module. Retail and corporate exposures on one chassis, wired to the cryptographic audit ledger.
Lending OS
End-to-end loan lifecycle. AI from application to recovery — with prompt-driven product catalog + JSON rules engine.
Insurance OS
Cat-aware, IRDAI-aligned. AI from quote to claim to revival — with persistency cohort dashboard and NatCat stress simulator.
Wealth OS
Mandate-locked, drift-free. AI from suitability to allocation to rebalance — with a live What-If rebalance simulator.
2. Architecture
2.1 Reference topology
Preemptify is a containerised stateless Next.js 14 application backed by MongoDB. Deployment topologies:
- ·Public Sandbox — hosted at
preemtify.com; synthetic data only; demo-environment picker locks each session to a single country/bank. - ·On-Premise Pilot — Helm + Kubernetes manifest; 90-day paid pilot inside the customer’s VPC.
- ·Enterprise+ — fully air-gapped K8s, customer-controlled LLM gateway (BYO Azure OpenAI / on-prem Llama / VPC GPT-4o), zero data egress.
2.2 Logical layers
2.3 Multi-tenant isolation architecture (P0)
Per the Preemptify Clean-Slate Context Isolation specification, every LLM inference is wrapped by three concurrent rules:
- ·Rule 1 · Stateless Inference — Tenant rules dynamically fetched per request. No fine-tuning. No cross-tenant cache. Frozen scope discarded after the call returns.
- ·Rule 2 · Strict Context Enclosure — Every LLM call wrapped in the
[MANDATORY IDENTITY BOUNDARY]template. Other tenants’ rules are never visible in the same prompt window. - ·Rule 3 · Hard In-Memory Isolation — Node
AsyncLocalStoragesovereign scope per request. Concurrent tenants execute on isolated async-contexts. No shared globals. No scratchpads.
Live proof of isolation is available at /admin/tenant-isolation — the dashboard runs a concurrent Demo India / Demo Thailand Bank race and verifies that the resulting tenant_tokens are distinct and the per-tenant SHA-256 chains verify cleanly.
3. Functional Capabilities
Customer-360 with 3-column drawer (Liability · Asset · Insurance), Liquid Cushion Decay Clocks, goal-based planning, 9 life-event triggers, decay-clocked CASA / TD / RD repricing nudges, insurance-gap detection.
Cash Conversion Cycle (CCC = DIO + DSO − DPO), counterparty concentration risk, FX mismatch, working-capital optimisation, cash burn + runway, sector coefficient overlay.
AI-composed structuring across LC, Bill Discounting, Invoice Factoring, Supply Chain Finance, FX Forward, Interest Rate Swap, Cross-Currency Swap — regulator-bound rationale per recommendation.
Risk-profile-aligned Equity / Debt / Hybrid / Liquid / ELSS allocator, SIP recommender, Unit Trust + ASB / ASNB (MY), EPF i-Invest + NPS + PPF + SGB (IN), AIF / PMS / ETF sweep.
20+ currency books · ISO 20022 ↔ SWIFT MT translator · cross-border settlement optimiser · FX exposure scanner.
88+ curated product templates regulator-tagged to 42 sovereign frameworks. RM authors products bound to a country, regulator notice, NBA trigger and eligibility envelope.
Static Policy · Liquid Cushion Decay · Preempted NBA · Policy Coefficient · Goal-Aligned Glidepath; CAGR, Sharpe, max drawdown, hit-rate, 6–60 month windows.
Maps legacy CSV / fixed-width / Cobol exports to canonical balance-sheet schema; every manifest anchored on the SHA-256 audit ledger.
30+ admin sliders: per-source trust weights, per-asset-class weights, magnitude amplifier, time-decay window, minimum confidence cutoff, preempt firing thresholds.
Every NBA / smart-analysis / board briefing exportable with cited rationale and ledger anchor.
Portfolio segmentation, churn-pressure heatmaps, decay-clock density, risk-band aggregates.
Embedded chat (Ask Preemptify) for operators — platform-meta only, never sees tenant data.
4. AI Engine
4.1 Signal Preemption Pipeline (4 stages)
- Ingestion — RSS pulled from 24+ central banks & treasuries (Fed, ECB, BoE, BoJ, RBI, PBoC, MAS, BOT, BOT, BSP, SBV, BCB, Banxico, SARB, SAMA, SNB, BoK, BoC, RBA, BoI, US Treasury, +).
- Classification — Each headline scored on
{policy_direction, magnitude, time_horizon, asset_impact[], affected_sectors[], confidence}. Deterministic JSON contract; no free-text drift. - Aggregation — Weighted preempt-vector across rates / FX / credit / equity / commodity axes. Formula:
source_trust × confidence × magnitude × time_decay. - Recommendation — When pressure exceeds calibrated thresholds, a Preempted NBA card is generated and prepended to the entity’s recommendation queue with source headline + math rationale.
4.2 Model details
5. Security
5.1 Authentication & Authorisation
- ·HMAC-SHA256 signed JWT-like session tokens; 12-hour TTL; rotation via re-auth.
- ·4 role tiers:
master(platform-owner) ·admin(compliance officer) ·executive(relationship manager) ·guest(read-only sandbox). - ·Scope-based RBAC:
retail · corporate · admin · master. Server enforces on every route handler. - ·Login ledger-anchored: every successful + failed authentication writes a SHA-256 chained audit row.
5.2 Transport & perimeter
- ·TLS 1.3 enforced on production ingress; HSTS preload;
X-Frame-Options DENY; CSP with no inline scripts (other than the JSON-LD block). - ·Enterprise+ deploys air-gapped: outbound DNS allow-list only; LLM gateway can be routed through customer-owned proxy.
- ·Customer PII never leaves the perimeter. All identity fields are tokenised (
P-XXXXX) before logging or LLM submission.
5.3 Tenant-boundary controls
- ·Every LLM call enters via the single isolation gateway — direct calls to the upstream model from route handlers are architecturally rejected (lint + code review).
- ·Cross-tenant requests (e.g. an Demo India session attempting to fetch a Demo Thailand Bank-held entity) return HTTP 403 with a
tenant_boundary_violationcode and across_tenant_attempt: trueaudit row. - ·Per-tenant SHA-256 hash-chained audit (
tenant_audit_ledger); independently verifiable viaGET /api/admin/tenant-audit/verify.
6. Privacy
- ·Tokenisation by default — Names, account numbers, SSN / PAN / NRIC are HMAC-tokenised before they ever touch a log, prompt or audit row. Reverse-lookup is held in a separate KMS-encrypted vault.
- ·Data residency — On Enterprise+, all storage (MongoDB, object store, logs) is bound to a customer-chosen region. India (Mumbai), Thailand (Cyberjaya), Singapore, Frankfurt, US-East all supported.
- ·Right to erasure — DPDP 2023 §8 · GDPR Art. 17 · CCPA §1798.105 all supported via a single
POST /api/privacy/dsrhandler. SLA: 30 days. - ·Public Sandbox — synthetic data only. No real-customer PII is ever processed. The sandbox demonstrates the platform’s capabilities without exposing any institution’s book.
- ·Cookies — strictly-necessary by default. Analytics is opt-in and privacy-first (Plausible / Umami). No third-party advertising trackers.
7. Compliance & Regulatory Mapping
The platform is engineered against the following frameworks. Each product template is regulator-tagged so authoring inherits the correct legal handle.
- ·RBI Master Directions (Savings · TD · Housing Finance · Vehicle Loan · Credit Card 2022 · Personal Loans · NBFC · Trade Finance · FEMA)
- ·IRDAI Life · Linked · General · Health Insurance Regulations
- ·SEBI MF · AIF · PMS · Investment Advisers
- ·PFRDA NPS Trust
- ·NHB Refinance
- ·DPDP Act 2023
- ·BOT · Financial Institutions Business Act B.E. 2551
- ·BOT · Policy Documents (Capital Adequacy · FX Control · Credit Card · Responsible Lending)
- ·SEC Thailand · Securities and Exchange Act · LTF/RMF/SSF Notifications
- ·OIC · Life and Non-Life Insurance Acts · DPA Deposit Protection · PDPC PDPA Thailand
- ·MAS Notices 626 / 637 / 655 / 758
- ·MAS TRMG · MAS FEAT principles for AI
- ·PDPA
- ·ECB SSM · EBA Guidelines
- ·MiFID II · PSD2
- ·EU AI Act (high-risk classification — addressed)
- ·GDPR
- ·Federal Reserve SR 11-7 (Model Risk)
- ·OCC Heightened Standards
- ·FDIC 12 CFR 330
- ·CFPB 12 CFR 1024 (RESPA) · Reg V (FCRA)
- ·FINRA Rule 2111
- ·CCPA
- ·BoE PRA SS1/23 (AI Risk)
- ·FCA Consumer Duty
- ·UK GDPR
- ·BIS Basel III
- ·IFRS 9 ECL
- ·FATF Recommendations 10-22 (AML / KYC)
8. Multi-Tenant Context Isolation (Featured)
When the same LLM instance services multiple banking clients (e.g. Demo India Bank and Demo Thailand Bank), the system treats them as two entirely separate entities behind a soundproof wall. The AI never mixes regional regulations (RBI vs BOT rules), product criteria, or internal bank policies across tenants. This is enforced by three concurrent rules:
No fine-tuning with bank rules. Every transaction dynamically fetches the bank-specific regulation + product master from secure storage, passes it to the LLM as transient instruction, captures the answer, and discards the in-memory pack.
Every LLM call wrapped in the [MANDATORY IDENTITY BOUNDARY] template — {BANK_NAME}, {COUNTRY_CODE}, {ALLOWED REGULATIONS}, {PRODUCT_PACK}, {TRANSACTION_DATA}. The model is forbidden from referencing any rule not in scope.
Node AsyncLocalStorage maintains a sovereign per-request bag. Concurrent Demo India and Demo Thailand Bank requests cannot read or mutate each other’s context. No shared globals. No scratchpads.
8.1 Verifiable evidence
- ·Concurrent self-test endpoint:
POST /api/admin/tenant-audit/self-test— launches simultaneous IN/Demo India + TH/Demo Thailand Bank inferences and verifies tenant_tokens are distinct + correct. - ·Per-tenant SHA-256 chain verifier:
GET /api/admin/tenant-audit/verify?country=IN&bank=Demo India%20Bank. - ·Compliance officer dashboard:
/admin/tenant-isolation— runs the self-test live and renders the per-tenant audit chain.
9. Integration
9.1 Inbound — your core banking → Preemptify
- ·Batch CSV / fixed-width / Cobol export — daily SFTP drop into the Schema Aligner endpoint. Manifest hash-anchored.
- ·Real-time webhook —
POST /api/ingest/balance-eventfor high-velocity events (new account, large transaction, term-deposit maturity). - ·ISO 20022 / SWIFT MT — bi-directional translator built into the Multi-Currency Core.
- ·JSON delta feed — Kafka / Kinesis / Pub-Sub bridges available on Enterprise+.
9.2 Outbound — Preemptify → your stack
- ·NBA push —
POSTwebhook into your CRM (Salesforce Financial Services Cloud, Microsoft Dynamics, custom). One row per recommendation with cited rationale. - ·Email / SMS — optional SendGrid / Twilio / Vonage / customer SMTP. Templated, regulator-attribution-aware.
- ·PDF reports — board-grade markdown rendered to PDF for credit committee / risk committee meetings.
- ·Audit export — SHA-256 chain + per-tenant audit ledger streamable to WORM (S3 Object Lock, Azure Immutable Blob).
9.3 LLM gateway choice (Enterprise+)
- ·BYO Azure OpenAI · BYO AWS Bedrock · BYO GCP Vertex · self-hosted Llama-3.1 / Mistral / Qwen on customer GPU pool · air-gapped Anthropic Claude via customer-owned proxy.
- ·Switching is a single env var (
LLM_GATEWAY_BASE) — no code change.
10. Migration Plan
Standard 90-day pilot timeline. All milestones are atomic — if any gate fails, the deployment auto-rolls back.
11. Installation
11.1 Quick start (Sandbox)
11.2 On-Premise (Helm)
11.3 Environment variables
12. Tiers · Sandbox Rules · Demo Credentials
12.1 Tier comparison
| Capability | Free Sandbox | On-Prem Pilot | Enterprise+ |
|---|---|---|---|
| Data | Synthetic only · 50 retail + 20 corp per region | Your data, in your VPC | Your data, air-gapped |
| Tenant isolation (3 rules) | ✓ enforced | ✓ enforced | ✓ enforced + WORM audit |
| Demo Environment Picker | Required · locks to one country/bank | Optional | Optional |
| AI inference | 24h-delayed signals · 3 AI queries / day | Live · per-seat | Live · unlimited · BYO model |
| Audit ledger | In-memory · resets on restart | MongoDB-backed | WORM-replicated |
| LLM gateway | Emergent gpt-4o | Emergent gpt-4o | BYO Azure / AWS / GCP / self-hosted |
| Pricing | Free | Engagement-priced 90-day pilot | Per-seat + per-balance-sheet |
12.2 Free + Enterprise sandbox isolation rules
Both tiers identically enforce the three-rule Clean-Slate Context Isolation. The Demo Environment Picker on /login binds each evaluator session to exactly one tenant scope:
- ·🇺🇸 USA · Preemptify Demo Bank — book filtered to US entities. NBA cards cite Fed SR 11-7 / FDIC / OCC.
- ·🇮🇳 India · Demo India Bank — book filtered to IN entities. NBA cards cite RBI Master Directions / IRDAI / SEBI.
- ·🇹🇭 Thailand · Demo Thailand Bank — book filtered to TH entities. NBA cards cite BOT / OIC / SEC Thailand.
Cross-tenant access during a sandbox session triggers HTTP 403 tenant_boundary_violation and writes a cross_tenant_attempt: true row to the audit ledger.
12.3 Public sandbox demo identities (limited access)
The public sandbox at preemtify.com is open to anyone — but every account is restricted to synthetic data inside a single tenant scope, with the three isolation rules enforced. The two published demo identities are sandbox-role only:
executive_demoexecutive_demoretail · corporateRelationship-manager view. Customer-360 drawers, NBA cards, Ask Preemptify chat. No admin endpoints. No catalog authoring.
compliance_admincompliance_adminretail · corporate · adminAdmin terminal access · product catalog authoring (sandbox only) · signal calibration · tenant-isolation dashboard.
12.4 What the public sandbox can and cannot do
- ·Sign in as
executive_demoorcompliance_admin - ·Pick one demo environment (USA/India/Thailand) per session
- ·Browse the 50 retail + 20 corporate synthetic entities for that tenant
- ·Run AI analyses / generate PDF reports / chat with Ask Preemptify
- ·Open the Tenant Isolation dashboard and run the proof-of-isolation self-test
- ·Read all 88+ product templates and 42 regulator bindings
- ·Download this Pitch Deck as PDF
- ·Sign in with the Master / Platform-Owner account (credentials are not published)
- ·Access any real-customer data (the sandbox is 100% synthetic)
- ·Cross the tenant boundary (e.g. query IN data while in MY scope — returns HTTP 403)
- ·Connect a BYO LLM gateway · Azure / AWS / GCP / self-hosted
- ·Enable WORM audit replication · regulator-grade archival
- ·Deploy inside their own VPC / air-gap topology
- ·Edit sovereign frameworks / regulator notice tags
- ·See live (un-delayed) central-bank signal pipeline