How 04karthik/bankai-banking-assistant works
BankAI is a local, fictional-data Streamlit banking assistant. A customer asks a question or selects a demo; the supervisor routes it to banking, fraud, and/or loan logic, then the interface presents the answer and execution trace. Account data comes from SQLite; fraud scoring and loan eligibility/EMI are deterministic. Optional LLM providers assist only with intent routing. The graph focuses on this documented Python product; workspace React artifacts are not part of its banking workflow. Some internal dispatch details are documented but not visible in the sampled excerpts.
Main entry points: agents.py Supervisor · app.py Chat dashboard · storage.py SQLite storage · llm.py Intent classifier
Components 9
User interface
- Chat dashboard
app.py
Intent routing
- Supervisor
bankai/agents.py - Intent classifier
bankai/llm.py
Banking services
- Banking agent
bankai/agents.py - Fraud agent
bankai/agents.py - Loan agent
bankai/agents.py - SQLite storage
bankai/storage.py
Other components
- Customer
- LLM providers
Connections 13
- Customer → Chat dashboard: asks question
- Chat dashboard → Supervisor: submits prompt
app.py - Chat dashboard → SQLite storage: loads profiles
app.py - Chat dashboard → Intent classifier: loads settings
app.py - Supervisor → Intent classifier: requests routing
bankai/agents.py - Supervisor → Banking agent: dispatches banking
bankai/agents.py - Supervisor → Fraud agent: dispatches fraud
bankai/agents.py - Supervisor → Loan agent: dispatches loan
bankai/agents.py - Banking agent → SQLite storage: reads account data
bankai/agents.py - Fraud agent → SQLite storage: reads customer data
bankai/agents.py - Loan agent → SQLite storage: reads customer data
bankai/agents.py - Intent classifier → LLM providers: requests intent plan
- Supervisor → Chat dashboard: returns answer
app.py