๐Ÿ”ฅ
Ember Architecture & Flow
๐ŸŽจ FRONTEND CLIENT & PROXY Next.js 16 App Router ยท React 19 ยท Tailwind CSS v4 โš™๏ธ BACKEND SERVICES & AGENT CORE Google Cloud Run ยท FastAPI ยท Google Agent Development Kit (ADK) โ˜๏ธ GOOGLE CLOUD & PLATFORM APIS Vertex AI Model Garden ยท Google Maps ยท Workspace ๐ŸŒ REAL-WORLD CONNECTION & SAFETY IMPACT Offline Experiences ยท Inner Circle Invitations ยท 988 Crisis Net REST /api/* POST /chat/journal MaaS Global (Gemma 4 Anonymizer) ๐Ÿšจ Crisis Detected โ†’ 988 Bypass Anonymized Text Inject Memory Block R/W History & Stats ADK Swarm ร— Gemini 3.5 Interest & Anxiety Match Geocoding & Matrix Schedule & Invite Calendar API + Gmail API In-Person Experience (2+ hrs) Post-Action Reflection & Identity Graph Update Empathetic Response + Visual Feedback ๐Ÿ–ฅ๏ธ Web Client & Living UI Next.js 16 + React 19 Client Interactive Living Ember ยท 5 Rituals Multimodal Voice ยท Triumph Board FRONTEND โšก API Security Proxy Next.js Edge / Server Handler /api/[...path] Route ยท Key Injection Server-side credential isolation GATEWAY ๐Ÿ›ก๏ธ Privacy Shield (Gemma 4) Vertex AI MaaS (Global Endpoint) PII Anonymization [PERSON], [SCHOOL] 988 Crisis Detection ยท Mood Scoring SECURITY L1 ๐Ÿค– Multi-Agent Swarm (ADK) Google ADK + Gemini 3.5 Flash Lite Coach ยท Logistics Scout ยท Synthesis Engine Socratic chat + async Briefing & Scout plans ADK SWARM ๐Ÿง  Memory Bank Service Persistent Cross-Session Memory Streaks, word counts, emotional trends Dynamic context injection for Coach LONG MEMORY ๐Ÿ“ Activity Catalog & Geo Geolocation Discovery Engine 8 categories ยท Anxiety level matching Haversine distance & Google Maps filter DISCOVERY ๐Ÿ“… Calendar & Invitations Social Logistics & Scheduling Google Calendar event scheduling AI-drafted Gmail & SMS invitations LOGISTICS ๐Ÿ”ฎ Vertex AI Garden Google AI Foundation Models Gemma 4 (4B MaaS global endpoint) Gemini 3.5 Flash Lite (ADK inference) AI MODELS ๐Ÿ”ฅ Google Cloud Firestore Persistent Source of Truth journal_entries, users, activities morning_briefings, scout_plans ยท stub DATABASE ๐ŸŒ Google Workspace & Maps External Cloud Platform APIs Google Maps Platform (Places / Matrix) Google Calendar API ยท Gmail API APIS ๐ŸŒฑ Real-World Action (2+ hrs) Digital Detox & Self-Worth Workshops, nature walks, volunteering Community-verified with Inner Circle OFFLINE LIFE ๐Ÿšจ 988 Suicide & Crisis Net Immediate Safety Escalation 988 Lifeline ยท Crisis Text Line (741741) Instant bypass on self-harm detection SAFETY NET
Architecture Layers 12 Nodes
Frontend / Proxy
Privacy Shield (Gemma 4)
ADK Multi-Agent Swarm (Gemini 3.5)
Memory Bank (Firestore)
Real-World Actions
988 Crisis Net