SkillAgentSearch skills...

SentiVest

๐Ÿค–๐Ÿฆ AI Private Banking Agent powered by a Personal Financial Knowledge Graph ๐Ÿ•ธ๏ธ๐Ÿง  -> ๐ŸŽ™๏ธ voice-first, ๐Ÿ›ก๏ธ real-time fraud detection, ๐Ÿ’ก proactive financial intelligence, and ๐ŸŽฎ life simulation for South Africa ๐Ÿ‡ฟ๐Ÿ‡ฆ

Install / Use

/learn @Nevvyboi/SentiVest
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

๐Ÿฆ SentiVest

๐Ÿค– AI Private Banking Agent with a Personal Financial Knowledge Graph

SentiVest is an autonomous AI banking agent built for the South African market. It goes beyond traditional banking dashboards by combining a personal financial knowledge graph with real-time transaction classification, voice-first interaction, and proactive financial intelligence.

๐Ÿ’ก Banks give you data. SentiVest gives you understanding.


โšก What Makes This Different

| Traditional Banking | SentiVest | |---|---| | ๐Ÿ“Š Shows balance | ๐Ÿ”ฎ Predicts when you'll run out | | ๐Ÿ“‹ Lists transactions | ๐Ÿ›ก๏ธ Classifies and scores every one | | ๐Ÿ–ฅ๏ธ Static dashboard | ๐Ÿงฌ Living knowledge graph | | ๐Ÿšซ No memory | ๐Ÿง  Remembers your goals and habits | | ๐Ÿ‘ค You drive | ๐Ÿค– The agent drives | | โณ Reactive | โšก Proactive |


๐Ÿ—๏ธ Architecture

๐ŸŽ™๏ธ Voice / Chat Interface        35+ handlers, multi-turn flows, persistent memory
          |
  ๐Ÿง  AI Model Layer              Qwen 2.5-3B (Ollama) + rule-based fallback
          |
  ๐Ÿ•ธ๏ธ Knowledge Graph             Accounts, merchants, loans, investments, insurance, tax
          |
  ๐Ÿ›ก๏ธ Transaction Classifier      100+ merchants, 6 fraud indicators, SAFE/FLAG/ALERT/BLOCK
          |
  โš™๏ธ Infrastructure              FastAPI (async) + WebSocket + Investec API (OAuth2)

โœจ Features

๐Ÿค– Core Agent Capabilities

  • ๐Ÿ›ก๏ธ Transaction Classification โ€” Real-time fraud detection with weighted scoring across 100+ known merchants and 6 fraud indicators
  • ๐Ÿ•ธ๏ธ Knowledge Graph โ€” Personal financial graph connecting accounts, merchants, categories, loans, investments, insurance, tax, budgets, goals, and patterns
  • ๐ŸŽ™๏ธ Voice Intelligence โ€” 35+ voice command handlers with persistent memory, multi-turn payment flows, and natural banker-like conversation
  • ๐Ÿ’ก Proactive Insights โ€” Budget warnings, spending habit detection, savings rate analysis, and low balance alerts without being asked

๐Ÿ’ฐ Financial Tools

  • ๐Ÿ’š Financial Health Score โ€” 0-100 score (A-F grade) analyzing DTI, savings buffer, budget adherence, insurance coverage, investment diversity, and spending habits
  • ๐Ÿฆ Loan Eligibility โ€” DTI-based assessment with verdict (Approved/Conditional/Declined), factor analysis, and max affordable calculation
  • ๐Ÿ”„ Smart Transfer โ€” Inter-account transfers with full audit trail in the knowledge graph
  • ๐Ÿ’ณ Beneficiary Payments โ€” Fuzzy beneficiary matching, disambiguation, multi-step confirmation flow

๐ŸŽฎ Life Simulator

  • โฉ Compressed real-life financial simulation (months in seconds, 0.25x-5x speed)
  • ๐Ÿ“… Monthly cycle: Salary โ†’ Debit orders โ†’ Daily spending โ†’ Life events โ†’ Insights
  • ๐ŸŽฒ Life events: Fraud attempts, bonuses, medical emergencies, tax refunds, salary increases, international trips, car accidents
  • ๐Ÿ“ก Real-time WebSocket event streaming with graph visualization

๐Ÿ“ฑ UI

  • ๐Ÿ“ฑ Phone Mockup โ€” iPhone-style card carousel, 12 pages (Home, Ledger, Chat, Budgets, Alerts, Documents, Scanner, Tasks, Report, Test, Profile)
  • ๐ŸŽ›๏ธ Command Center โ€” Health score ring gauge, loan eligibility panel, AI insights feed, smart transfer, spending breakdown
  • ๐Ÿ•ธ๏ธ Knowledge Graph Visualization โ€” D3.js interactive graph with demo step controls and simulator
  • ๐Ÿ“‹ Audit Log โ€” Real-time event feed with color-coded severity

