Skip to content

About

🧠 Qloo Agentic Hackathon β€” Build AI agents with real cultural intelligence. Powered by Qloo's Taste AI and Cultural Graph (250M+ entities across music, film, dining, fashion, travel & more).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 TasteMem β€” Cultural Taste Intelligence & Vibe Memory

"You experience something you love β€” a film, an album, a cafΓ©, or just a morning run. You speak or type it in. The AI understands the vibe, files it into your custom life shelves, and unlocks grounded cultural discoveries you never saw coming."

Built for the Qloo Agentic AI Hackathon 2026.


⚑ Quickstart

1. Prerequisites

2. Environment Setup

Copy the example environment file and fill in your keys:

cp .env.example .env

Key variables configured in .env:

# Cultural AI Graph
QLOO_API_KEY=hack_xxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Google Gemini AI Vibe Routing
GEMINI_API_KEY=AQ.xxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Google Cloud Firebase (Project: weekendsahal)
NEXT_PUBLIC_FIREBASE_API_KEY=AIzaSyBjx1Hw_LLPCN98m2jGQKyktnLgxO0JMWs
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=weekendsahal.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=weekendsahal
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=weekendsahal.firebasestorage.app
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=1059415279275
NEXT_PUBLIC_FIREBASE_APP_ID=1:1059415279275:web:3c894783c9754fda1e59ee
FIREBASE_PROJECT_ID=weekendsahal

# Optional Media Keys (Multi-tier fallbacks automatically engage if blank)
TMDB_API_KEY=
OMDB_API_KEY=
GOOGLE_BOOKS_API_KEY=

3. Run Development Server

npm install
npm run dev

Open http://localhost:3000 in your browser.

To expose for mobile testing on your local network:

npm run dev:mobile

πŸ—οΈ Architecture & Core Engine

TasteMem Client (Infinite Whiteboard Canvas + Liquid Spring Physics)
  β”‚
  β”œβ”€β”€ Offline-First SyncBridge (localStorage <--> Cloud Firestore)
  β”‚     └── Anonymous Firebase Auth + Real-time Listeners
  β”‚
  β”œβ”€β”€ /api/vibe (Google Gemini 2.5 Flash)
  β”‚     └── Semantic Note Ingestion -> Vibe Shelves + Canonical Qloo Seeds
  β”‚
  β”œβ”€β”€ /api/recommendations (Qloo Cultural Graph: /v2/insights)
  β”‚     β”œβ”€β”€ Mode 1: More Like This (High-affinity cultural resonance)
  β”‚     β”œβ”€β”€ Mode 2: Surprise Me (Strict indie filtering: popularity <= 0.60)
  β”‚     β”œβ”€β”€ Mode 3: Go Wild (Cross-domain aesthetic bridge, e.g. run -> vinyl)
  β”‚     └── Mode 4: Trip Guide (WKT bounding polygons for 11 global cities)
  β”‚
  └── /api/search (Multi-Tier Resilient Media Discovery)
        β”œβ”€β”€ Anime: AniList GraphQL βž” Jikan (MyAnimeList v4) βž” Unsplash
        β”œβ”€β”€ Movies: TMDB βž” TVMaze (HD posters) βž” OMDb βž” iTunes Movie
        β”œβ”€β”€ Music: iTunes βž” Deezer
        β”œβ”€β”€ Books: Google Books βž” Open Library
        └── Places: Qloo Places βž” Photon (OpenStreetMap)

πŸ“± Mobile Native Build (Android / Capacitor)

⬇️ Download Hosted APK

The production APK is hosted and published externally on GitHub Releases:

To build from source:

cd android
./gradlew assembleDebug

The APK will be generated under android/app/build/outputs/apk/debug/app-debug.apk. Firebase configuration is pre-wired via android/app/google-services.json.


πŸ§ͺ Verification & Automated Testing

Run the automated test suites:

# Verify Qloo 4-Mode Recommendation Engine
npm test

# Run adversarial resilience tests
npm run test:adversarial
npm run test:stress

πŸ“œ Prompt History & Delivered Outcomes (Mandatory Rule #2 Log)

# Prompt / Request Key Decisions & Outcomes
1 "Without touching UI, create a firebase backend, database and make the entire thing working. Understand everything about what is needed from firebase and recommendation engine... /grill-me" Executed /grill-me design interview. Resolved decisions: 1) Target Firebase project weekendsahal (native Firestore provisioned), 2) Anonymous Auth first with instant guest session, 3) Hierarchical Firestore schema under /users/{userId}/shelves/..., 4) Gemini 2.5 Flash vibe routing, 5) Isolated non-conflicting sync bridge under src/lib/firebase/.
2 "Can you make it so the other api keys used to fetch cover pages, anime, movie names etc are also functioning" Upgraded src/lib/metadataFallback.ts and app/api/search/route.ts with multi-tier fallback pipelines (AniList + Jikan for anime, TMDB + TVMaze + OMDb + iTunes for movies, Google Books + Open Library for books, iTunes + Deezer for music). Verified AniList and TVMaze return official high-resolution posters even without keys.
3 "You can also do full edit my other agent is done working. You have full access" Obtained full write access to integrate frontend and backend directly. Registered Web and Android apps via Firebase MCP. Configured google-services.json and .env. Installed firebase, firebase-admin, @google/genai. Built app/api/vibe/route.ts, src/lib/firebase/syncBridge.ts, and hooked real-time synchronization into app/page.tsx and src/lib/storage.ts. Restored ARCHITECTURE.md and README.md.
4 "run it on my android phone" Built debug APK (./gradlew installDebug) and installed to physical device TECNO_CN7c (164786766S020745). Configured adb reverse tcp:3000 tcp:3000 and android:usesCleartextTraffic="true" in AndroidManifest.xml. Launched Next.js production server on 0.0.0.0:3000. Successfully launched com.example.tastemem/.MainActivity on the connected smartphone and captured live UI rendering.
5 "run it on my connected android phone" Connected to authorized physical Android phone (TECNO_CN7c, serial 164786766S020745). Re-verified and installed the latest debug build (./gradlew installDebug). Started the mobile Next.js server (npm run dev:mobile on 0.0.0.0:3000), established the USB port forward (adb reverse tcp:3000 tcp:3000), and launched com.example.tastemem/.MainActivity. Captured live screenshot confirming TasteMem whiteboard UI rendered directly on the device screen.
6 "git pish yourself. And can you host and send the apk on github yourself" Executed git push origin main. Created annotated release tag v1.0.0 and pushed to GitHub. Created GitHub Release v1.0.0 via GitHub REST API and uploaded binary asset TasteMem.apk (13.5 MB) directly to the release. Published permanent public direct download URL: https://github.com/Dev-angPatil/qloo-agentic-hackathon/releases/download/v1.0.0/TasteMem.apk.

About

🧠 Qloo Agentic Hackathon β€” Build AI agents with real cultural intelligence. Powered by Qloo's Taste AI and Cultural Graph (250M+ entities across music, film, dining, fashion, travel & more).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages