How do0og/ari-voicecommand works
Ari is a Windows desktop voice assistant: a user activates it by wake word, hotkey, or character click; Ari listens, handles simple commands locally or plans larger tasks, then responds aloud. The repository separates the desktop/audio experience, command and agent execution, model and speech integrations, persistent memory, and extensions. README statements support the main workflow and documented capabilities; source-index references additionally show the application entry wiring and several implementation dependencies. Many subsystem internals were not sampled, so their internal links are omitted.
Main entry points: agent_orchestrator.py Agent orchestration · VoiceCommand.py Voice runtime · ai_command.py Command handling · execution_engine.py Task execution
Components 23
Desktop experience
- Desktop app
VoiceCommand/Main.py - Audio input
VoiceCommand/audio/audio_manager.py - Voice runtime
VoiceCommand/core/VoiceCommand.py - Character UI
VoiceCommand/ui/character_widget.py
Commands and agent
- Command handling
VoiceCommand/commands/ai_command.py - Fast commands
VoiceCommand/commands/ai_fast_path.py - Agent orchestration
VoiceCommand/agent/agent_orchestrator.py - Task planning
VoiceCommand/agent/agent_planner.py - Task execution
VoiceCommand/agent/execution_engine.py - Result verification
VoiceCommand/agent/verification_engine.py - Execution safety
VoiceCommand/agent/safety_checker.py
Models and speech
- LLM providers
VoiceCommand/agent/llm_provider.py - Speech recognition
VoiceCommand/core/stt_provider.py - Speech synthesis
VoiceCommand/tts/tts_factory.py
Memory and learning
- Memory manager
VoiceCommand/memory/memory_manager.py - Conversation history
VoiceCommand/memory/conversation_history.py - User context
VoiceCommand/memory/user_context.py - Agent learning
VoiceCommand/agent/learning_engine.py
Extensions and integrations
- Skills and plugins
VoiceCommand/agent/skill_manager.py - MCP servers
VoiceCommand/agent/mcp_client.py - Telegram bridge
VoiceCommand/services/telegram_bridge.py
Other components
- User
- External providers
Connections 25
- User → Desktop app: activates
README.md - Desktop app → Voice runtime: starts
VoiceCommand/Main.py - User → Audio input: speaks
README.md - Audio input → Voice runtime: captures speech
VoiceCommand/core/VoiceCommand.py - User → Character UI: clicks
README.md - Voice runtime → Command handling: dispatches
VoiceCommand/core/VoiceCommand.py - Command handling → Fast commands: checks locally
VoiceCommand/commands/ai_command.py - Command handling → Agent orchestration: delegates tasks
VoiceCommand/commands/ai_command.py - Agent orchestration → Task planning: plans
VoiceCommand/agent/agent_orchestrator.py - Agent orchestration → Task execution: executes
VoiceCommand/agent/agent_orchestrator.py - Task execution → Result verification: checks results
VoiceCommand/agent/execution_engine.py - Task execution → Execution safety: checks actions
VoiceCommand/agent/execution_engine.py - Agent orchestration → LLM providers: requests model
- Voice runtime → Speech recognition: recognizes speech
README.md - Voice runtime → Speech synthesis: speaks response
VoiceCommand/core/VoiceCommand.py - Speech synthesis → External providers: uses speech engines
README.md - LLM providers → External providers: uses model providers
README.md - Memory manager → Conversation history: indexes conversation
VoiceCommand/memory/memory_manager.py - Memory manager → User context: updates context
VoiceCommand/memory/memory_manager.py - Command handling → Memory manager: handles memory requests
VoiceCommand/commands/ai_command.py - Agent orchestration → Agent learning: records outcomes
VoiceCommand/agent/agent_orchestrator.py - Agent orchestration → Skills and plugins: uses skills
- Agent orchestration → MCP servers: uses MCP tools
- Telegram bridge → Command handling: forwards commands
- External providers → Telegram bridge: receives remote requests