About the Project: NanoBot
🎯 Selected Category
Education & Human Potential (Primary) & Small Business Services
💡 Inspiration: Bridging the "AI Shadow"
While modern AI advances at an unprecedented pace, accessing massive large language models (LLMs) often requires expensive subscription plans or high-end GPU hardware. As a result, users on budget hardware like Chromebooks, students, or communities in developing regions frequently find themselves in the "AI shadow," unable to utilize these modern tools.
We built NanoBot to address this digital divide and support "AI for Everyone". By combining the power of local Small Language Models (SLMs) with a robust Google Cloud fallback, we created a sustainable, cost-effective, and privacy-preserving AI workspace directly inside the browser.
🚀 What It Does (AI-Native Operations)
NanoBot is a lightweight, premium Chrome Extension (Manifest V3) that turns your browser into an on-device AI workspace, running its core operations natively through AI:
- Dual-Engine AI Architecture (Gemini Nano + Google Cloud):
- Local Tier: Runs local inference inside your browser for tasks like memos, summarization, and quick edits.
- Cloud Tier: Seamlessly routes complex, large-token queries to the Google Cloud Gemini API, ensuring no task is too heavy for the user.
- Lingo Tutor (Education): A localized daily language learning tool featuring a beautiful Lingo Card UI. It optimizes target languages, difficulty levels, and age-specific tones using AI.
- Active Browser Integration: Scrapes and summarizes the active tab in 3 lines or evokes quick tooltips (Summarize/Translate) on inline text selections.
- Buddy (Persona Chat): 10 curated AI personalities with secure local storage, password-protected encrypted diaries, and custom Text-to-Speech (TTS).
💼 Business Viability & Go-To-Market Strategy
Building a business is about proving demand. During the 90-day hackathon window, our primary business objective was Market Penetration and User Acquisition through a strategic Freemium model.
- Phase 1 Strategy (Current): Zero-Friction Acquisition By utilizing on-device Gemini Nano, our server costs for basic AI tasks are effectively $0. This allowed us to release the core NanoBot extension for free, rapidly acquiring early adopters and validating product-market fit without burning capital.
- Current Traction: We recently launched on the Chrome Web Store, successfully securing a dedicated cohort of early adopters through organic discovery. Rather than purely optimizing for immediate scale, our current phase focuses on deep user engagement. We are actively gathering real-world execution logs and qualitative UX feedback to continuously refine the local AI's prompt accuracy and ensure a flawless workflow integration.
- Phase 2 Strategy (Monetization & Revenue): While Phase 1 generated $0 in direct revenue to maximize user growth, our monetization pipeline is fully designed. We are integrating Stripe Billing to launch the NanoBot Cloud Premium tier. Users exceeding the local model's capabilities or requesting deep-research tasks will be routed to the Google Cloud Gemini API under a $9.99/month SaaS subscription. The business model is highly sustainable because the free tier costs us nothing to host.
🛠️ How We Built It & Platform Integration
NanoBot is crafted using modern, robust frontend technologies (React, TypeScript, Vite) on the Manifest V3 architecture.
The Google Cloud & Gemini Integration:
- On-Device AI Engine: We heavily utilized Chrome's experimental Prompt API (Gemini Nano) for 90% of daily micro-tasks (text correction, basic summarization).
- Google Cloud Gemini API (The Heavy Lifter): For tasks requiring deep reasoning, massive context windows (like summarizing long PDFs), or specific multilingual nuances beyond the local model's scope, the extension automatically hands off the prompt to the Google Cloud Gemini API. This hybrid approach guarantees enterprise-grade performance while maintaining budget-friendly operations.
⚡ Challenges We Ran Into
Developing a production-ready AI agent inside a browser environment presented several unique engineering challenges:
1. Service Worker Lifecycle in Manifest V3
Under Manifest V3, background service workers are terminated after periods of inactivity, breaking the local AI session.
- Solution: We implemented an Auto Session Recovery mechanism that silently re-initializes the session without interrupting the user conversation.
2. Chrome Web Store Policy Compliance (eval() Ban)
To implement the Smart Calculator, traditional approaches use JavaScript's eval() function, which violates Chrome Web Store's strict security guidelines.
- Solution: We built a custom Mathematical Tokenizer and Parser from scratch. This allows safe and sandboxed evaluation of complex math without compromising user security.
🏆 Accomplishments That We're Proud Of
- Cost-Efficient Intelligence Proved: We mathematically proved and implemented a system where everyday tasks can be offloaded locally, eliminating API cost overheads for the free tier: $$Cost_{saved} = \sum_{i=1}^{N} \left( ext{Prompt_Tokens}i imes ext{Price}{ ext{cloud}} + ext{Completion_Tokens}i imes ext{Price}{ ext{cloud}} ight)$$
- Flawless Micro-Interactions: We achieved a native app feel inside a browser panel with spring-physics animations, aurora glow borders, and dual-sided state sync.
📚 What We Learned
- Hybrid is the Future: We realized that while Gemini Nano is incredible for $90\%$ of tasks, the seamless fallback to Google Cloud Gemini API is strictly necessary to build a complete, frustration-free business product.
- Browser Limitations: Designing for Manifest V3 forced us to write highly efficient, event-driven background scripts that manage state asynchronously.
🔮 What's Next for NanoBot
- Monetization Rollout: Launching the Stripe-integrated SaaS tier to monetize the Google Cloud Gemini API pipeline.
- Workplace Cost-Savings Dashboard: Build a visual dashboard tracking cumulative API dollars saved by utilizing Gemini Nano over cloud alternatives for SMBs.
Built With
- chrome
- css3
- gemini-api
- gemini-nano
- html5
- javascript
- manifest-v3
- markdown
- on-device-ai
- prompt-api
- react
- service-worker
- shadow-dom
- typescript
- vite
Log in or sign up for Devpost to join the conversation.