NORA AI
Autonomous Agentic Assistant & Native Device Bridges
⚡ LangGraph Supervisor + Native AlarmKit & EventKit Bridges
Overview
Architected an enterprise-grade AI executive companion combining a Python FastAPI / LangGraph multi-agent backend with a rich cross-platform Flutter mobile client. Nora handles multi-turn planning, real-time audio WebRTC calls, multimodal image edits, and executes deep device hardware triggers like system alarms and calendar synchronization.
Key Features
LangGraph Supervisor Agent & Tool Routing
- Supervisor intent router classifying user prompts into structured tasks (alarm, event, repeat, note, fitness, search, route)
- Dynamic tool palette planning that delivers only relevant tool schemas to LLM context to minimize latency and token bloat
- Persistent conversation checkpoints and state history saved in Neon PostgreSQL via AsyncPostgresSaver
Frontend-Backend Handshake & Real-Time Duplex
- High-throughput Socket.IO + FastAPI handshake for sub-second token-by-token streaming and typing status
- Dual-layer auth bridge mapping Firebase credentials to backend JWT tokens with automatic token refresh
- Real-time audio WebRTC call duplexing directly into OpenAI Realtime API
Native Mobile Hardware Device Bridges
- iOS AlarmKit bridge for critical system alarms (bypassing Do Not Disturb) and EventKit calendar sync
- Android AlarmManager & Foreground Service execution with full-screen wake-lock intents
- Interactive push notification action handlers for immediate Snooze, Complete, or Reschedule actions
Voice-First & Neural Speech Engine
- On-device native speech-to-text for privacy-first, zero-latency transcription
- Dual neural TTS engine combining OpenAI TTS and ElevenLabs emotion-aware neural voice synthesis
- Real-time audio feedback with reactive waveform visualization and speech interrupt detection
Multimodal Vision & Web Grounding
- Multimodal visual analysis and visual prompt editing using generative image tools
- Tavily real-time web search grounding for live web inquiries and product discovery
- Interactive Google Maps route planning with multi-modal transit calculations
Biometrics & Organizer Memory
- Context-aware workout logging and wellness telemetry tracking
- Categorized notes and reminder organizer with fast search and retrieval
- MongoDB Atlas (Beanie ODM) and Redis caching for sub-millisecond data retrieval
Tech Stack
Architecture Highlights
Supervisor Agent Routing
LangGraph-driven intent classifier routing turns into planned tool palettes (IntentTaskLiteral & PlannedToolLiteral)
Full-Duplex Socket.IO Handshake
Real-time token-by-token streaming, typing telemetry, and JWT session refresh (api_client_v2.dart)
Native Hardware Device Bridges
Direct OS hardware triggers via iOS AlarmKit (bypassing DND) and Android AlarmManager full-screen wake-lock intents
Dual-Database Checkpointing
PostgreSQL (Neon) for persistent LangGraph thread state checkpoints, alongside MongoDB Atlas for profile and organizer models