How erabhishek04/multi-agent-loan-repayment-capability works
This repository is a lightweight loan-review dashboard: a reviewer browses applications, inspects affordability signals, runs simulations, records review decisions and notes, and uses supporting evidence, monitoring, fairness, and knowledge-search features. The sampled implementation is a Node/Express server and browser client with in-memory application data and a configured generative-model integration. The README describes a separate Python/MCP/PostgreSQL/Chroma architecture, but those files are absent from the supplied tree; those integrations are therefore not represented as implemented here. Some feature wiring is documented but its full source was not sampled.
Main entry points: app.js Dashboard client · server.js Application data
Components 20
Review workspace
- Dashboard client
frontend/app.js - Queue CSV export
frontend/app.js
Application API
- Application routes
server.js - Session authentication
server.js - Affordability assessment
server.js - Review state updates
server.js - What-if simulation
server.js - Document intake
server.js - Audit and notes
server.js
Review insights
- Specialist perspectives
server.js - AI explanation
server.js - Queue summary
server.js - Repayment monitoring
server.js - Fairness analytics
server.js - Knowledge search
server.js
State and integrations
- Application data
server.js - Audit and document data
server.js - Knowledge records
server.js
Other components
- Reviewer
- Generative model service
Connections 28
- Reviewer → Dashboard client: uses
- Dashboard client → Session authentication: authenticates
- Dashboard client → Application routes: requests
- Application routes → Application data: reads
- Application routes → Affordability assessment: calculates
- Dashboard client → What-if simulation: simulates
- What-if simulation → Application data: reads
- Dashboard client → Review state updates: updates
- Review state updates → Application data: writes
- Dashboard client → Specialist perspectives: requests
- Specialist perspectives → Affordability assessment: uses
- Dashboard client → AI explanation: requests
- AI explanation → Affordability assessment: uses
- AI explanation → Generative model service: generates
- Dashboard client → Document intake: uploads
- Document intake → Audit and document data: records
- Dashboard client → Audit and notes: records
- Audit and notes → Audit and document data: reads and writes
- Dashboard client → Queue summary: loads
- Queue summary → Affordability assessment: calculates
- Queue summary → Application data: reads
- Dashboard client → Repayment monitoring: loads
- Repayment monitoring → Application data: reads
- Dashboard client → Fairness analytics: loads
- Fairness analytics → Application data: reads
- Dashboard client → Knowledge search: searches
- Knowledge search → Knowledge records: searches
- Dashboard client → Queue CSV export: exports