How yuga-hashimoto/openclaw-assistant works
WakeHermesClaw is a native Android voice assistant supporting OpenClaw Gateway/HTTP and Hermes backends, chat, device actions, and Wear OS. The main user journey is voice or chat input, agent response through a configured backend, and optional speech playback; separate branches cover device capabilities and the opt-in Mobile Bridge. The source excerpts and index establish some internal calls, while other product-level links below rely on README descriptions; unsampled implementation details are not inferred.
Main entry points: MainActivity.kt Home experience · BackendManager.kt Backend clients · MobileBridgeServer.kt Mobile Bridge · ChatActivity.kt Chat interface
Components 25
Assistant experience
- Home experience
app/src/main/java/com/openclaw/assistant/MainActivity.kt - Chat interface
app/src/main/java/com/openclaw/assistant/ChatActivity.kt - Setup guidance
app/src/main/java/com/openclaw/assistant/ui/SetupGuideScreen.kt - Permission requests
app/src/main/java/com/openclaw/assistant/PermissionRequester.kt
Agent connectivity
- Backend configuration
app/src/main/java/com/openclaw/assistant/backend/AgentBackendConfig.kt - Backend repository
app/src/main/java/com/openclaw/assistant/backend/BackendRepository.kt - Backend types
app/src/main/java/com/openclaw/assistant/backend/BackendType.kt - Backend clients
app/src/main/java/com/openclaw/assistant/backend/BackendManager.kt - Gateway session
app/src/main/java/com/openclaw/assistant/gateway/GatewaySession.kt - Hermes API client
app/src/main/java/com/openclaw/assistant/backend - OpenClaw services
app/src/main/java/com/openclaw/assistant/service/OpenClawAssistantService.kt
Voice runtime
- Wake-word listener
app/src/main/java/com/openclaw/assistant/service/HotwordService.kt - Speech recognition
app/src/main/java/com/openclaw/assistant/speech/SpeechRecognizerManager.kt - Speech playback
app/src/main/java/com/openclaw/assistant/speech/TTSManager.kt - Speech utilities
app/src/main/java/com/openclaw/assistant/speech/TTSUtils.kt
Device capabilities
- Node capabilities
app/src/main/java/com/openclaw/assistant/node - Mobile Bridge
app/src/main/java/com/openclaw/assistant/bridge/MobileBridgeServer.kt - Bridge configuration
app/src/main/java/com/openclaw/assistant/bridge/MobileBridgeConfig.kt - Capability grants
app/src/main/java/com/openclaw/assistant/bridge/grants/BridgeGrants.kt - Notification state
app/src/main/java/com/openclaw/assistant/node/NotificationManager.kt
State and companion
- App settings
app/src/main/java/com/openclaw/assistant/data/SettingsRepository.kt - Chat sessions
app/src/main/java/com/openclaw/assistant/data/local/entity/SessionEntity.kt - Wear OS client
wear/src/main/java/com/openclaw/assistant/wear/service/WearSession.kt
Other components
- User
- OpenClaw / Hermes
Connections 26
- User → Home experience: opens
README.md - User → Chat interface: chats
README.md - Home experience → Wake-word listener: starts listener
app/src/main/java/com/openclaw/assistant/MainActivity.kt - Wake-word listener → OpenClaw services: starts assistant
app/src/main/java/com/openclaw/assistant/service/HotwordService.kt - User → Speech recognition: speaks to
README.md - Chat interface → Backend clients: sends prompts
README.md - Backend clients → Backend repository: selects configured
app/src/main/java/com/openclaw/assistant/backend/BackendManager.kt - Backend clients → Gateway session: uses Gateway
- Backend clients → Hermes API client: uses Hermes
app/src/main/java/com/openclaw/assistant/backend/BackendManager.kt - Gateway session → OpenClaw / Hermes: streams messages
README.md - Hermes API client → OpenClaw / Hermes: requests API
README.md - Backend repository → Backend configuration: persists configs
app/src/main/java/com/openclaw/assistant/backend/BackendRepository.kt - Backend configuration → Backend types: declares type
app/src/main/java/com/openclaw/assistant/backend/AgentBackendConfig.kt - OpenClaw services → Speech playback: speaks responses
- Speech playback → OpenClaw / Hermes: uses speech provider
README.md - Home experience → App settings: reads settings
app/src/main/java/com/openclaw/assistant/MainActivity.kt - Chat interface → Chat sessions: manages history
README.md - Home experience → Permission requests: requests access
app/src/main/java/com/openclaw/assistant/MainActivity.kt - User → Setup guidance: configures app
README.md - OpenClaw / Hermes → Mobile Bridge: calls capabilities
README.md - Mobile Bridge → Bridge configuration: loads config
app/src/main/java/com/openclaw/assistant/bridge/MobileBridgeService.kt - Mobile Bridge → Node capabilities: exposes actions
README.md - Mobile Bridge → Capability grants: checks grants
app/src/main/java/com/openclaw/assistant/bridge/MobileBridgeServer.kt - Node capabilities → Notification state: reads notifications
app/src/main/java/com/openclaw/assistant/bridge/MobileBridgeService.kt - User → Wear OS client: uses watch
README.md - Wear OS client → OpenClaw / Hermes: connects independently
README.md