๐ง Your CFO Twin ยท Powered by AI
AI Seekho Hackathon 2026 โ Challenge 1: Autonomous Content-to-Action Agent
FinoraAI is not a dashboard โ it is a CFO Twin: a living, breathing financial brain that ingests chaotic real-world data (handwritten ledgers, PDFs, CSVs, live feeds), resolves contradictions, simulates futures, and executes multi-step action chains โ all with an immutable audit trail on-chain.
North Star Metric: A founder asks "Can we afford 5 more hires?" and Finora answers in under 10 seconds with a full multi-step action chain, scenario simulation, and confidence-scored recommendation.
| Layer | Technology |
|---|---|
| Mobile App | Kotlin ยท Jetpack Compose ยท Material3 |
| Architecture | MVVM + Repository Pattern |
| Navigation | Compose Navigation with animated transitions |
| Networking | Retrofit2 + OkHttp (REST) ยท Ktor (WebSocket) |
| Camera | CameraX + ML Kit (edge detection) |
| Charts | MPAndroidChart + Custom Canvas |
| Local DB | Room (offline caching) |
| DI | Hilt (Dagger) |
| Auth | Firebase Auth (Google Sign-In) |
| Push | Firebase Cloud Messaging (FCM) |
| Backend | FastAPI ยท LangGraph ยท Gemini Pro |
| Automation | n8n workflows |
| Blockchain | Solidity ยท Polygon Mumbai Testnet |
| Infra | Docker ยท Google Cloud Run |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Android App (Kotlin) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ UI Layer (Jetpack Compose + Material3) โ โ
โ โ โโโ Screens (13 screens) โ โ
โ โ โโโ Components (9 reusable) โ โ
โ โ โโโ Theme (Dark + Light + Animations) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Navigation (Compose NavHost + transitions) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ ViewModel Layer (StateFlow + LiveData) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ Data Layer โ โ
โ โ โโโ Repository (API + Local DB) โ โ
โ โ โโโ Retrofit (REST) + Ktor (WebSocket) โ โ
โ โ โโโ Room (Offline Cache) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HTTPS / WSS
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Backend (FastAPI + LangGraph) โ
โ โโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโ โ
โ โIngestionโ โ Insight โ โContradict.โ โ Action โ โ
โ โ Agent โ โ Analyst โ โ Detector โ โExecutorโ โ
โ โโโโโโฌโโโโโ โโโโโโฌโโโโโโ โโโโโโโฌโโโโโโ โโโโโฌโโโโโ โ
โ โโโโโโโโโโโโฌโโดโโโโโโโโโโโโโ โ โ
โ Orchestrator Agent (Gemini Pro) โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ QuantLib โ โ n8n โ โ Blockchain โ
โ โMonte Carlโ โWorkflows โ โ Audit Logger โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
finora-ai/
โโโ README.md
โโโ ToDo.md # Master development plan
โโโ palette.scss # Design color palette
โโโ android/ # ๐ฑ Kotlin Android App
โโโ build.gradle.kts # Project-level plugins
โโโ settings.gradle.kts # Module configuration
โโโ gradle.properties # Build properties
โโโ app/
โโโ build.gradle.kts # App dependencies & config
โโโ src/main/
โโโ AndroidManifest.xml # Permissions & activity
โโโ res/values/
โ โโโ themes.xml # Edge-to-edge base theme
โโโ java/com/finora/ai/
โโโ MainActivity.kt # Entry point + scaffold
โโโ FinoraApplication.kt # App-level init
โ
โโโ data/model/
โ โโโ Models.kt # 20+ domain models
โ
โโโ ui/
โโโ theme/
โ โโโ Color.kt # 40+ color tokens
โ โโโ Theme.kt # Dark & Light schemes
โ โโโ Type.kt # Typography scale
โ โโโ Shape.kt # Corner radius system
โ
โโโ navigation/
โ โโโ Navigation.kt # 14 routes + transitions
โ โโโ NavGraph.kt # Full nav wiring
โ
โโโ components/
โ โโโ Components.kt # 9 reusable components
โ
โโโ screens/
โโโ splash/SplashScreen.kt
โโโ login/LoginScreen.kt
โโโ home/HomeScreen.kt
โโโ analysis/SourceSelectionScreen.kt
โโโ warroom/WarRoomScreen.kt
โโโ insight/InsightReportScreen.kt
โโโ actionchain/ActionChainScreen.kt
โโโ execution/ExecutionTrackerScreen.kt
โโโ ghostledger/GhostLedgerCameraScreen.kt
โโโ ghostledger/GhostLedgerReviewScreen.kt
โโโ simulator/SimulatorScreen.kt
โโโ simulator/ScenarioBattleScreen.kt
โโโ audit/AuditTrailScreen.kt
โโโ audit/AuditDetailScreen.kt
Splash โ Login โ Home Dashboard
โโโ [+] New Analysis โ Source Selection โ War Room โญ โ Insight Report โ Action Chain โ Execution Tracker
โโโ [๐ท] Scan Ledger โ Ghost Ledger Camera โญโญ โ OCR Review (confidence halos)
โโโ [๐ฎ] What-If Simulator โ Scenario Battle โ๏ธ (racing curves)
โโโ [๐] Audit Trail โ Audit Detail (blockchain proof)
screens/splash/SplashScreen.kt
Cinematic brand reveal with 4 animation phases:
- Particle burst background with 30 floating orbs
- Logo bounces in with
spring(DampingRatioMediumBouncy) - "FinoraAI" title slides up with low-bounce spring
- Subtitle fades in, loading dots pulse with staggered delays
Auto-navigates to Login after ~2.5 seconds.
screens/login/LoginScreen.kt
Glass-morphism design with:
- 4 ambient floating orbs (
CanvaswithinfiniteTransition) - Slide-up form card with email/password fields
- Google Sign-In button with gradient border
- Loading spinner on auth
screens/home/HomeScreen.kt
The financial command center featuring:
- Top Bar: "Good morning, [Name] ยท Finora is watching ๐" with pulsing green dot
- Cashflow River Card: Animated sine-wave water that changes color by health score:
- Green (โฅ70) โ fast flowing
- Amber (40-69) โ slow
- Red (<40) โ danger
- KPI Strip: Runway days, Balance, Burn Rate, MoM Change
- Quick Action Grid: 4 cards โ New Analysis, Scan Ledger, Simulate, Audit
- Alert Feed: Staggered entrance cards with color-coded accent bars
- Theme Toggle: Dark โ Light mode switch in the top bar
- Expandable FAB: Staggered sub-action buttons with scale + bounce animations
screens/analysis/SourceSelectionScreen.kt
Multi-select data sources for analysis:
- 6 source types: PDF, URL, CSV, Real-Time Feed, Ghost Ledger, Google Sheets
- Animated toggle cards with scale bounce on selection
- Upload area expands below selected sources
- Sticky bottom bar slides in when sources are selected
- "Start Analysis โก" button triggers War Room
screens/warroom/WarRoomScreen.kt
Cinematic live analysis visualization โ full-screen dark mode:
- Animated Background: Neon grid lines + 16 floating particles
- Stress-O-Meter: Circular gauge updating in real-time (85 โ 45 โ 62 โ 72)
- Contradiction Flash: Full-screen red overlay with "โก CONFLICT DETECTED" banner
- Agent Thought Bubbles: Sequential cards sliding in with color-coded accent bars:
- Turquoise = Step Start
- Green = Complete
- Teal = Tool Call
- Mint = Insight Found
- Red = Contradiction Detected
- Progress Bar: Animated with percentage counter
- Auto-transitions to Insight Report on completion
screens/insight/InsightReportScreen.kt
Tabbed analysis results with HorizontalPager:
- Insights Tab: Signal cards (revenue decline, burn rate warning, inventory critical)
- Contradictions Tab: Side-by-side source comparison with green winner highlight
- Example: Warehouse CSV (500 units, 3 weeks old) vs Ghost Ledger (287 units, 1 day old) โ Ghost Ledger wins โ
- Risks Tab: Probability-scored risk cards
- Opportunities Tab: Value-scored opportunity cards
- "Generate Action Plan โก" CTA at bottom
screens/actionchain/ActionChainScreen.kt
Vertical stepper showing 5 dependency-ordered actions:
- Validate Stock Count ๐
- Notify Procurement Manager ๐ฉ (requires approval badge)
- Emergency Order Simulation ๐ฎ (budget exceeded โ auto-adjusted โจ500k โ โจ350k)
- Update Delivery Estimates ๐
- Schedule 24-Hour Monitoring โฐ
Each step has: numbered circle, accent line connector, constraint badges, approval toggles.
screens/execution/ExecutionTrackerScreen.kt
Animated state machine per action:
- Queued โ Running (pulsing amber dot) โ Success โ / Failed โ
- Failed action shows retry โ recovery โ success
- Confetti animation on completion ("๐๐โจ All Actions Complete! โจ๐๐")
- Summary Card: Actions executed (5/5), Retries (1), Total time (4.8s), Est. cost ($0.034)
screens/ghostledger/GhostLedgerCameraScreen.kt
Live edge-detection camera overlay:
- Animated scan line sweeping vertically
- Dashed table boundary detection rectangle
- Corner markers at all 4 corners
- Pulsing border opacity
- Capture button (floating circular FAB)
- Processing overlay: "Gemini is reading your ledger..." with spinner
screens/ghostledger/GhostLedgerReviewScreen.kt
Per-cell confidence color coding (the "confidence halos"):
- ๐ข Green border: confidence โฅ 0.9
- ๐ก Yellow border: confidence 0.7โ0.9 (pulsing)
- ๐ด Red border +
โ ๏ธ : confidence < 0.7 (fast pulse, tap to edit) - Horizontally scrollable extracted table
- Legend bar showing color meanings
- Overall confidence score (78%)
- "Confirm & Add to Session ๐" โ writes SHA-256 hash to blockchain
screens/simulator/SimulatorScreen.kt
Natural language scenario input:
- Text field: "What if I hire 5 engineers at PKR 90k each?"
- Live parameter extraction: chips appear as you type (
hire_count: 5,salary: 90k,monthly_cost: 450k) - One-tap stress tests: 4 pre-configured scenarios
- Revenue drops 20% for 3 months
- Supplier raises prices 15%
- PKR/USD increases 10%
- Largest customer churns
- "Run Scenario Battle โ๏ธ" button
screens/simulator/ScenarioBattleScreen.kt
Racing cashflow curves on dark canvas:
- 3 scenarios rendered as animated
Pathcurves racing to 12-month mark - Red danger zone overlay at bottom 30% of chart
- Dashed danger threshold line
- Curves draw progressively over ~4 seconds
- Winner Card bounces in with crown ๐:
- Name, Runway (186 days), Balance (โจ5.1M), Confidence (87%)
- "Save Scenario" button
screens/audit/AuditTrailScreen.kt+AuditDetailScreen.kt
Blockchain-secured audit log:
- Chronological list with color-coded action types (OCR, Contradiction, Action, Simulation)
- Transaction hash, document hash per entry
- Filter button for type/date filtering
- "Export Audit PDF" button
- Detail screen: Full tx details (block number, network, gas), 5-step reasoning trace, PolygonScan link
| Name | Hex | Usage |
|---|---|---|
| Ink Black | #060B0F |
Dark background |
| Jet Black | #03272B |
Dark surface |
| Dark Teal | #004346 |
Primary (light), containers |
| Mint Leaf | #09BC8A |
Primary accent, CTAs |
| Turquoise | #3FCDB4 |
Secondary accent |
| Pearl Aqua | #75DDDD |
Tertiary, info elements |
| Purpose | Color |
|---|---|
| Success | #09BC8A (Mint Leaf) |
| Warning | #F5A623 (Amber) |
| Danger | #E74C5E (Red) |
| Critical Pulse | #FF3B5C (Hot Red) |
| Neon Mint | #00FFB3 (War Room glow) |
| Neon Cyan | #00F0FF (War Room accent) |
The app supports dark mode (default) and light mode with smooth animateColorAsState transitions. Toggle via the โ๏ธ/๐ icon on the Home Dashboard top bar.
| Category | Animations Used |
|---|---|
| Entrance | fadeIn, slideInVertically, slideInHorizontally, scaleIn, expandVertically |
| Exit | fadeOut, slideOutVertically, scaleOut, shrinkVertically |
| Infinite | infiniteTransition for pulses, waves, particles, scan lines |
| Spring | DampingRatioLowBouncy for card entrances, DampingRatioMediumBouncy for buttons |
| Canvas | Sine-wave water, neon particles, gauge arcs, scan lines, racing curves |
| State | animateColorAsState, animateFloatAsState, animateIntAsState |
All transitions use FastOutSlowInEasing for enter and FastOutLinearInEasing for exit to feel natural and responsive.
| Tool | Version | Download |
|---|---|---|
| Android Studio | Hedgehog (2023.1.1) or newer | developer.android.com |
| JDK | 17+ | Bundled with Android Studio |
| Android SDK | API 34 (Android 14) | Via SDK Manager |
| Kotlin | 1.9.22 | Via Gradle plugin |
git clone https://github.com/your-team/finora-ai.git
cd finora-aiFile โ Open โ Select the `android/` directory
Important: Open the
android/folder specifically, not the rootfinora-ai/folder. Android Studio needssettings.gradle.ktsat the project root.
Android Studio will auto-detect the Gradle files and prompt you to sync. Click "Sync Now" in the notification bar, or:
File โ Sync Project with Gradle Files
This downloads all dependencies (~200MB on first sync):
- Jetpack Compose BOM 2024.02
- Material3, Navigation, Animation
- Retrofit2, OkHttp, Ktor
- CameraX, Room, Coroutines
Via Android Studio:
Build โ Make Project (or Ctrl+F9)
Via Command Line:
cd android
# Debug build
./gradlew assembleDebug
# Release build (requires signing config)
./gradlew assembleRelease
# Run all checks
./gradlew checkThe APK output will be at:
android/app/build/outputs/apk/debug/app-debug.apk
Option A โ Emulator:
- Open Device Manager in Android Studio (Tools โ Device Manager)
- Create a new device: Pixel 7 with API 34 system image
- Click โถ Run (or
Shift+F10)
Option B โ Physical Device:
- Enable Developer Options on your Android phone
- Enable USB Debugging
- Connect via USB cable
- Select your device in the run configuration dropdown
- Click โถ Run
Option C โ Command Line:
# List connected devices
adb devices
# Install and run
./gradlew installDebug
adb shell am start -n com.finora.ai.debug/com.finora.ai.MainActivityTo enable authentication and push notifications:
- Go to Firebase Console
- Create a new project "FinoraAI"
- Add an Android app with package
com.finora.ai - Download
google-services.json - Place it in
android/app/google-services.json - Uncomment Firebase dependencies in
android/app/build.gradle.kts:// Remove the // comment prefix from these lines: implementation(platform("com.google.firebase:firebase-bom:32.7.0")) implementation("com.google.firebase:firebase-auth-ktx") implementation("com.google.firebase:firebase-messaging-ktx")
- Uncomment the plugin in
android/build.gradle.kts:id("com.google.gms.google-services") version "4.4.0" apply false
- Re-sync Gradle
cd android
# Build
./gradlew assembleDebug # Build debug APK
./gradlew assembleRelease # Build release APK
./gradlew bundleRelease # Build AAB (for Play Store)
# Install
./gradlew installDebug # Install on connected device
./gradlew uninstallDebug # Uninstall debug build
# Test
./gradlew test # Run unit tests
./gradlew connectedAndroidTest # Run instrumented tests
# Clean
./gradlew clean # Clean build outputs
./gradlew clean assembleDebug # Clean + rebuild
# Info
./gradlew dependencies # Show dependency tree
./gradlew signingReport # Show signing info
./gradlew lint # Run lint checks| Operation | Target Latency |
|---|---|
| App cold start | < 1.5s |
| Screen transition | < 400ms |
| PDF ingestion | < 2s |
| Full analysis (5 docs) | < 15s |
| Monte Carlo (1000 paths) | < 3s |
| Ghost Ledger OCR | < 5s |
| WebSocket first event | < 1s |
| Service | Estimated Cost |
|---|---|
| Gemini Pro (analysis) | ~$0.02 |
| Gemini Vision (OCR) | ~$0.005 |
| Blockchain tx (Mumbai testnet) | $0.00 |
| Total per session | ~$0.025 |
| Member | Focus Area |
|---|---|
| Lead AI Engineer | LangGraph agents + Gemini integration + Antigravity |
| Backend Engineer | FastAPI endpoints + PostgreSQL + n8n workflows |
| Android Engineer | Kotlin app โ all screens + WebSocket + CameraX |
| Full-Stack / Blockchain | QuantLib simulations + Solidity contract + Web3 bridge |
| All | Demo scenario data prep + video recording |
- Mock Data: All screens currently use inline mock data (no API calls yet)
- Firebase: Auth is bypassed (Login โ Home directly) until
google-services.jsonis added - Camera: Ghost Ledger uses a placeholder; real CameraX preview needs physical device
- WebSocket: War Room simulates agent events locally; needs backend
/ws/agent-feedconnection - Charts: Scenario Battle uses custom Canvas; MPAndroidChart integration pending for production curves
This project is built for the AI Seekho Hackathon 2026. All rights reserved by the FinoraAI team.
Last updated: May 2026 ยท FinoraAI ยท AI Seekho Hackathon 2026
Taha Ahmed Zara Tahir Minahal Salahuddin Muskan Ahmed Burhan Aslam :) haha