<mxfile host="app.diagrams.net"><diagram id="udyam-arch" name="Architecture"><mxGraphModel dx="1600" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="900" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="g2" value="SERVICES" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#faf9f6;strokeColor=#d9d6cd;verticalAlign=top;align=left;spacingLeft=12;spacingTop=4;fontSize=11;fontStyle=1;fontColor=#85837c;" vertex="1" parent="1"><mxGeometry x="765" y="72" width="475" height="446" as="geometry"/></mxCell><mxCell id="g3" value="HUMANS" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fffaf0;strokeColor=#e6c27a;verticalAlign=top;align=left;spacingLeft=12;spacingTop=4;fontSize=11;fontStyle=1;fontColor=#85837c;" vertex="1" parent="1"><mxGeometry x="765" y="552" width="475" height="170" as="geometry"/></mxCell><mxCell id="g4" value="DATA" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fdf6f7;strokeColor=#e8b4bd;verticalAlign=top;align=left;spacingLeft=12;spacingTop=4;fontSize=11;fontStyle=1;fontColor=#85837c;" vertex="1" parent="1"><mxGeometry x="1272" y="72" width="316" height="348" as="geometry"/></mxCell><mxCell id="g5" value="SWAPPABLE PROVIDERS" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#faf9f6;strokeColor=#d9d6cd;verticalAlign=top;align=left;spacingLeft=12;spacingTop=4;fontSize=11;fontStyle=1;fontColor=#85837c;" vertex="1" parent="1"><mxGeometry x="1272" y="440" width="316" height="186" as="geometry"/></mxCell><mxCell id="own" value="&lt;b&gt;Business owner&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Mobile web · text + voice&lt;br&gt;8 languages&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#eaf2fc;strokeColor=#2a78d6;fontColor=#0d2f5c;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="30" y="130" width="200" height="96" as="geometry"/></mxCell><mxCell id="wa" value="&lt;b&gt;WhatsApp&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Opt-in status updates&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#eaf2fc;strokeColor=#2a78d6;fontColor=#0d2f5c;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="30" y="380" width="200" height="76" as="geometry"/></mxCell><mxCell id="staff" value="&lt;b&gt;Staff&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Agents · admin&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#eaf2fc;strokeColor=#2a78d6;fontColor=#0d2f5c;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="30" y="610" width="200" height="76" as="geometry"/></mxCell><mxCell id="app" value="&lt;b&gt;Customer app&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Advisor · quote · consent&lt;br&gt;KYC · tracker&lt;br&gt;Web Speech API (voice)&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#9a978e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;SHOWS MASKED IDs ONLY&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="275" y="112" width="210" height="132" as="geometry"/></mxCell><mxCell id="con" value="&lt;b&gt;Admin console&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Leads · escalations&lt;br&gt;Outbox · simulator&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#9a978e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;AUDIT-LOGGED VIEWS&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="275" y="592" width="210" height="112" as="geometry"/></mxCell><mxCell id="api" value="&lt;b&gt;API · FastAPI&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;HTTPS + JWT roles&lt;br&gt;Rate limits&lt;br&gt;PII-scrubbed logs&lt;br&gt;Masked responses&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#c8102e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;MASKS IDs&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#fff5f6;strokeColor=#c8102e;fontColor=#141414;fontSize=13;strokeWidth=2;dashed=1;" vertex="1" parent="1"><mxGeometry x="530" y="300" width="190" height="200" as="geometry"/></mxCell><mxCell id="adv" value="&lt;b&gt;Advisor&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;LLM explains&lt;br&gt;Rules engine decides&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="785" y="112" width="210" height="112" as="geometry"/></mxCell><mxCell id="pri" value="&lt;b&gt;Pricing&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;One monthly price&lt;br&gt;Dependency locks&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="1020" y="112" width="200" height="112" as="geometry"/></mxCell><mxCell id="kyc" value="&lt;b&gt;Smart KYC&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Consent first&lt;br&gt;GSTIN / Udyam lookup&lt;br&gt;OCR → 13 checks&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#c8102e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;ENCRYPTS DOCS + IDs&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#fff5f6;strokeColor=#c8102e;fontColor=#141414;fontSize=13;strokeWidth=2;dashed=1;" vertex="1" parent="1"><mxGeometry x="785" y="250" width="210" height="112" as="geometry"/></mxCell><mxCell id="notf" value="&lt;b&gt;Notifications&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;8-language templates&lt;br&gt;Opt-in enforced&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="1020" y="250" width="200" height="112" as="geometry"/></mxCell><mxCell id="ord" value="&lt;b&gt;Orders &amp;amp; tracker&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;State machine · dates&lt;br&gt;SLA escalation job&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="785" y="388" width="210" height="112" as="geometry"/></mxCell><mxCell id="adm" value="&lt;b&gt;Admin analytics&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Propensity model&lt;br&gt;Live pilot metrics&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#ffffff;strokeColor=#9a978e;fontColor=#141414;fontSize=13;strokeWidth=1;" vertex="1" parent="1"><mxGeometry x="1020" y="388" width="200" height="112" as="geometry"/></mxCell><mxCell id="q" value="&lt;b&gt;Agent queue: humans step in&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;KYC review · late install · advisor stuck · &amp;quot;talk to a person&amp;quot;&lt;br&gt;Assigned to the least-loaded agent who speaks the customer&amp;#x27;s language&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#fff3df;strokeColor=#b8780a;fontColor=#3d2a00;fontSize=13;strokeWidth=2;" vertex="1" parent="1"><mxGeometry x="785" y="592" width="435" height="112" as="geometry"/></mxCell><mxCell id="db" value="&lt;b&gt;SQLite&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;PII columns encrypted (Fernet)&lt;br&gt;Phone stored as keyed hash&lt;br&gt;Events · consents · audit log&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#c8102e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;ENCRYPTED AT REST&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#fff5f6;strokeColor=#c8102e;fontColor=#141414;fontSize=13;strokeWidth=2;dashed=1;shape=cylinder3;boundedLbl=1;size=10;" vertex="1" parent="1"><mxGeometry x="1290" y="112" width="280" height="132" as="geometry"/></mxCell><mxCell id="fs" value="&lt;b&gt;Document store&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Each file encrypted&lt;br&gt;Deleted 90 days after verify&lt;br&gt;(30 if abandoned)&lt;/font&gt;&lt;br&gt;&lt;font color=&#x27;#c8102e&#x27; style=&#x27;font-size:9px&#x27;&gt;&lt;b&gt;AUTO-DELETED&lt;/b&gt;&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#fff5f6;strokeColor=#c8102e;fontColor=#141414;fontSize=13;strokeWidth=2;dashed=1;shape=cylinder3;boundedLbl=1;size=10;" vertex="1" parent="1"><mxGeometry x="1290" y="290" width="280" height="112" as="geometry"/></mxCell><mxCell id="llm" value="&lt;b&gt;LLM&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;explains only&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#f3f1eb;strokeColor=#aaa79e;fontColor=#4d4c48;fontSize=13;strokeWidth=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="1290" y="470" width="132" height="60" as="geometry"/></mxCell><mxCell id="reg" value="&lt;b&gt;GSTIN / Udyam&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;registries (mock)&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#f3f1eb;strokeColor=#aaa79e;fontColor=#4d4c48;fontSize=13;strokeWidth=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="1438" y="470" width="132" height="60" as="geometry"/></mxCell><mxCell id="tw" value="&lt;b&gt;Twilio&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;or mock outbox&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#f3f1eb;strokeColor=#aaa79e;fontColor=#4d4c48;fontSize=13;strokeWidth=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="1290" y="548" width="132" height="60" as="geometry"/></mxCell><mxCell id="sp" value="&lt;b&gt;Speech API&lt;/b&gt;&lt;br&gt;&lt;font style=&#x27;font-size:11px&#x27;&gt;Sarvam / Bhashini&lt;/font&gt;" style="rounded=1;arcSize=10;whiteSpace=wrap;html=1;fillColor=#f3f1eb;strokeColor=#aaa79e;fontColor=#4d4c48;fontSize=13;strokeWidth=1;dashed=1;" vertex="1" parent="1"><mxGeometry x="1438" y="548" width="132" height="60" as="geometry"/></mxCell><mxCell id="e0" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="230" y="178" as="sourcePoint"/><mxPoint x="275" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e1" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="230" y="648" as="sourcePoint"/><mxPoint x="275" y="648" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e2" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="485" y="178" as="sourcePoint"/><mxPoint x="530" y="360" as="targetPoint"/><Array as="points"><mxPoint x="507" y="178"/><mxPoint x="507" y="360"/></Array></mxGeometry></mxCell><mxCell id="e3" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="485" y="648" as="sourcePoint"/><mxPoint x="530" y="440" as="targetPoint"/><Array as="points"><mxPoint x="507" y="648"/><mxPoint x="507" y="440"/></Array></mxGeometry></mxCell><mxCell id="e4" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="720" y="400" as="sourcePoint"/><mxPoint x="765" y="400" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e5" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="995" y="168" as="sourcePoint"/><mxPoint x="1020" y="168" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e6" value="read / write" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1240" y="178" as="sourcePoint"/><mxPoint x="1272" y="178" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e7" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="995" y="306" as="sourcePoint"/><mxPoint x="1290" y="346" as="targetPoint"/><Array as="points"><mxPoint x="1008" y="306"/><mxPoint x="1008" y="236"/><mxPoint x="1258" y="236"/><mxPoint x="1258" y="346"/></Array></mxGeometry></mxCell><mxCell id="e8" value="" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;dashed=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1240" y="470" as="sourcePoint"/><mxPoint x="1272" y="470" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e9" value="flag · late · stuck" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="985" y="518" as="sourcePoint"/><mxPoint x="985" y="592" as="targetPoint"/></mxGeometry></mxCell><mxCell id="e10" value="picked up with full context" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="785" y="680" as="sourcePoint"/><mxPoint x="485" y="676" as="targetPoint"/><Array as="points"><mxPoint x="740" y="680"/><mxPoint x="740" y="676"/></Array></mxGeometry></mxCell><mxCell id="e11" value="WhatsApp updates to opted-in owners" style="edgeStyle=none;html=1;endArrow=block;endFill=1;strokeColor=#6f6d66;fontSize=11;fontStyle=2;dashed=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1356" y="608" as="sourcePoint"/><mxPoint x="30" y="418" as="targetPoint"/><Array as="points"><mxPoint x="1356" y="860"/><mxPoint x="15" y="860"/><mxPoint x="15" y="418"/></Array></mxGeometry></mxCell><mxCell id="title" value="&lt;b&gt;Udyam Digital · system architecture&lt;/b&gt;&lt;br&gt;&lt;font style=&quot;font-size:12px&quot; color=&quot;#6f6d66&quot;&gt;AI handles acquisition; humans handle exceptions. Rules decide eligibility; the LLM only explains.&lt;/font&gt;" style="text;html=1;align=left;fontSize=20;" vertex="1" parent="1"><mxGeometry x="30" y="20" width="900" height="56" as="geometry"/></mxCell><mxCell id="legend" value="&lt;b&gt;Legend&lt;/b&gt;&lt;br&gt;Red dashed: personal data masked / encrypted&lt;br&gt;Amber: a person steps in&lt;br&gt;Grey dashed: swappable provider (mock in demo)&lt;br&gt;Blue: people" style="text;html=1;align=left;verticalAlign=top;fontSize=12;fontColor=#4d4c48;" vertex="1" parent="1"><mxGeometry x="30" y="740" width="420" height="110" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>