Mortgage assistant: runtime responsibilities

Mortgage assistant: runtime responsibilities An architecture diagram generated by Archify. Gatsby website + chat · Preserved company interface · Architecture component Gatsby website + chat Preserved company interface FastAPI + LangGraph · Public retrieval + finite memory graph · Architecture component FastAPI + LangGraph Public retrieval + finite memory graph Start application + form · Current snapshot, editable fields · Architecture component Start application + form Current snapshot, editable fields LLM provider · Local Qwen :8011 or OpenAI gpt-4.1 · Architecture component LLM provider Local Qwen :8011 or OpenAI gpt-4.1 Private ingress + RAM state · Facts, revisions and exact proofs · Architecture component Private ingress + RAM state Facts, revisions and exact proofs Python tools · Decimal LTV + Refinance draft · Architecture component Python tools Decimal LTV + Refinance draft Frozen BGE retrieval · 10 + 10, rerank, 0.23 gate, pack <= 5 · Architecture component Frozen BGE retrieval 10 + 10, rerank, 0.23 gate, pack <= 5 Reviewed records and PDFs · Frozen English + Swedish provenance · Architecture component Reviewed records and PDFs Frozen English + Swedish provenance Local PII detector · DetectPII + Presidio, port 8097 · Architecture component Local PII detector DetectPII + Presidio, port 8097 chat requests explicit draft safe schema validate / commit calculate / Draft public question read local files check first Legend Frontend Backend Local artifacts Security