EcoLafaek Mobile App β
π AWS AI Agent Global Hackathon β
This Flutter mobile app is part of EcoLafaek's AWS AI Agent Global Hackathon submission, showcasing how mobile applications integrate with autonomous AI agents powered by Amazon Bedrock AgentCore for intelligent environmental monitoring.
π€ AI Integration Flow: β
- Report Submission β FastAPI Backend (AgentCore Runtime) β AI Analysis
- Image Analysis β Amazon Bedrock Nova-Pro β Waste Classification
For detailed AI agent architecture, see Backend README.
π± About β
EcoLafaek Mobile is a citizen-focused mobile application that empowers residents of Timor-Leste to report waste issues and track their environmental impact. The app provides a streamlined experience for waste reporting with intelligent AI analysis and meaningful progress tracking.
π± How The App Works β
πΈ Waste Reporting Process β
- Capture: Take a photo of the waste issue using your phone's camera
- Location: GPS automatically captures the exact location of the problem
- Submit: Add optional description and submit the report instantly
- AI Analysis: Amazon Bedrock Nova-Pro automatically identifies waste types (plastic, organic, metal, etc.)
- Tracking: Monitor your report status from submitted β analyzing β analyzed β resolved
πΊοΈ Interactive Mapping β
- Personal Reports: See all your submitted reports plotted on the map
- Location Context: Understand waste patterns by geographic distribution
π App Screens β
π Login / Registration β
User authentication and account creation.


π Home Dashboard β
Overview of user's reports and statistics.

π Report Creation β
Form for submitting waste reports with photos and location.



πΊοΈ Map View β
Geographic display of submitted reports.

π Report Details β
Detailed view of submitted reports with status updates.

π€ Profile β
User account management and settings.

π Stats β
Detailed view of user and general reporting stats.




π₯οΈ Technical Overview β
System Architecture β
Complete system architecture: See Diagram/README.md for detailed architecture documentation.
AI-Powered Processing: The EcoLafaek mobile app integrates with an autonomous AI agent backend powered by Amazon Bedrock AgentCore. Images are analyzed using Amazon Nova-Pro v1 for waste classification, with embeddings generated by Amazon Titan Embed for semantic search capabilities. The agent autonomously executes multi-round tool calling to process reports, generate analytics, and provide intelligent insights.
Technology Stack β
Mobile App (Flutter) β
EcoLafaek is built with Flutter, providing a cross-platform solution for both Android and iOS users. The app follows a provider-based state management pattern with a clean, modular architecture.
- Frontend: Flutter/Dart
- State Management: Provider
- Backend Integration: HTTP/REST API
- Maps: Flutter Map (OpenStreetMap)
- Authentication: JWT Token-based auth
Backend & AI Infrastructure β
The backend leverages AWS services and autonomous AI agent technology:
- API Server: FastAPI (Python) running on Amazon Bedrock AgentCore runtime
- AI Analysis: Amazon Bedrock Nova-Pro v1 for waste classification
- Autonomous Agent: Multi-round tool calling with AgentCore Code Interpreter & Browser
- Vector Embeddings: Amazon Titan Embed Image v1 (1024-dimensional)
- Image Storage: AWS S3 with organized folder structure
- Database: Distributed SQL with vector search support
- Deployment: AWS Lightsail (Ubuntu 22.04)
Dependencies β
provider: ^6.0.5http: ^1.1.0flutter_map: ^5.0.0latlong2: ^0.9.0geolocator: ^10.0.0image_picker: ^1.0.4cached_network_image: ^3.3.0flutter_secure_storage: ^9.0.0shared_preferences: ^2.2.1intl: ^0.18.1animate_do: ^3.1.2
Full dependencies in pubspec.yaml
π Getting Started β
Prerequisites β
- Flutter SDK (3.13.0 or later)
- Dart SDK (3.1.0 or later)
- Android Studio / XCode
- Git
Installation β
- Clone the repository:
git clone https://github.com/ajitonelsonn/EcoLafaek.git
cd EcoLafaek/ecolafaek- Install dependencies:
flutter pub get- Create
.env.developmentfile with required environment variables:
API_BASE_URL=https://www.ecolafaek.xyz- Run the app:
flutter runπ Project Structure β
lib/
βββ main.dart # App entry point with provider setup
βββ config/
β βββ theme.dart # App-wide theme configuration
βββ models/ # Data models
β βββ report.dart # Waste report data structure
β βββ user.dart # User profile model
β βββ waste_type.dart # Waste classification types
βββ providers/ # State management (Provider pattern)
β βββ auth_provider.dart # User authentication & session
β βββ location_provider.dart # GPS location services
β βββ report_provider.dart # Report CRUD operations
β βββ stats_provider.dart # Analytics & impact metrics
βββ screens/ # Main app screens
β βββ home_screen.dart # Dashboard with report tracking
β βββ login_screen.dart # User authentication
β βββ register_screen.dart # User registration
β βββ report_screen.dart # Waste report submission
β βββ map_screen.dart # Interactive map with reports
β βββ stats_screen.dart # Personal impact analytics
β βββ profile_screen.dart # User account management
β βββ report_detail_screen.dart # Individual report details
β βββ otp_verification_screen.dart # Email verification
βββ services/ # External service integrations
β βββ api_service.dart # Backend API communication
β βββ auth_service.dart # JWT token management
β βββ storage_service.dart # Local data persistence
βββ widgets/ # Reusable UI components
β βββ loading_widget.dart # EcoLafaek crocodile loader
β βββ loading_indicator.dart # Compact loading states
β βββ report_card.dart # Report display cards
β βββ report_tracking_widget.dart # Modern progress dashboard
β βββ custom_button.dart # Themed buttons
βββ utils/ # Helper functions
βββ navigation_utils.dart # Route management
βββ date_utils.dart # Date formattingFor Judges β
To review and test the app, judges can easily download the mobile app and login using the following credentials:
Login Credentials β
| Username | Password |
|---|---|
| usertest | 1234abcd |
π Additional Documentation β
- β‘ Backend API: ../mobile_backend/README.md
- π Public Dashboard: ../ecolafaek_public_dahboard/README.md
- π¨βπΌ Admin Panel: ../ecolafaek_admin_panel/README.md
- ποΈ Database Schema: ../database/README.md
- π System architecture: ../Diagram/README.md
- π Main Project: ../README.md

Built with β€οΈ for Timor-Leste | AWS AI Agent Global Hackathon
