Skip to content
ย 
ย 

Latest commit

ย 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FinoraAI โ€” Agentic Financial Intelligence Platform

๐Ÿง  Your CFO Twin ยท Powered by AI
AI Seekho Hackathon 2026 โ€” Challenge 1: Autonomous Content-to-Action Agent


๐Ÿ“– What is FinoraAI?

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.


๐Ÿ—๏ธ Tech Stack

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

๐Ÿ“ Architecture Overview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   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            โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“‚ Project Structure

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

๐Ÿ–ฅ๏ธ Screen Walkthrough (13 Screens)

Flow Diagram

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)

1. Splash Screen

screens/splash/SplashScreen.kt

Cinematic brand reveal with 4 animation phases:

  1. Particle burst background with 30 floating orbs
  2. Logo bounces in with spring(DampingRatioMediumBouncy)
  3. "FinoraAI" title slides up with low-bounce spring
  4. Subtitle fades in, loading dots pulse with staggered delays

Auto-navigates to Login after ~2.5 seconds.


2. Login Screen

screens/login/LoginScreen.kt

Glass-morphism design with:

  • 4 ambient floating orbs (Canvas with infiniteTransition)
  • Slide-up form card with email/password fields
  • Google Sign-In button with gradient border
  • Loading spinner on auth

3. Home Dashboard

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

4. Source Selection

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

5. War Room โญ (WOW Feature)

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

6. Insight Report

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

7. Action Chain

screens/actionchain/ActionChainScreen.kt

Vertical stepper showing 5 dependency-ordered actions:

  1. Validate Stock Count ๐Ÿ“
  2. Notify Procurement Manager ๐Ÿ“ฉ (requires approval badge)
  3. Emergency Order Simulation ๐Ÿ”ฎ (budget exceeded โ†’ auto-adjusted โ‚จ500k โ†’ โ‚จ350k)
  4. Update Delivery Estimates ๐Ÿ“
  5. Schedule 24-Hour Monitoring โฐ

Each step has: numbered circle, accent line connector, constraint badges, approval toggles.


8. Execution Tracker

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)

9. Ghost Ledger Camera โญโญ (SURPRISE Feature)

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

10. Ghost Ledger Review

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

11. What-If Simulator

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

12. Scenario Battle

screens/simulator/ScenarioBattleScreen.kt

Racing cashflow curves on dark canvas:

  • 3 scenarios rendered as animated Path curves 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

13. Audit Trail + Detail

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

๐ŸŽจ Design System

Color Palette (from palette.scss)

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

Semantic Colors

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)

Theme Switching

The app supports dark mode (default) and light mode with smooth animateColorAsState transitions. Toggle via the โ˜€๏ธ/๐ŸŒ™ icon on the Home Dashboard top bar.


๐ŸŽฌ Animation Reference

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.


๐Ÿš€ Build & Run Instructions

Prerequisites

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

Step 1: Clone the Repository

git clone https://github.com/your-team/finora-ai.git
cd finora-ai

Step 2: Open in Android Studio

File โ†’ Open โ†’ Select the `android/` directory

Important: Open the android/ folder specifically, not the root finora-ai/ folder. Android Studio needs settings.gradle.kts at the project root.

Step 3: Sync Gradle

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

Step 4: Build the Project

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 check

The APK output will be at:

android/app/build/outputs/apk/debug/app-debug.apk

Step 5: Run on Device/Emulator

Option A โ€” Emulator:

  1. Open Device Manager in Android Studio (Tools โ†’ Device Manager)
  2. Create a new device: Pixel 7 with API 34 system image
  3. Click โ–ถ Run (or Shift+F10)

Option B โ€” Physical Device:

  1. Enable Developer Options on your Android phone
  2. Enable USB Debugging
  3. Connect via USB cable
  4. Select your device in the run configuration dropdown
  5. 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.MainActivity

Step 6: (Optional) Firebase Setup

To enable authentication and push notifications:

  1. Go to Firebase Console
  2. Create a new project "FinoraAI"
  3. Add an Android app with package com.finora.ai
  4. Download google-services.json
  5. Place it in android/app/google-services.json
  6. 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")
  7. Uncomment the plugin in android/build.gradle.kts:
    id("com.google.gms.google-services") version "4.4.0" apply false
  8. Re-sync Gradle

๐Ÿงช Common Gradle Commands

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

๐Ÿ“Š Performance Targets

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

๐Ÿ’ฐ Cost Targets (per session)

Service Estimated Cost
Gemini Pro (analysis) ~$0.02
Gemini Vision (OCR) ~$0.005
Blockchain tx (Mumbai testnet) $0.00
Total per session ~$0.025

๐Ÿง‘โ€๐Ÿ’ป Team Task Split

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

๐Ÿ“‹ Known Limitations

  • Mock Data: All screens currently use inline mock data (no API calls yet)
  • Firebase: Auth is bypassed (Login โ†’ Home directly) until google-services.json is added
  • Camera: Ghost Ledger uses a placeholder; real CameraX preview needs physical device
  • WebSocket: War Room simulates agent events locally; needs backend /ws/agent-feed connection
  • Charts: Scenario Battle uses custom Canvas; MPAndroidChart integration pending for production curves

๐Ÿ“„ License

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

About

AI-powered CFO Assistant built at hackathon. Automates financial intelligence, reporting, and decision support for businesses using LLMs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages