Claude CodeCodexCursor
Luxonis Agent ToolkitGive your preferred coding agent Luxonis context and skills for a faster way to build with OAK.
Install the Toolkit

Software

Use the following links to jump over the step by step intro and dive straight into Luxonis SDK and the full OAK software stack: DepthAI API, tools and examples across OAK USB, PoE and OAK4 cameras.

DepthAI API (Python/C++)

DepthAI v3 SDK library for building pipelines and apps on OAK and OAK4 cameras.
Open DepthAI API docs

oakctl CLI

Command-line tool for managing and configuring OAK4 devices and deploying apps.
Install oakctl

DepthAI Examples

Reference examples for building DepthAI pipelines on OAK cameras.
Browse examples
For an easy step by step introduction into OAK4 and OAK devices follow the steps below.
Pick the correct getting started guide for your device.

Connecting OAK4

Use the RVC4-based OAK4 Getting Started guide to set up the hardware and perform the initial configuration.
OAK4 Getting Started
OAK4

Connecting OAK

Follow the RVC2-based OAK Getting Started to see how to connect it to your host PC.
OAK Getting Started
OAK
After you have your camera connected, the quickest way to start is by running OAK Viewer.

OAK Viewer

OAK Viewer is a desktop GUI application that allows you to visualize the camera's streams and interact with the device. It is available for Windows, macOS and Linux.Warning: In OAK Viewer, you can test only the selected Luxonis Models Zoo models included in Viewer. You cannot upload custom models or use other Zoo models. For custom-model upload and validation, see the Use custom models on Luxonis Hub tutorial.
Click here to get started
OAK Viewer
Try out our pre-made applications to dip your toes into our ecosystem. Here is an example of how to start the generic neural network app:

Run first application with OAK4

Install oakctl

Linux/MacOS

On 64bit system, run:
Command Line
1bash -c "$(curl -fsSL https://oakctl-releases.luxonis.com/oakctl-installer.sh)"

Windows

Download and install using the Windows Installer.

Deploy an example App

Command Line
1# Connect to the device
2oakctl connect
3# Clone the repo
4git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git
5# Change directory to the generic-example
6cd oak-examples/neural-networks/generic-example/
7# Run the app and follow instructions to open the web viewer
8oakctl app run .
Continue exploring other pre-made applications

Run first application with OAK

Linux/MacOS

Command Line
1# Clone the repo
2git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git
3# Change directory to the generic-example
4cd oak-examples/neural-networks/generic-example/
5# Create and enter virtual python environment
6python3 -m venv venv
7source venv/bin/activate
8# Install requirements into the environment
9pip install -r requirements.txt
10# Run the app and follow instructions to open the web viewer
11python3 main.py

Windows

Command Line
1# Clone the repo
2git clone --depth 1 --branch main https://github.com/luxonis/oak-examples.git
3# Change directory to the generic-example
4cd oak-examples\neural-networks\generic-example\
5# Install requirements
6pip install -r requirements.txt
7# Run the app and follow instructions to open the web viewer
8python main.py
Continue exploring other pre-made applications

Standalone vs Peripheral

CompatibilityStandalone¹Peripheral²
OAK4✅✅
OAK🚫✅
  1. Standalone: The App is run only on the camera. Apps are deployed via oakctl.
  2. Peripheral: The App runs on the host computer, and the camera runs the App's pipeline. The host stays connected to the camera over USB or Ethernet. Apps are run using the DepthAI API. Best used for quick prototyping and development.
Peripheral and standalone mode diagram
The quickest way to build your own app is to start from an example in oak-examples. The generic-example app from the steps above runs on OAK and OAK4 devices and has the files that an OAK App needs: main.py, requirements.txt and oakapp.toml. Copy it and change it for your use case.See OAK Apps for the app structure and how to deploy an app.
We suggest you continue exploring the ecosystem in one of the following ways.

OAK Apps

Build, package, and manage containerized computer vision apps for OAK devices.
Open OAK Apps overview

DepthAI

Use the DepthAI API to build and run real-time vision pipelines on OAK and OAK4 cameras.
Open DepthAI overview

AI

Explore model deployment, inference workflows, and AI tooling for OAK devices.
Open AI overview