How openvoiceos/ovos-core works
Main Components
a. Core Services Layer:
• MessageBus Service (mycroft/messagebus/)
• Audio Service (mycroft/audio/)
• Skills Service (mycroft/skills/)
• Intent Services (ovos_core/intent_services/)
• Speech Client (mycroft/client/speech/)
• GUI Service (mycroft/gui/)
b. Input/Output Layer:
• STT (Speech-to-Text) System (mycroft/stt/)
• TTS (Text-to-Speech) System (mycroft/tts/)
• Audio Output System (mycroft/audio/services/)
• GUI Interface (mycroft/gui/interfaces/)
c. Skills Management:
• Skill Manager (mycroft/skills/skill_manager.py)
• Skill Loader (mycroft/skills/skill_loader.py)
• Intent Service (mycroft/skills/intent_service.py)
d. Configuration and System:
• Configuration Management (mycroft/configuration/)
• Session Management (mycroft/session/)
• Identity Management (mycroft/identity/)
Relationship Flows
• Voice input flow: Microphone → STT → Intent Services → Skills
• Response flow: Skills → TTS → Audio Output
• Message routing: MessageBus connecting all components
• GUI interactions: Skills ↔ GUI Service ↔ Display
Architectural Patterns to Highlight
• Microservice Architecture: Show how components communicate via MessageBus
• Plugin System: Demonstrate how skills and services can be extended
• Multi-language Support: Include language resource handling
• Event-driven Architecture: Show message flow between components
Implementation Details
• Component name
• Key files/modules
• Primary responsibilities
• Supported formats/protocols