How iamlukethedev/herald-os works
Herald OS is an agent-centered desktop operating system: people type or speak to Hermes, which can act across the host computer through permission-controlled system tools. The Electron main process starts and monitors the Hermes runtime and connects the desktop UI to native capabilities. Major product areas also include voice, scheduled automations, memory and missions, file management, software development, and a creative canvas. Edges are limited to README statements and shown source-index or excerpt references; several feature relationships are therefore left unconnected rather than inferred.
Main entry points: tools.py System tools · App.tsx Desktop UI · manager.ts Backend manager · base.py Host adapter
Components 23
Desktop shell
- Desktop UI
apps/desktop/src/shell/App.tsx - App navigation
apps/desktop/src/shell/apps.ts - UI state
apps/desktop/src/store/windows.ts - Electron main
apps/desktop/electron/main.ts - IPC contract
apps/desktop/shared/ipc.ts
Agent runtime
- Backend manager
apps/desktop/electron/backend/manager.ts - Hermes Agent
- Voice conversation
apps/desktop/src/lib/voice/chained-engine.ts
Host capabilities
- System tools
plugins/herald-os-bridge/bridge/tools.py - Action permissions
plugins/herald-os-bridge/bridge/permissions.py - File operations
apps/desktop/electron/ipc/fs.ts
Workspaces
- Creative canvas
apps/desktop/electron/canvas/ipc.ts - Canvas format
apps/desktop/shared/canvas/comp-format.ts - Canvas models
apps/desktop/shared/canvas/models.ts - PSD import
apps/desktop/src/features/canvas/psd/psd-map.ts - Scheduled routines
apps/desktop/electron/events/automations.ts - Missions and memory
apps/desktop/src/features/missions/MissionsPage.tsx - Software studio
apps/desktop/src/features/studio/StudioWindow.tsx
OS integration
- Host adapter
plugins/herald-os-bridge/bridge/host/base.py - Linux adapter
plugins/herald-os-bridge/bridge/host/linux.py - macOS adapter
plugins/herald-os-bridge/bridge/host/darwin.py - OS bridge plugin
plugins/herald-os-bridge/__init__.py
Other components
- Person
Connections 19
- Person → Desktop UI: types or speaks
- Desktop UI → App navigation: navigates apps
apps/desktop/src/shell/App.tsx - Electron main → Backend manager: starts runtime
apps/desktop/electron/main.ts - Backend manager → Hermes Agent: launches and probes
apps/desktop/electron/backend/manager.ts - Backend manager → OS bridge plugin: ensures plugin
apps/desktop/electron/backend/manager.ts - OS bridge plugin → System tools: registers tools
plugins/herald-os-bridge/__init__.py - System tools → Action permissions: authorizes actions
plugins/herald-os-bridge/bridge/tools.py - System tools → Host adapter: executes host actions
plugins/herald-os-bridge/bridge/tools.py - Linux adapter → Host adapter: implements adapter
plugins/herald-os-bridge/bridge/host/linux.py - macOS adapter → Host adapter: implements adapter
plugins/herald-os-bridge/bridge/host/darwin.py - Hermes Agent → System tools: acts on computer
- Desktop UI → Voice conversation: offers voice interaction
- Electron main → IPC contract: uses IPC definitions
apps/desktop/electron/main.ts - PSD import → Canvas format: reads format
apps/desktop/src/features/canvas/psd/psd-worker.ts - Creative canvas → Canvas models: uses model IPC
apps/desktop/electron/main.ts - Hermes Agent → Scheduled routines: runs scheduled routines
- Hermes Agent → Missions and memory: uses memory and missions
- Hermes Agent → File operations: finds and organizes files
- Hermes Agent → Software studio: builds software