Knowledge Base updated: 2026-11-22
OpenLogi knowledge base
OpenLogi is a Rust workspace for configuring and operating supported Logitech hardware. Its product surface is divided between a desktop application, a background agent, command-line workflows, and shared device/protocol crates.
Runtime state and behavior are concentrated in the desktop feature/state modules, the agent-core orchestration and Flow runtime, device sessions and inventory, and core per-device configuration. Platform-facing boundaries isolate HID/HID++, global input, camera UVC, overlays, permissions, and packaging concerns.
System map
flowchart TD
Desktop[openlogi-desktop] --> IPC[IPC contracts]
CLI[CLI commands] --> IPC
IPC --> Agent[openlogi-agent]
Agent --> AgentCore[openlogi-agent-core]
AgentCore --> Flow[Flow coordination]
AgentCore --> Device[openlogi-device]
Desktop --> Core[openlogi-core]
AgentCore --> Core
Desktop --> UI[openlogi-ui]
Device --> HIDPP[openlogi-hidpp]
HIDPP --> HID[HID transport]
Device --> Registry[device registry]
AgentCore --> Camera[camera controls]
AgentCore --> Input[input hooks and injection]
Desktop --> Overlay[visual overlay]
Glossary
- Flow — the cross-device pointer-handoff protocol and agent-side coordination runtime.
- HID++ — Logitech’s protocol layer represented above raw HID transport.
- Device session — the device-domain abstraction used for connected-device behavior, inventory, replay, capture, and writes.
- Fixture — a deterministic recorded or synthetic hardware scenario used to exercise device behavior.
- xtask — the workspace automation binary for development, packaging, signing, and release operations.
Codebase-wide invariants
- Hardware-specific behavior remains above raw HID transport; crates/…/raw.rs is the HID++ raw-channel boundary.
- Device-domain workflows coordinate through sessions and inventory rather than direct desktop access to protocol transport; see crates/…/backend.rs.
- Per-device configuration is maintained in the shared core domain, including crates/…/per_device.rs.
- Desktop feature behavior is mediated through feature and state modules, for example
crates/openlogi-desktop/src/state/**andcrates/openlogi-desktop/src/features/**. - Release and packaging policy is implemented through
xtask/src/commands/**, rather than ad-hoc product runtime code.
Routing table
crates/openlogi-desktop/src/**-> Application composition and process rolescrates/openlogi-agent/src/**-> Application composition and process rolescrates/openlogi-cli/src/**-> Command-line interface- crates/…/main.rs -> Desktop application shell
crates/openlogi-desktop/resources/**-> Desktop application shellcrates/openlogi-agent/src/**-> Background agent servicecrates/openlogi-agent-core/src/**-> Background agent servicecrates/openlogi-cli/src/**-> Command-line interfacecrates/openlogi-ipc/src/**-> Interprocess communicationcrates/openlogi-agent-core/src/flow/**-> Cross-device Flow coordinationcrates/openlogi-flow/**-> Cross-device Flow coordinationcrates/openlogi-device/src/**-> Device integration stackcrates/openlogi-hidpp/src/**-> Device integration stackcrates/openlogi-hid/src/**-> HID device access and discoverycrates/openlogi-device/src/**-> Device-domain runtime and inventorycrates/openlogi-device-registry/src/**-> Device registry supportcrates/openlogi-hidpp/src/**-> Logitech HID++ protocol supportcrates/openlogi-hidpp-derive/src/**-> Logitech HID++ protocol supportcrates/openlogi-hook/src/**-> Input and on-screen controlscrates/openlogi-overlay/src/**-> Input and on-screen controlscrates/openlogi-camera/src/**-> Input and on-screen controlscrates/openlogi-hook/src/**-> Global input hookscrates/openlogi-injection/src/**-> Synthetic input injectioncrates/openlogi-overlay/src/**-> Visual overlay feedbackcrates/openlogi-camera/src/**-> Camera control integrationcrates/openlogi-core/src/**-> Shared platform servicescrates/openlogi-permissions/src/**-> Shared platform servicescrates/openlogi-core/src/**-> Core domain and configurationcrates/openlogi-permissions/src/**-> Permissions and packaged assetscrates/openlogi-assets/src/**-> Permissions and packaged assetscrates/openlogi-ui/src/**-> Reusable user interface foundationxtask/src/**-> Build and release automation.github/workflows/**-> Distribution packaging and CIpackaging/**-> Distribution packaging and CIcrates/openlogi-fixture/src/**-> Device fixture workflowscrates/openlogi-device/src/**-> Device fixture workflowscrates/openlogi-fixture/src/**-> Fixture profiles and validation