How richardpizem-ctrl/sirius-local-ai-beta works
SIRIUS LOCAL AI is an offline-first Slovak/English desktop assistant. A user asks through the panel; Runtime 5 routes the request, reasons over the active local knowledge graph, and can offer an approved ENVOY web lookup when local knowledge is insufficient. A separate workflow handles system and file actions, while Professor synthesizes graph explanations during idle time. The repository also contains substantial autonomy, detection, and repair subsystems. The README documents the product-level links; source excerpts and the index confirm selected internal calls. Several documented subsystems are represented at their exact tree paths but were not inspected in source.
Main entry points: runtime5.py Runtime 5 · reasoning_engine_5.py Reasoning engine · autonomy.py Autonomy proposals · health_monitor_5.py Runtime health
Components 21
Desktop interface
- Desktop panel
UI_PANEL/core/panel_api.py - Panel UI
UI_PANEL/ui/ui_controller.js - Application launcher
sirius_orchestrator.py
Reasoning runtime
- Runtime 5
runtime5/runtime5.py - Reasoning engine
runtime5/reasoning_engine_5.py - KG router
runtime5/kg_router.py
Knowledge and enrichment
- KG reasoner
runtime5/kg_reasoner.py - KG query
runtime5/kg_query.py - KG storage
runtime5/kg_store.py - ENVOY lookup
envoy/envoy_manager.py - Professor synthesis
professor/professor_miner.py - Knowledge graph core
kg/kg_core.py
Automation and actions
- Action workflow
workflow/workflow_engine.py - Action decisions
COLNIK/decision_engine.py - Autonomy proposals
AUTONOMY/autonomy.py - Proposal generation
AUTONOMY/proposer.py - System detection
detection/detection.py
Health and repair
- Runtime health
runtime5/health_monitor_5.py - Error handling
runtime5/error_handler_5.py - Self repair
src/self_repair/orchestration/repair_core.py
Other components
- User
Connections 20
- User → Panel UI: asks
README.md - Panel UI → Desktop panel: sends requests
- Desktop panel → Application launcher: uses IPC
README.md - Application launcher → Runtime 5: routes queries
README.md - Runtime 5 → Reasoning engine: processes requests
- Reasoning engine → KG router: routes intent
runtime5/reasoning_engine_5.py - Reasoning engine → KG reasoner: requests inference
runtime5/reasoning_engine_5.py - KG reasoner → KG query: queries relations
runtime5/kg_reasoner.py - Runtime 5 → KG storage: queries active graph
README.md - Runtime 5 → ENVOY lookup: offers approved lookup
README.md - Professor synthesis → Knowledge graph core: synthesizes graph facts
README.md - Runtime 5 → Action workflow: dispatches actions
- Action workflow → Action decisions: requests decisions
- Autonomy proposals → Proposal generation: builds proposals
AUTONOMY/autonomy.py - Autonomy proposals → System detection: uses system analysis
- Autonomy proposals → Action decisions: sends action requests
AUTONOMY/autonomy.py - Error handling → Runtime health: records errors
runtime5/error_handler_5.py - Reasoning engine → Error handling: wraps execution
runtime5/reasoning_engine_5.py - Runtime health → Error handling: safely executes
runtime5/health_monitor_5.py - Runtime health → Self repair: repair hook