Skip to content

Nani Trap

Nani Trap - an AI nani picks up the call so your grandmother doesn’t have to deal with scammers.

Core trick

A Gemini Live persona answers scam calls with barge-in while a parallel Gemini Flash extractor builds a JSON dossier of IDs live.

Tags

Description

Nani Trap - an AI nani picks up the call so your grandmother doesn’t have to deal with scammers. India’s elders are hit hardest by phone fraud: digital arrest, fake KYC, UPI scams, etc. Today’s defences are passive - block lists and spam labels. Nani Trap instead flips the call: It is a Gemini Live honeypot which answers as a real sounding elder, wastes the scammer’s time with natural barge-in conversations, and in parallel extracts a live dossier (scam genre, claimed institution, UPI/mule IDs, pressure tactics, transcripts) to report to authorities. Also protects elders from opening fishy links and giving tips. Full security Nani ji Who pays: adult children via a family plan - not the grandparents. At scale, banks/telcos buy freeze-quality scam signal. Helps govt out since ₹22,000 Crore are lost to frauds each year from India. Built during this hackathon: 1. Honeypot persona - Gemini Live nani, barge-in, honeytokens, stalls scammers in character 2. Live extractor - parallel gemini-3.5-flash JSON dossier of IDs, numbers, tactics in real time 3. Offline Gemma - on-device link/SMS/QR triage (sense, decide, act, defer) with no network 4. Twilio bridge - hand-written G.711 μ-law codec and resampler, 8k to 16k to 24k into Live 5. Android handoff - call-screening auto-route plus floating Nani button conference merge 6. Threat registry - dossier clustering into a shared herd-immunity corpus with live trends 7. Immunizer and 1930 - local-language warning cards plus golden-hour cybercrime complaint drafts This is the first real-time multimodal defence built for India. Nani Trap will beat all Cyber Fraudsters.
haard18/nanitrap★ 10 forksTypeScriptMITCreated Jul 11, 2026 · last push Jul 11, 2026

README excerpt

# nani — the AI that wants to be scammed

> She picks up so your grandmother doesn't have to.

A **Gemini Live API** agent answers scam calls in a convincing elderly persona, wastes the
scammer's time, extracts their entire playbook live, files a cybercrime complaint inside the
"golden hour," and compiles a warning the whole family network gets before the scammer dials the
next number.

Built for the **Google DeepMind Bangalore Hackathon** · Problem Statement 1 (Real-Time Multimodal Interaction).

---

## Why this exists

India is mid-epidemic on phone fraud — "digital arrest," fake KYC expiry, electricity-disconnection,
fake-parcel customs scams. The people hit hardest are elders who answer every unknown number. Every
defense today is passive (block lists, spam labels, posters). **nani turns the call around on the
scammer.**

## The three-and-a-half layers

| Layer | What it does | Model |
|-------|--------------|-------|
| **1 · Honeypot** | Answers as a hesitant, hard-of-hearing elder. Never blocks, always almost-complying. Maximizes the scammer's wasted time. | `gemini-3.1-flash-live-preview` |
| **2 · Extractor** | Parallel stream builds a live structured dossier: genre, institution, payment rail, UPI IDs, mule numbers, tactics. | `gemini-3.5-flash` (JSON) |
| **3 · Immunizer** | Compiles a WhatsApp warning card in local languages. Forwarding it = the network's growth loop. | `gemini-3.1-flash-lite-image` |
| **3.5 · Registry + Teeth** | Dossiers pool into a shared threa

Team