This is a hackathon-ready prototype for an Agentic Loan Orchestrator using FastAPI, LangGraph, and React.
backend/: FastAPI application, Agents, Mock Data.frontend/: React + Vite application.
- Navigate to directory:
cd backend - Create virtual environment and install dependencies:
pip install -r ../requirements.txt
- Run the server:
Server will start at
uvicorn backend.main:app --reload
http://127.0.0.1:8000.
- Navigate to directory:
cd frontend - Install dependencies:
npm install npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p npm install mermaid
- Run the dev server:
App will start at
npm run dev
http://localhost:5173.
- Master Agent: Orchestrates the flow.
- Sales Agent: Handles conversation.
- Verification Agent: Checks
customers.json. - Underwriting Agent: Runs
underwriting_rules.py. - Sanction Agent: Generates PDFs.