How darknorthaco/phantom works
Phantom is a privacy-first distributed compute platform, with the Tauri desktop app documented as its canonical install and deployment path. The principal user workflow is consent and controller placement, followed by deployment checks and the deployment ceremony, then operational monitoring and management. The deployed fabric routes work across heterogeneous workers, with GPU-specific execution and configurable LLM task scheduling. The graph preserves the documented swappable UI and legacy installer branches. Some backend and deployment wiring is unsampled, so those links are omitted or marked unverified.
Main entry points: controller_api.py Controller API · App.tsx Desktop app · tauri.ts Tauri command bridge · socket_integration.py Socket integration
Components 20
Desktop deployment
- Desktop app
phantom_app/src/App.tsx - Controller placement
phantom_app/src/components/ControllerSelectionScreen.tsx - Deployment ceremony
phantom_app/src/components/DeploymentCeremony.tsx - Ceremony state
phantom_app/src/state/deploymentState.ts - Tauri command bridge
phantom_app/src/utils/tauri.ts - Ceremony orchestration
phantom_app/src-tauri/src/backend/ceremony/orchestrator.rs - Deployment operations
phantom_app/src-tauri/src/backend/phantom_deployer.rs - Legacy installers
installer
Distributed engine
- Controller API
phantom_core/phantom_core/controller_api.py - Task orchestrator
phantom_core/phantom_core/orchestrator.py - LLM task pipeline
phantom_core/llm_taskmaster/pipeline.py - Socket integration
phantom_core/phantom_core/socket_integration.py - Protocol transports
phantom_core/phantom_protocol
Worker execution
- Linux worker
phantom_core/linux-worker/linux_worker/worker.py - Windows worker
phantom_core/windows-worker/windows_worker/worker.py - GPU plugin manager
phantom_core/linux-worker/plugins/plugin_manager.py
Security and trust
- Integrated security
phantom_core/security_framework/integrated_security.py
Interfaces
- Swappable UI framework
ui/ui_framework/ui_manager.py - Matrix interface
ui/redblue_matrix/phantom-matrix-android/App.js
Other components
- Operator
Connections 19
- Operator → Desktop app: uses
README.md - Desktop app → Controller placement: renders
phantom_app/src/App.tsx - Desktop app → Deployment ceremony: renders
phantom_app/src/App.tsx - Controller placement → Tauri command bridge: confirms placement
phantom_app/src/components/ControllerSelectionScreen.tsx - Desktop app → Tauri command bridge: checks health
phantom_app/src/App.tsx - Deployment ceremony → Ceremony state: uses ceremony data
- Tauri command bridge → Ceremony orchestration: invokes commands
- Ceremony orchestration → Deployment operations: coordinates deployment
- Controller API → Task orchestrator: initializes
phantom_core/phantom_core/controller_api.py - Linux worker → GPU plugin manager: initializes plugins
phantom_core/linux-worker/linux_worker/worker.py - Linux worker → Socket integration: uses socket layer
phantom_core/linux-worker/linux_worker/worker.py - Windows worker → Socket integration: uses socket layer
phantom_core/windows-worker/windows_worker/worker.py - Controller API → Integrated security: initializes security
phantom_core/phantom_core/controller_api.py - Controller API → Socket integration: uses socket layer
phantom_core/phantom_core/controller_api.py - Task orchestrator → LLM task pipeline: routes work
- Controller API → Protocol transports: communicates through
- Operator → Matrix interface: uses
README.md - Matrix interface → Swappable UI framework: uses framework
- Operator → Legacy installers: opts into
README.md