AI-Powered Subsea Infrastructure Monitoring, Built on Google Gemini
Abyss.ai is a vision + telemetry command dashboard for Autonomous Underwater Vehicles (AUVs). Built in 10 hours for HackDays Delhi (Theme: Beneath the Water), it uses Gemini's multimodal reasoning to detect, score, and explain subsea infrastructure risk in real time — fusing what the AI sees with what the hardware feels.
- Hard requirements: ✅ Working demo below · ✅ Full source code · ✅ Gemini 3.6 Flash is the core reasoning engine, not a bolt-on
- Fastest way to evaluate us: click "Live Judge Test" in the top-right of the dashboard, upload any photo of underwater damage/corrosion from your phone, and watch the real Gemini API round-trip return structured JSON in front of you.
- What's real vs. staged: see the transparency section below — we'd rather you trust the 70% that's real than be impressed by 100% that isn't.
Most theme submissions go literal-ocean (cleanup, marine life) or purely metaphorical. Abyss.ai sits in the more technical reading of the theme: the physical infrastructure that already lives beneath the water — subsea internet cables, oil/gas pipelines, coral zones near drilling sites — and the fact that monitoring it is still slow, expensive, and human-bottlenecked.
Monitoring deep-sea infrastructure today means AUVs surfacing, hard drives being physically extracted, and hours of manual video review before anyone knows if there's a problem.
Based on typical offshore vessel-day costs and review ratios cited in industry reporting, manual AUV footage review runs operators roughly $30,000/day in vessel time, at about 4 hours of human review per 1 hour of footage. Abyss.ai's automated frame-by-frame analysis targets cutting that review time by an estimated ~95%, flagging critical anomalies the moment they appear instead of hours or days later.
(These are estimates based on published industry review ratios, not a customer-validated figure — happy to walk through the math if asked.)
This isn't a text-generation wrapper. We stream image buffers — AUV camera frames and sonar spectrograms — directly into Gemini's multimodal vision pipeline. The model is prompted to act as a Subsea Infrastructure Analyst: it identifies structural anomalies (corrosion, leaks, ecological damage), assigns a confidence score, and returns a strict JSON schema that feeds directly into the dashboard and the risk engine below — no manual parsing, no unstructured text to clean up.
Our core technical bet: don't trust vision alone. We fuse Gemini's visual confidence with live physical telemetry (pressure deviation from expected baseline at depth) so a visual anomaly is contextualized against what the hardware is actually experiencing.
| Variable | Meaning |
|---|---|
| Computed risk score (0.0–1.0) | |
| Gemini's visual-damage confidence output | |
| Live ambient pressure telemetry | |
| Expected pressure at current depth | |
| Operator-tunable weighting coefficients (defaults: 0.7 / 0.3) |
Full transparency, so you can spend your evaluation time in the right place:
| Component | Status | Notes |
|---|---|---|
| Gemini 3.6 Flash vision analysis | 🟢 Real | Live API call, triggered on demand via "Live Judge Test" |
| Structured JSON parsing | 🟢 Real | Enforced schema, feeds dashboard directly |
| Risk fusion calculation |
🟢 Real | Runs live against telemetry + Gemini output |
| Dashboard UI / auth (Clerk) | 🟢 Real | Functional sign-in, not a static mock |
| AUV hardware telemetry | 🟡 Simulated | No physical AUV available in Delhi — local Node.js generator produces realistic pressure/depth streams |
| AUV camera feed | 🟡 Simulated | Looped underwater footage stands in for a live feed |
| Usage-based billing dashboard | 🟡 Simulated | UI built with local state to demonstrate the intended SaaS flow — no live metering or payment processing wired up |
Abyss.ai is architected as a multi-tenant SaaS so multiple offshore operators (drilling, telecom) can use it with isolated mission data — not a single-tenant demo app.
- Multi-tenancy: Clerk handles organization-based sign-in and routing; Supabase Row-Level Security scopes mission logs per tenant.
- Intended pricing model: pay-per-mission-hour of footage processed, so operators avoid investing in dedicated on-vessel AI hardware.
- MVP cost posture: built entirely on free/generous tiers (Google AI Studio, Supabase, Vercel, Clerk) to keep infrastructure cost near zero while validating the concept — production-scale Gemini usage would move to a paid, volume-priced tier before onboarding real customers.
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 14, Tailwind CSS, shadcn/ui | High-contrast operator command dashboard |
| Hosting | Vercel (serverless functions) | API routes and deployment |
| Auth & Multi-tenancy | Clerk | Org-based sign-in and routing |
| AI Engine | Google Gemini 3.6 Flash API | Multimodal visual anomaly analysis → structured JSON |
| Database | Supabase (PostgreSQL) | Mission logs, telemetry history, RLS-scoped tenant data |
| Data Stream | Custom Node.js mock generator | Simulates high-frequency AUV pressure/depth telemetry |
Being upfront about the next steps we'd take past the 10-hour mark, rather than pretending they're already done:
- Wire real Stripe metering to the billing dashboard
- Replace the looped video feed with a real-time video stream input
- Validate
$\alpha$ /$\beta$ against a labeled dataset of real subsea damage imagery instead of operator-set defaults - Load-test the Gemini pipeline against AI Studio's free-tier rate limits to size the production pricing tier accurately
git clone https://github.com/aryan105825/abyss-ai.git
cd abyss-ai
npm install
cp .env.example .env.localAdd your keys to .env.local (none require a credit card):
GEMINI_API_KEY="your_ai_studio_key"
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="your_clerk_pub_key"
CLERK_SECRET_KEY="your_clerk_secret"
NEXT_PUBLIC_SUPABASE_URL="your_supabase_url"
NEXT_PUBLIC_SUPABASE_ANON_KEY="your_supabase_anon_key"npm run devOpen http://localhost:3000, sign in as a demo user, and click "Live Judge Test" in the top-right to trigger a real Gemini 3.6 Flash multimodal call.