How nodaysidle/kureksistant works
Kureksistant is a headless Linux voice assistant, with an Android remote. Its main workflow is summon or submit a prompt → capture/transcribe speech or accept text → reason and choose tools → perform desktop or information tasks → speak the reply. Memory, user rules, safety checks, and the opt-in camera watcher are distinct supporting capabilities. The daemon’s excerpt and README establish the top-level flow; some component links are based on the SOURCE INDEX, so unsampled implementation details are not expanded.
Main entry points: kurek_daemon.py Kurek daemon · tts.py Speech synthesis · MainActivity.java Remote app · context.py Prompt context
Components 27
Voice interaction
- Speech recognition
core/stt.py - Speech synthesis
core/tts.py - Audio playback
core/mpv_sink.py
Assistant orchestration
- Kurek daemon
kurek_daemon.py - DeepSeek client
core/llm_client.py - Decision client
core/decision_client.py - Action loader
core/action_loader.py - Action confirmation
core/confirm.py
Assistant capabilities
- Action modules
actions - Command runner
actions/run.py - Codebase tools
actions/codebase.py - Screen vision
actions/screen_vision.py - Camera watcher
core/camera_watcher.py
Memory and policy
- User rules
core/rules.py - Prompt context
core/context.py - Memory ledger
memory/ledger.py - Memory recall
memory/recall_index.py - Configuration
memory/config_manager.py
Android remote
- Remote app
android/app/src/main/java/com/nodaysidle/kurek/MainActivity.java - Remote client
android/app/src/main/java/com/nodaysidle/kurek/KurekClient.java - Live voice session
android/app/src/main/java/com/nodaysidle/kurek/LiveCallService.java - Camera alerts
android/app/src/main/java/com/nodaysidle/kurek/CameraAlertService.java
Other components
- User
- DeepSeek service
- Speech services
- Linux desktop
- Tailscale network
Connections 31
- User → Kurek daemon: summons
- User → Speech recognition: speaks
- Speech recognition → Kurek daemon: transcribes
kurek_daemon.py - Kurek daemon → DeepSeek client: requests completion
kurek_daemon.py - DeepSeek client → DeepSeek service: queries
core/llm_client.py - Kurek daemon → Decision client: requests decisions
kurek_daemon.py - Kurek daemon → Prompt context: builds prompt context
kurek_daemon.py - Prompt context → User rules: reads rules
core/context.py - Prompt context → Memory ledger: reads memories
core/context.py - Kurek daemon → Action loader: loads tools
kurek_daemon.py - Action loader → Action modules: discovers
core/action_loader.py - Kurek daemon → Action modules: dispatches tools
kurek_daemon.py - Kurek daemon → Action confirmation: checks actions
kurek_daemon.py - Kurek daemon → Speech synthesis: speaks reply
kurek_daemon.py - Speech synthesis → Audio playback: plays audio
core/tts.py - Audio playback → Linux desktop: outputs audio
core/mpv_sink.py - Speech synthesis → Speech services: uses providers
core/tts.py - Action modules → Linux desktop: acts on desktop
- Codebase tools → Command runner: uses runner
actions/codebase.py - Screen vision → Linux desktop: captures screen
- Camera watcher → Screen vision: uses vision
core/camera_watcher.py - Camera watcher → Speech synthesis: speaks alerts
core/camera_watcher.py - Memory recall → Memory ledger: queries ledger
memory/recall_index.py - Configuration → Memory ledger: configures storage
- Remote app → Remote client: submits prompts
android/app/src/main/java/com/nodaysidle/kurek/MainActivity.java - Remote client → Kurek daemon: sends prompts
- Remote app → Live voice session: starts call
android/app/src/main/java/com/nodaysidle/kurek/MainActivity.java - Live voice session → Kurek daemon: opens live session
- Remote app → Camera alerts: starts alerts
android/app/src/main/java/com/nodaysidle/kurek/MainActivity.java - Camera alerts → Kurek daemon: polls camera alerts
android/app/src/main/java/com/nodaysidle/kurek/CameraAlertService.java - Remote client → Tailscale network: connects remotely