Skip to content

jpeg22/vapid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

V.A.P.I.D. (Vibe-Aware Predictive Intervention Daemon)

An autonomous, multi-threaded Java AI agent that monitors minor global inconveniences and proposes absurdly complex, hyper-technical solutions to protect its own aesthetic energy.

Vapid operates on a scheduled loop, entirely decoupled from web traffic. When a user approves one of her ridiculous proposals via email, she drops the socialite persona and instantly generates the production-ready technical artifacts (Smart Contracts, Graph Theory algorithms, distributed architecture specs) required to execute the vision.

🚀 Features

  • Autonomous Scheduling: Built on the Quartz Scheduler, Vapid wakes up on configurable intervals to assess the "vibes" (market data, weather, system latency).
  • Two-Way IMAP/SMTP Polling: Vapid doesn't just broadcast; she listens. A secondary threaded job polls an IMAP inbox for human approval ("YES") using the JavaMail API.
  • Stateful Memory: Utilizes a lightweight flat-file StateService to ensure conversational context survives server restarts and .war redeploys.
  • LLM Orchestration: Integrates with the Gemini REST API via OkHttp, utilizing dynamic context generation and prompt-chaining to shift personas from "Vapid Socialite" to "Elite Systems Architect" on demand.
  • Dynamic Routing: Automatically routes short complaints to SMS (via Twilio) and massive technical architectures to Email.

⚙️ Tech Stack

  • Language: Java 11+
  • Server: Apache Tomcat 9+
  • Build Tool: Maven
  • Core Libraries: Quartz Enterprise Job Scheduler, JavaMail, OkHttp3, Gson
  • AI Engine: Google Gemini (2.5 Flash)

🛠️ Quick Start

  1. Clone the repository.
  2. Create a vapid.properties file in src/main/resources/ with your credentials:
    gemini.api.key=YOUR_API_KEY
    email.smtp.user=vapid.bot@gmail.com
    email.smtp.pass=YOUR_APP_PASSWORD
    email.imap.host=imap.gmail.com
    email.imap.port=993
    admin.email=your.personal@email.com

About

A highly intelligent, tone-deaf, and unhinged personal assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages