Shared vocabulary and repository concepts for agents working in oak-examples.
Use these when an example guide or source code is not enough. Start with the docs index when you need broad Luxonis context, then prefer the narrowest relevant page for implementation details.
- Luxonis docs index for LLMs: canonical entrypoint for discovering all Luxonis documentation that may be relevant to an agent task.
- DepthAI: SDK/API overview for building OAK pipelines in Python or C++.
- Device, Pipeline, and Nodes: core DepthAI runtime concepts.
- Host Nodes: host-side processing inside a DepthAI pipeline.
- OAK Apps: standalone application model for OAK devices.
- oakctl: main Luxonis CLI for developing OAK apps, including host-script and standalone workflows, plus device/app management.
- oakapp.toml configuration: OAK App configuration file reference.
- AI inference, Model Zoo, NN Archive, and conversion: model selection, packaging, and conversion concepts.
- RVC2 and RVC4: hardware platform background.
OAKorLuxonis devicemeans a DepthAI-compatible Luxonis camera/device.RVC2devices run examples from a host computer in peripheral mode. They do not run standalone OAK Apps on-device.RVC4devices can run host/peripheral examples and can also run standalone OAK Apps when an example supports that packaging path.- Do not infer exact compatibility from directory names or
oakapp.tomlalone. Use the selected example guide, runtime files, and code. - Some examples require specific hardware such as stereo cameras, ToF, thermal sensors, IMU, autofocus, or multiple devices.
hostorperipheralmeans Python/C++ code runs on the host computer and communicates with the OAK device.standalonemeans the app is packaged and run on an RVC4 device as an OAK App.oakctlis the main Luxonis CLI every agent should know and use for developing OAK apps, whether they run as host scripts or standalone apps. Use it to create, inspect, run, package, deploy, and manage apps unless a task explicitly requires a lower-level command.host + standalonemeans the same example has a host/peripheral workflow and an RVC4 standalone packaging path.standalone-onlymeans standalone deployment is the intended workflow; these examples are usually RVC4-focused.multi-device hostmeans a host-driven workflow that connects to more than one OAK device.
main.pyis the usual Python entrypoint for simple examples.backend/src/main.pyis the usual backend entrypoint for frontend/backend apps.src/main.cppis the usual C++ entrypoint.oakapp.tomlis the OAK App configuration file. Its presence means the example has a standalone packaging path, not that host/peripheral use is impossible.backend-run.shoften contains the effective backend command used in standalone frontend/backend apps.utils/arguments.pyusually defines CLI options and reveals which parts of the example are intended to vary.depthai_models/*.yamloften contains model descriptors. Prefer these over copying hardcoded model constants when reusing default model setup.
dai.Device(...)connects to an OAK device.with dai.Pipeline(device) as pipeline:is the common pipeline construction pattern in these examples.- A pipeline is composed of nodes such as cameras, stereo depth, neural networks, host nodes, encoders, and visualization helpers.
dai.RemoteConnection(...)is commonly used to expose streams, topics, services, and the DepthAI Visualizer.- The
Visualizerdisplays registered topics such as frames, detections, depth maps, overlays, and annotations. HostNodemeans processing runs on the host side inside the DepthAI pipeline structure, not on-device compute.
HubAI,Model Zoo, and model slugs refer to downloadable Luxonis models, for exampleluxonis/yolov6-nano:r2-coco-512x288.NNArchivepackages model metadata and artifacts for DepthAI runtime use.ParsingNeuralNetworkruns a model and emits parsed outputs when the model descriptor supports parsing.- Not every model is available for every platform. Check the model descriptor, selected platform, and runtime errors before assuming support.
- Generic single-model examples are not automatically valid for multi-input, multi-head, multi-stage, or host-decoded models.
frontendexamples combine a Python backend with a web UI.frontend/src/App.tsxorfrontend/src/main.tsxusually contains the main UI wiring.- Frontend/backend examples may use services for two-way UI/backend communication.
- Some frontend apps serve static files directly; others rely on the OAK App container stack or WebRTC for standalone access.
- Keep backend service names, topic names, and frontend consumers aligned when modifying these examples.