cd /news/artificial-intelligence/building-needflare-an-autonomous-dis… · home topics artificial-intelligence article
[ARTICLE · art-116487] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Building Needflare: An Autonomous Disaster Intelligence & Logistics Agent with Gemini 3.7, Gemma 4 & Google Veo

A developer built Needflare, an autonomous disaster intelligence and logistics agent on Google Cloud, integrating Gemini 3.7 Flash, Gemma 4, and Google Veo 3.1. The system performs on-device data cleansing to protect PII, uses event-driven reasoning for triage and logistics, and generates visual survival guides via Veo. It was created for the Google Cloud: All Things Agentic Hackathon.

read2 min views1 publishedAug 31, 2026

This article was created for the purposes of entering the Google Cloud: All Things Agentic Hackathon.

In catastrophic natural disasters like flash floods, hurricanes, and earthquakes, cellular networks collapse and emergency dispatchers are overwhelmed with thousands of fragmented, panic-driven field messages. Volunteers trying to coordinate over open radio frequencies or mesh airwaves risk leaking sensitive Personally Identifiable Information (PII) such as phone numbers, names, and vulnerable home addresses.

To solve both bottlenecks, I built Needflare — an autonomous, privacy-first emergency intelligence and logistics agent running on Google Cloud.

Here is how the system was built, how it operates asynchronously in the background, and how it unifies three cutting-edge Google AI models: Gemini 3.7 Flash, Google Gemma 4, and Google Veo 3.1.

Watch the complete 3-minute technical demonstration in action:

Needflare operates across three decoupled, failure-tolerant tiers:

In disaster situations, zero data leakage is mandatory. When volunteers draft field reports, Needflare executes real-time data cleansing directly on the device:

gemma-4-26b-a4b-it endpoint for high-precision category classification (water

, medical

, shelter

, rescue

, food

, power

) and urgency scoring.[SECTOR_ALPHA_SNAP] ), storing reports in an encrypted local buffer.When intermittent connectivity (LoRa mesh, satellite, or restored 4G) reconnects, the volunteer triggers a burst sync:

needflare-reports

).needflare-db ) across three synchronized collections: reports

, tasks

, and veo_guides

.Traditional emergency dispatchers spend crucial hours calculating supply quotas. Needflare eliminates this bottleneck using Gemini 3.7 Flash orchestrated through Google GenKit v1.41:

Instead of an open-ended conversational chat loop, the agent executes an event-driven reasoning flow (needflareTriageFlow

) with strict tool execution: triageSectorTool

: Dynamically elevates or de-escalates sector threat levels.createLogisticsTaskTool

: Auto-dispatches supply convoy tasks to Firestore, calculating required payloads based on humanitarian Sphere standards (e.g. 15L of potable water per person per day).triggerVeoVisualGuideTool

: Triggers visual survival video synthesis when acute survival challenges are detected.Under extreme trauma or panic, victims often cannot parse dense text instructions.

Needflare integrates Google Veo 3.1 Fast (veo-3.1-fast-generate-preview ) to generate zero-text, high-contrast 8-second instructional video broadcasts (such as floodwater purification using charcoal and fabric, or emergency thermal shelter construction). The server polls the long-running generation operation, downloads the verified MP4, and registers the protocol in Firestore for immediate playback across tactical coordinator dashboards.

Building Needflare demonstrated the immense power of pairing Google's agentic ecosystem — GenKit, Gemini 3.7 Flash, Gemma 4, and Google Veo — with serverless Google Cloud infrastructure. In emergency response, every second saved saves lives.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @google cloud 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-needflare-a…] indexed:0 read:2min 2026-08-31 ·