How ajayrajan05/voiceos works
VoiceOS is a local-first desktop assistant for voice or typed requests. Its principal workflow captures or accepts a request, uses agent planning and LLM inference to decide what to do, then invokes desktop, file, web, code, or multi-step capabilities; policy checks can require approval, and sessions can be resumed. Optional workers offload heavy work, while plugins and skills extend the product. Edges use README statements or shown source/index references; unsampled modules are represented only where the README documents their capability or workflow.
Main entry points: orchestrator.py Orchestrator · voice_pipeline.py Voice Capture · console.py CLI · planner.py Agent Planning
Components 20
User Interfaces
- Voice Capture
audio/voice_pipeline.py - CLI
core/cli/console.py - Speech Recognition
stt/registry.py
Request Coordination
- Orchestrator
core/orchestrator.py - Agent Planning
agents/core/planner.py - Agent Routing
agents/core/router.py - LLM Inference
llm/llm_service.py - Autonomous Workflows
agents/workflow/workflow_engine.py
Task Capabilities
- Desktop Automation
tools/os_control/os_tool_router.py - File Tools
tools/file_tools/enhanced_file_manager.py - Web Research
research/web_search.py - Code Sandbox
core/sandbox/unified_executor.py
Safety and Runtime
- Policy Engine
core/policy/engine.py - Permission Checks
permissions/permission_engine.py - Compute Workers
workers/agent_worker.py
Extensions and State
- Session Resume
core/session/session_manager.py - Plugins
plugins/plugin_loader.py - Skills
skills/skill_registry.py - Memory
memory/memory_manager.py
Other components
- User
Connections 20
- User → Voice Capture: speaks to
README.md - User → CLI: types into
README.md - Voice Capture → Speech Recognition: transcribes with
audio/voice_pipeline.py - Voice Capture → Orchestrator: submits request
README.md - CLI → Orchestrator: submits request
README.md - Orchestrator → Agent Planning: coordinates agents
README.md - Agent Planning → LLM Inference: reasons with
- Orchestrator → Agent Routing: routes tasks
- Orchestrator → Autonomous Workflows: runs workflows
README.md - Orchestrator → Desktop Automation: invokes desktop tasks
README.md - Orchestrator → File Tools: invokes file tasks
README.md - Orchestrator → Web Research: invokes research
README.md - Orchestrator → Code Sandbox: invokes code tasks
README.md - Permission Checks → Policy Engine: evaluates policy
permissions/permission_engine.py - Orchestrator → Permission Checks: checks risky actions
README.md - Orchestrator → Compute Workers: offloads heavy work
README.md - Orchestrator → Session Resume: resumes session
README.md - Session Resume → Memory: recalls context
- Orchestrator → Plugins: extends capabilities
README.md - Orchestrator → Skills: uses skill packs
README.md