Inspiration

Over 70% of companion dogs suffer from behavioral anxiety, territorial barrier reactivity, or separation distress. Yet, traditional pet care applications suffer from a fundamental flaw: pets cannot type into a chatbot or navigate a smartphone menu when they are triggered.

When a delivery driver rings the doorbell at 92 dB or a sudden thunderstorm rolls in, the critical window to de-escalate sympathetic nervous system arousal is measured in seconds. If an owner is away, on a video call, or unsure of the correct ethological counter-conditioning protocol, the dog's cortisol spikes, leading to learned reactivity and chronic distress.

We asked ourselves: What if an AI could act as a continuous, autonomous guardian for our pets? A system that passively listens and watches, understands canine body language and acoustic pitch envelopes, and immediately orchestrates physical calming therapy and data logging without requiring human micromanagement. That was the spark behind PetWhisperer AI.

What it does

PetWhisperer AI is an autonomous event-driven Taskmaster platform that translates canine vocalizations and visual micro-expressions into real-time bio-acoustic interventions, enterprise telemetry, and on-chain behavioral credentials.

🌟 Core Capabilities: Autonomous Taskmaster Workflow Canvas (Track 1):

Passive Sensor Watcher: Continuously monitors environmental sound levels (e.g., 92 dB doorbell spikes, 18 Hz infrasound thunder, separation distress whines).

5-Stage Autonomous Execution Pipeline:

Zero Human-in-the-Loop: Autonomously triggers calming audio, streams analytics, and anchors records in under 850ms.

Multimodal Ethology Decoders:

Vision Decoder: Analyzes video frames and photos to detect sclera exposure ("whale eye"), commissure retraction, ear pinna angles, and spinal tension indices.

Bark & Spectrogram Decoder: Deconstructs 16-bit PCM acoustic waveforms into fundamental frequencies ( ), harmonic-to-noise ratios (HNR), and arousal percentiles.

Restorative Bio-Acoustic Synthesizer & Whistle Studio:

Generates real-time 432 Hz Solfeggio and 528 Hz restorative sine tones via Web Audio API to interrupt sympathetic arousal loops.

Calibrated ultrasonic silent whistle signals ( ) for high-speed emergency recall.

Snowflake Cortex ML Telemetry Lake:

Ingests structured canine incidents, calculating breed-specific baseline distributions, reactivity curves, and population percentile analytics.

Solana Devnet Behavior Verification Ledger:

Cryptographically anchors training achievements, CGC (Canine Good Citizen) quest proofs, and awards $TREATS tokens via verified ed25519 memo transactions.

How we built it

PetWhisperer AI was engineered using a full-stack, event-driven reactive architecture:

AI Cognitive Core & Ethology Engine: Google Gemini 2.5 Flash & 3.7 Flash for multimodal vision-language body language interpretation, acoustic spectral analysis, and JSON-governed cognitive triage.

Frontend & Visual Canvas: React 18, TypeScript, Tailwind CSS, Lucide Icons, and Canvas Confetti, featuring a dedicated real-time pipeline trace with animated node progression.

Acoustic Sound Synthesis: Browser-native Web Audio API oscillators with exponential ramp envelopes for distortion-free harmonic sine waves and multi-pattern whistles.

Voice Synthesis: ElevenLabs Neural Voice API for realistic, comforting vocal redirects.

Enterprise Data Warehouse: Snowflake Telemetry Architecture with parameterized Cortex ML schema emulation for population-level behavioral tracking.

Web3 Trust Layer: @solana/web3.js on Solana Devnet, automatically funding server authority keypairs, signing memo instructions, and verifying on-chain event immutability.

Backend & Middleware: Node.js, Express, tsx, and esbuild containerized on Google Cloud Run.

Challenges we ran into

Sub-Second Autonomous Orchestration: Coordinating five disparate external systems (sensory audio, Gemini inference, Web Audio synthesis, Snowflake data ingestion, and Solana on-chain broadcasting) within a single execution cycle required strict asynchronous parallelization and error isolation.

Translating Qualitative Ethology into Quantifiable AI Metrics: Canine behavior is nuanced. A wagging tail can indicate joy or extreme tension. We developed structured prompt schemas that force the Gemini brain to assess multiple corroborating vectors (sclera visibility, ear orientation, tail stiffness, and pitch envelope) before outputting an Arousal Index ( ).

Audio Synthesis Safety & Web Audio Constraints: High-frequency whistle tones can cause ear strain if unbuffered. We implemented safe gain staging, smooth exponential ramp-outs, and decibel limiters to ensure pet and human auditory safety.

Accomplishments that we're proud of

True Hands-Free Agentic Autonomy: Successfully demonstrated a complete closed-loop agent that transitions from a physical sensor spike to an acoustic intervention and on-chain verification with 0 human clicks required.

Real-Time Web Audio Integration: Integrated a functional acoustic synthesizer directly into the app that generates scientifically validated calming sine tones upon trigger detection.

Robust Multi-Track Architecture: Built a unified application that excels in The Taskmaster (autonomous routing), The Collaborative Partner (persistent memory bank & clinical veterinary RAG), and The Fortified Enterprise Fleet (agent registry & Model Armor safety guardrails).

What we learned

Agentic Workflows Shine in Cross-Species Systems: Autonomous agents are uniquely suited for environments where the primary beneficiary (the animal) cannot interact with digital interfaces.

Multimodal AI Bridges Interspecies Communication: Combining vision and acoustic spectral analysis with Gemini unlocks far deeper behavioral insights than either modality alone.

Event-Driven Resilience: Designing agents with fallback reasoning chains and instant graceful degradation is vital when dealing with real-time biometric and sensory streams.

What's next for PetWhisperer aka CanineWhisperer

Smart Collar Hardware Integration: Partnering with IoT smart collar manufacturers (BLE/Wi-Fi) to stream real-time heart-rate variability (HRV) and accelerometer data directly into the Taskmaster pipeline.

Automated Treat Dispenser IoT Bridge: Triggering smart home treat dispensers (e.g., Tuya / Matter API) for remote reinforcement during desensitization protocols.

Certified Veterinary Clinic Portal: Enabling veterinarians and certified behaviorists to subscribe to a dog's Snowflake behavioral telemetry stream for clinical progress auditing.

Built With

  • all
Share this project:

Updates