STRUCTURA GENERALA UI
- Home - 'Your intents' (pnm asta trebuie schimbat) -vezi tot ce vrei sa construiesti Layout: lista de intent cards
fiecare card are:
titlu (“Gaming setup”) progress bar (ex: 60% complete) cost estimat status badge: “Missing items” “Ready to buy” “Needs review”
🎮 Gaming Setup 60% €1320
🍝 Italian Dinner 80% €45
👕 Summer Outfits 30% €220
FAB (important)
➕ “Create Intent”
- Create Intent Input:
text liber:
“gaming setup under 1500€”
Optional: select: budget vibe (cheap / premium / aesthetic)
👉 Koog transformă asta într-un model structurat
- intent detail (core screen)
🧩 STRUCTURĂ 🔝 Header titlu cost total progress bar 🧠 AI Insight Bar (foarte important)
Un banner vizibil:
👉 asta vinde Koog instant
🧱 Sections (auto-generate)
Koog creează secțiuni:
pentru gaming: CPU GPU RAM Peripherals pentru dinner: Ingredients Drinks Tools 🧾 Item Cards
Fiecare item are:
imagine / preview
nume
preț
status:
✅ selected
“Suggested alternatives”
➕ Add Anything (important UX)
Buton mare:
➕ Add item
Options:
paste link upload screenshot write text
👉 totul merge prin Koog
- Comparison Mode
Selectezi 2–3 item-uri:
→ side-by-side comparison
"You don't collect links. You build intent."
IntentCart solves the real problem behind online shopping chaos: you lose the context of your intention. Instead of scattered tabs, screenshots, and WhatsApp links, IntentCart lets you:
- Create an intent — "Gaming setup under 1500€", "Summer outfits minimalist"
- Add anything — links, text, images, notes, even "seen on Instagram"
- Get AI insights — auto-categorization, smart suggestions, budget checks
| Layer | Technology |
|---|---|
| UI | Compose Multiplatform |
| Platforms | Android + Desktop (JVM) |
| Database | Room KMP |
| DI | Koin |
| AI | llama.cpp (via Llamatik) |
| Async | Kotlin Coroutines + Flow |
composeApp/src/
├── commonMain/ # Shared code (UI, logic, data)
│ └── kotlin/com/intentcart/
│ ├── ai/ # AI engine interface + prompts
│ ├── data/ # Room DB, DAOs, repository
│ ├── di/ # Koin modules
│ ├── model/ # Data classes
│ ├── theme/ # Material 3 design system
│ ├── ui/ # Screens + components
│ ├── viewmodel/ # ViewModels
│ └── App.kt # Root composable
├── androidMain/ # Android entry + DB factory
└── desktopMain/ # Desktop entry + DB factory
- JDK 17+
- Android Studio / IntelliJ IDEA
- Android SDK (API 26+)
./gradlew composeApp:run./gradlew composeApp:installDebugIntentCart uses llama.cpp via the Llamatik KMP library for on-device AI:
- Download a GGUF model (e.g. TinyLlama-1.1B-Q4)
- Place it in
models/directory - The
AiEngineinterface atai/AiEngine.ktabstracts the inference - Currently uses a
StubAiEngine— swap with real implementation
- 🏷️ Auto-categorize intents
- 📝 Summarize product links
- 💡 Suggest additional items
- 💰 Budget check
- 😀 Emoji suggestion
Built for HackITAll 2026 🚀