GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - smmariquit/VybeChange: Vybe Change: an AI donation layer concept for BPI's Vybe app. Round-up donations are routed to hyperlocal Philippine causes via LangChain + Gemini agents, with a Streamlit admin dashboard and FastAPI backend.

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.cursor
.cursor
 
 
.github
.github
 
 
constants
constants
 
 
dashboard
dashboard
 
 
data
data
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.markdownlint.json
.markdownlint.json
 
 
.python-version
.python-version
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Vybe Change

<!, Tech Stack Shields, > Python Streamlit LangChain Google%20Gemini Plotly Pandas FastAPI

πŸš€ Deployment

  • Data Analytics: API & Admin Dashboard
  • Mobile App Demo: Vybe Change on Mobile

A smart donation layer embedded into BPI's Vybe online banking app. It detects when users are most likely to give, nudges them with localized, hyper-relevant causes, and delivers verified proof when their change creates real-world impact. No spam, no guesswork. Just sense.

This demo showcases:

  • Automatic round-up: Every purchase in the Vybe online banking app is rounded up to the nearest tens (e.g., β‚±127 β†’ β‚±130, donate β‚±3). Donation suggestions are agentically determined based on user context, not random or fixed.
  • Agentic AI: Likelihood scores and suggested donation amounts are generated by autonomous agents using behavioral, contextual, and historical dataβ€”not static values. The system adapts to each user and transaction.
  • Explainable AI decisions: Powered by Google Gemini via LangChain, every prompt and recommendation is transparent and human-readable.
  • Real-time impact tracking

For technical details, see the agent architecture and code in src/agents/core_agents.py.

🚩 THE CORE IDEA

A smart donation layer embedded into BPI's VIBE payment ecosystem. It detects when users are most likely to give, nudges them with localized, hyper-relevant causes, and delivers verified proof when their change creates real-world impact.

βœ… WHAT WE'VE RESOLVED

  • 🎯 Integrate via BPI's VIBE, not individual e-commerce stores
  • πŸ’Έ Donation prompts scale with transaction amount
  • πŸ“ Recommend hyperlocal causes using user region & preferences
  • 🧾 Users can opt-in to impact updates, to avoid spamming
  • πŸ’― 100% of donations go directly to NGOs, no BPI/partner fees
  • πŸ† Year-end impact storytelling is core to user delight
  • πŸ“ˆ Behavioral data (order frequency, timing, confirmation time, etc.) guides donation logic
  • πŸ”— Must partner directly with NGOs; web scraping is out

πŸ“ Project Structure

vybe-change/
β”œβ”€β”€ README.md # This file - Product Reality Sheet
β”œβ”€β”€ api_server.py # API server for backend integration
β”œβ”€β”€ dashboard.py # Main dashboard logic
β”œβ”€β”€ generate_demo_data.py # Demo data generation
β”œβ”€β”€ model.py # Core ML model for donation likelihood
β”œβ”€β”€ constants/
β”‚ └── ngos.py # NGO database and categories
β”œβ”€β”€ docs/
β”‚ β”œβ”€β”€ user-journey.md # Detailed user journey mapping
β”‚ β”œβ”€β”€ agents/ # AI agent specifications
β”‚ └── compliance.md # Legal and regulatory considerations
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ agents/ # Core AI agents implementation
β”‚ β”œβ”€β”€ api/ # API endpoints
β”‚ └── analytics/ # Impact tracking and reporting
β”œβ”€β”€ tests/ # Test suites for all components
└── streamlit_demo.py # Streamlit deployment entrypoint

Tech Stack

  • Python for backend and orchestration
  • Streamlit for interactive dashboards
  • LangChain for agentic AI logic
  • Gemini (Google Generative AI) for LLM-powered reasoning and explanations
  • Plotly & Pandas for data visualization and analytics
  • FastAPI for API endpoints and integration

πŸ“‘ API Endpoints

Donation & Recommendation

Method Endpoint Description
POST /likelihood/analyze Analyze donation likelihood
POST /causes/recommend Recommend causes for donation
POST /amounts/optimize Suggest optimal donation amount
POST /submit-donation Submit a donation
GET /donations List user donations

User & Profile

Method Endpoint Description
POST /register Register a new user
GET /profile Get user profile
PUT /profile Update user profile
DELETE /profile Delete user profile
GET /user/{user_id}/impact-summary Get user's impact summary

NGO & Causes

Method Endpoint Description
GET /ngos List NGOs
GET /ngos/{ngo_id} Get NGO details
POST /ngo/{ngo_id}/submit-proof NGO submits proof of impact
GET /causes List available causes

Analytics & Insights

Method Endpoint Description
GET /analytics/dashboard Analytics dashboard
GET /metrics/dashboard Metrics dashboard
GET /platform/insights Platform insights
GET /impact-report Get impact report

System

Method Endpoint Description
GET /health Health check

πŸ› οΈ Developer Quickstart

Prerequisites

  • Python 3.10+
  • Node.js (if working with frontend or integration)
  • pip
  • Streamlit (for dashboard)

1. Clone the Repository

git clone https://github.com/smmariquit/vybe-change.git
cd vybe-change

2. Install Python Dependencies

pip install -r requirements.txt

3. Set Up Environment Variables

Create a .env file in the root directory:

GOOGLE_GEMINI_API_KEY=your_api_key_here

4. Run the Streamlit Dashboard

streamlit run streamlit_demo.py

5. Run the API Server (FastAPI)

uvicorn src.api.main:app --reload

6. Run Tests

pytest tests/

🧩 Environment & Configuration

  • All sensitive keys (e.g., Gemini API) should be stored in .env (never commit secrets).
  • See pyproject.toml and requirements.txt for dependencies.
  • For custom agent logic, see src/agents/.

πŸ“Š Current State of the Code

  • Tech Stack: Python
  • Repository Size: 38 tracked files
  • Latest Update: 044c4c4 chore: add stale issue and PR validators

β˜• If you found this project useful, you can support my work at kape.stimmie.dev!

About

Vybe Change: an AI donation layer concept for BPI's Vybe app. Round-up donations are routed to hyperlocal Philippine causes via LangChain + Gemini agents, with a Streamlit admin dashboard and FastAPI backend.

Topics

agentic-aibpidonationsfastapifintechgeminilangchainphilippinespythonstreamlit

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.