How myassistantapps/myassistant-flutter works
Hari is a Flutter voice-first assistant client: the user speaks, the app captures audio and sends requests to a backend that owns AI logic, then the client renders streamed responses and speaks them. README capabilities also include document memory, client case files, calls, reminders, settings, and updates. The tree omits several README-described live-screen files, and Dart implementation was not sampled; those paths are represented only by existing enclosing directories, and uncertain wiring is omitted. Android native components are included where sampled.
Main entry points: voice_service.dart Voice service · assistant_api.dart Realtime SSE · main.dart App shell · MainActivity.kt Android bridge
Components 19
App experience
- App shell
lib/main.dart - Assistant UI
lib/features/assistant - Authentication
lib/services/auth_service.dart
Voice and assistant
- Assistant engine
lib/features/assistant/state/assistant_engine.dart - Voice service
lib/services/voice_service.dart - Realtime SSE
lib/core/network/assistant_api.dart - Backend REST
lib/services/api_service.dart
Assistant capabilities
- Document memory
lib/screens/documents_screen.dart - Client case files
lib/screens/clients_screen.dart - Calls and notes
lib/services/call_service.dart - Reminders
lib/models/reminder.dart
Platform services
- Biometric lock
lib/services/app_lock.dart - App updates
lib/services/app_update_service.dart - Android device control
android/app/src/main/kotlin/com/myassistant/myassistant/DeviceControl.kt - Android bridge
android/app/src/main/kotlin/com/myassistant/myassistant/MainActivity.kt - Quick-task widget
android/app/src/main/kotlin/com/myassistant/myassistant/TaskWidgetProvider.kt - APK installer
android/app/src/main/kotlin/com/myassistant/myassistant/ApkInstaller.kt
Other components
- User
- Assistant backend
Connections 17
- User → App shell: opens app
README.md - App shell → Assistant UI: shows assistant
README.md - User → Voice service: speaks request
README.md - Voice service → Realtime SSE: streams voice
README.md - Realtime SSE → Assistant backend: sends SSE
README.md - Assistant backend → Realtime SSE: streams events
README.md - Voice service → Assistant backend: requests TTS
README.md - Backend REST → Assistant backend: calls REST
README.md - User → Document memory: manages documents
README.md - User → Client case files: manages cases
README.md - User → Calls and notes: requests calls
README.md - User → Reminders: requests reminders
README.md - User → Authentication: authenticates
README.md - User → Biometric lock: unlocks app
README.md - User → App updates: receives updates
README.md - Android bridge → Android device control: delegates controls
android/app/src/main/kotlin/com/myassistant/myassistant/MainActivity.kt - Quick-task widget → Android bridge: opens quick task
android/app/src/main/kotlin/com/myassistant/myassistant/TaskWidgetProvider.kt