How akashdeep-bit-gif/intelligence-engine-ai works
AURA is a financial intelligence terminal: users submit expenses, inspect spending and liquidity forecasts, and ask a financial co-pilot for advice. The React dashboard calls an Express API; its handlers coordinate expense parsing, runway calculations, FX rates, and MySQL reads and writes. The engine also supports Gemini-backed parsing and advice, with local parsing or ledger-based fallbacks. The README documents predictive modeling, anomaly detection, currency conversion, budgeting, and CSV export. Some UI and engine details are only documented or partially excerpted, so those capabilities are represented without inferring unshown calls.
Main entry points: server.js Express API · App.jsx AURA dashboard · engine.js Expense parsing and anomalies · main.jsx React entry
Components 21
Financial dashboard
- React entry
frontend/src/main.jsx - AURA dashboard
frontend/src/App.jsx - Expense capture
frontend/src/App.jsx - Spending and runway
frontend/src/App.jsx - Budget limits
frontend/src/App.jsx - Co-pilot chat
frontend/src/App.jsx
API and orchestration
- Express API
server.js - Expense endpoint
server.js - Runway endpoint
server.js - Co-pilot endpoint
server.js - FX endpoint
server.js
Financial intelligence
- Expense parsing and anomalies
engine/engine.js - Run-rate calculation
engine/engine.js - Wealth co-pilot
engine/engine.js - FX rate cache
engine/engine.js - Insight prompt builder
engine/promptBuilder.js - Local inference
engine/inference.js
Financial state
- MySQL financial records
Other components
- User
- Google Gemini
- Exchange-rate service
Connections 24
- User → AURA dashboard: uses
README.md - React entry → AURA dashboard: renders
frontend/src/main.jsx - AURA dashboard → Expense capture: presents
frontend/src/App.jsx - AURA dashboard → Spending and runway: presents
frontend/src/App.jsx - AURA dashboard → Budget limits: presents
frontend/src/App.jsx - AURA dashboard → Co-pilot chat: presents
frontend/src/App.jsx - Expense capture → Express API: submits expense
frontend/src/App.jsx - Spending and runway → Express API: requests metrics
frontend/src/App.jsx - Co-pilot chat → Express API: sends query
frontend/src/App.jsx - Express API → Expense endpoint: routes requests
server.js - Express API → Runway endpoint: routes requests
server.js - Express API → Co-pilot endpoint: routes requests
server.js - Express API → FX endpoint: routes requests
server.js - Expense endpoint → MySQL financial records: reads history, writes expense
server.js - Expense endpoint → Expense parsing and anomalies: parses and scores
server.js - Runway endpoint → MySQL financial records: reads snapshots and expenses
server.js - Runway endpoint → Run-rate calculation: calculates runway
server.js - Co-pilot endpoint → MySQL financial records: reads financial context
server.js - Co-pilot endpoint → Run-rate calculation: calculates context metrics
server.js - Co-pilot endpoint → Wealth co-pilot: requests advice
server.js - FX endpoint → FX rate cache: fetches rates
server.js - Expense parsing and anomalies → Google Gemini: requests parsing
engine/engine.js - Wealth co-pilot → Google Gemini: requests advice
engine/engine.js - FX rate cache → Exchange-rate service: fetches rates
engine/engine.js