-
-
PROXIMA dashboard showing verified Cloud AI, Gemini Nano on-device AI, and offline agricultural knowledge.
-
PROXIMA’s Crop Scanner combines Firebase AI analysis and offline vision to help farmers identify crop symptoms and receive guidance.
-
PROXIMA’s multilingual AI Assistant offers agricultural guidance through intelligent Cloud AI and offline knowledge routing.
-
Crop History lets farmers review saved crop inspections and track plant health over time. Records are stored locally and can sync.
-
Offline agricultural guides covering crop care, soil, water, pests, nutrition, and sustainable farming.
-
PROXIMA Settings — Verified Cloud AI using Firebase AI Logic.
-
PROXIMA Settings verifies Firebase Cloud AI, Gemini Nano, and offline hybrid routing.
Inspiration
Agriculture depends on timely information, but farmers may not always have reliable internet connectivity or access to expert agricultural guidance. We wanted to explore how AI could make agricultural assistance more accessible, especially in situations where connectivity is limited or unavailable.
Our inspiration was to build an agricultural AI assistant that does not depend entirely on the cloud. Instead, we combined cloud intelligence, browser-based on-device AI, and offline agricultural knowledge into one hybrid system.
What it does
PROXIMA — Intelligence Beyond Connectivity is a hybrid AI agricultural assistant designed to help users access agricultural guidance across different connectivity conditions.
Its key features include:
Cloud AI: AI-powered agricultural assistance using Firebase AI Logic.
On-device AI: Browser-native Gemini Nano inference on compatible devices and browsers.
Offline Knowledge Base: Eight curated agricultural guides available without internet connectivity.
Crop Scanner: Image-based crop analysis with clearly distinguished AI and basic image-processing capabilities.
AI Assistant: Multilingual agricultural assistance supporting natural-language questions.
Hybrid Routing: Automatically selects available capabilities or allows users to choose between cloud, on-device, and offline modes.
Crop History and Knowledge Library: Organizes agricultural interactions and provides access to curated information.
PROXIMA is designed to provide useful assistance even when cloud connectivity is unavailable, while clearly identifying the source and capabilities of each response.
How we built it
We developed PROXIMA as a web-based application with a hybrid AI architecture.
The cloud intelligence layer uses Firebase AI Logic for AI-powered responses. The on-device intelligence layer integrates the browser's native Language Model API, enabling Gemini Nano inference on supported devices. We tested actual on-device inference in a top-level Chrome environment and successfully verified a response generated locally on our device.
For offline functionality, we implemented a curated knowledge base containing eight agricultural guides, along with local retrieval and fallback mechanisms.
We also developed a hybrid routing system with four modes:
AUTO: Selects an available capability.
PREFER_CLOUD: Prioritizes cloud intelligence.
PREFER_ON_DEVICE: Prioritizes supported local inference.
OFFLINE_ONLY: Restricts responses to local offline resources.
The interface was designed to clearly communicate connectivity, AI availability, verification status, and the source of responses.
Challenges we ran into
One of our biggest challenges was distinguishing actual AI inference from API availability. An API being present does not necessarily mean that a model is ready or that inference has succeeded.
We also encountered browser restrictions when testing Gemini Nano inside an embedded preview. The Language Model API was blocked in that environment, even though it was available on our device. We solved this testing issue by exporting the application and running it in a top-level browser context through a local HTTP server.
Another challenge was designing a reliable fallback system so that the application would not falsely claim that cloud or on-device AI was working when it was unavailable.
Accomplishments that we're proud of
We are proud of building a hybrid agricultural AI experience that combines multiple intelligence sources in one application.
Our major accomplishments include:
Successfully integrating Firebase AI Logic cloud inference.
Successfully verifying actual Gemini Nano on-device inference on a compatible Chrome environment.
Building an offline knowledge base with eight curated agricultural guides.
Implementing multiple hybrid routing modes.
Creating transparent capability and response-source indicators.
Designing PROXIMA around the principle that agricultural intelligence should remain useful beyond connectivity.
What we learned
We learned that building a hybrid AI application involves much more than connecting AI APIs. Reliable capability detection, inference verification, browser compatibility, privacy considerations, fallback behavior, and user transparency are equally important.
We also learned how browser-native AI can complement cloud AI, potentially enabling applications to remain useful when internet connectivity is limited.
What's next for PROXIMA — Intelligence Beyond Connectivity
Our vision is to continue developing PROXIMA into a more capable agricultural intelligence platform.
Future improvements may include expanding the agricultural knowledge base, improving crop disease identification, adding more locally relevant agricultural guidance, testing on a wider range of devices and browsers, and improving offline accessibility.
Our goal is simple: make agricultural intelligence more accessible, resilient, and useful—wherever connectivity exists, and even where it doesn't.
