๐ฅ
Ember
Architecture & Flow
๐
Entire System
โ๏ธ
Journal & Coach Flow
๐ก๏ธ
Privacy Shield (Gemma 4)
๐
Activities & Calendar
๐ง
Memory Bank (Firestore)
๐
Theme
T
๐
SVG
๐ท
Export PNG
๐จ 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