๐Ÿ› ๏ธ Tech Stack

| Layer | Technology | |---|---| | โš™๏ธ Backend | FastAPI (Python, async) | | ๐Ÿง  AI Model | Qwen 2.5-3B via Ollama | | ๐Ÿ•ธ๏ธ Knowledge Graph | Custom in-memory graph engine | | ๐Ÿ“ก Real-time | WebSocket | | ๐Ÿฆ Banking API | Investec Open API (OAuth2) | | ๐ŸŽ™๏ธ Voice | Web Speech API + Google STT | | ๐Ÿ“Š Visualization | D3.js | | ๐Ÿ–ฅ๏ธ Frontend | Single-page HTML/JS/CSS |


๐Ÿš€ Quick Start

Prerequisites

  • ๐Ÿ Python 3.10+
  • ๐Ÿฆ™ Ollama (optional โ€” falls back to rule-based responses)

Setup

# Clone
git clone https://github.com/Nevvyboi/SentiVest.git
cd SentiVest

# Virtual environment
python -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate     # Windows

# Install dependencies
pip install -r requirements.txt

# (Optional) Pull AI model
ollama pull qwen2.5:3b

# Run
python main.py 8000

๐ŸŒ Open http://localhost:8000 in your browser.

๐Ÿ” Environment Variables (optional)

Create a .env file:

INVESTEC_CLIENT_ID=your_client_id
INVESTEC_CLIENT_SECRET=your_secret
INVESTEC_API_KEY=your_api_key

Without these, the app uses realistic demo data.


๐Ÿ“ Project Structure

SentiVest/
  main.py              # โš™๏ธ  FastAPI server, 28+ API routes, WebSocket
  knowledge_graph.py   # ๐Ÿ•ธ๏ธ  Personal financial knowledge graph engine
  voice.py             # ๐ŸŽ™๏ธ  35+ voice command handlers, payment flows, memory
  model.py             # ๐Ÿง   AI model integration (Ollama Qwen 2.5-3B + fallback)
  agent.py             # ๐Ÿ›ก๏ธ  Transaction classifier (100+ merchants, fraud scoring)
  simulator.py         # ๐ŸŽฎ  Life simulator, health score, loan eligibility
  kg_routes.py         # ๐Ÿ”—  Knowledge graph API routes
  investec_api.py      # ๐Ÿฆ  Investec Open API wrapper (OAuth2)
  test_all.py          # ๐Ÿงช  71+ tests
  static/
    combined.html      # ๐Ÿ“ฑ  Single-page app (phone + dashboard)
  presentation.html    # ๐ŸŽค  Project presentation slides

๐Ÿ“– See individual READMEs for detailed documentation:


๐Ÿ”Œ API Overview

| Endpoint | Description | |---|---| | POST /api/classify | ๐Ÿ›ก๏ธ Classify transaction (SAFE/FLAG/ALERT/BLOCK) | | POST /api/voice | ๐ŸŽ™๏ธ Process voice command | | POST /api/chat | ๐Ÿ’ฌ AI chat with KG context | | GET /api/health | ๐Ÿ’š Financial health score (0-100) | | POST /api/loan/eligibility | ๐Ÿฆ Loan eligibility assessment | | POST /api/transfer | ๐Ÿ”„ Smart inter-account transfer | | GET /api/insights | ๐Ÿ’ก Proactive AI insights | | GET /api/transactions | ๐Ÿ“‹ Filtered transaction history | | GET /api/budgets | ๐Ÿ“Š Budget status | | GET /api/alerts | ๐Ÿšจ Active alerts | | POST /api/simulator/start | ๐ŸŽฎ Start life simulator | | WS /ws | ๐Ÿ“ก Real-time event stream |

Full API: 28+ main routes + 15+ knowledge graph routes.


๐Ÿ“ˆ By The Numbers

| Metric | Count | |---|---| | ๐Ÿ”Œ API Endpoints | 28+ main + 15+ KG | | ๐ŸŽ™๏ธ Voice Commands | 35+ | | ๐Ÿช Known Merchants | 100+ | | ๐Ÿง  AI Intent Types | 25+ | | ๐Ÿ“ฑ UI Pages | 12 | | ๐Ÿšฉ Fraud Indicators | 6 | | ๐Ÿงช Tests | 71+ | | โœจ Total Features | 200+ |


๐Ÿงช Testing

python -m pytest test_all.py -v

๐ŸŽค Presentation

Open presentation.html in a browser for the full project presentation (20 slides, keyboard/touch navigation, presenter notes).

๐ŸŽฎ Controls: Space/Arrow = navigate, F = fullscreen, N = speaker notes.


๐Ÿ“„ License

MIT

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated22d ago
Forks1

Languages

Python

Security Score

70/100

Audited on Mar 19, 2026

No findings