engine Library
Core logic, structs, and common error types. View Library
This section provides technical documentation for the paiOS engine Rust implementation. The engine is a runtime daemon that provides AI inference capabilities via gRPC over Unix Domain Sockets.
We provide two documentation formats to suit different needs:
Best for: Understanding how Rust modules relate to the gRPC API and overall architecture.
Browse: Continue reading below or use the sidebar navigation.
Best for: Deep-dive into Rust types, traits, and implementations (familiar to Rust developers).
The engine crate is the core runtime for paiOS. It implements:
rpc/): Handles gRPC/UDS communicationcore/): SystemController and business rulesorchestrator/): NPU/GPU/CPU resource managementhal/): Audio, HID, LED, and hardware backendsFor the primary API documentation, see the gRPC API Reference.
engine Library
Core logic, structs, and common error types. View Library
Engine Runtime
CLI arguments, boot process, and daemon entry point. View Runtime