Client for a self-hosted fleet control plane (see Fleet Authentication for setting one up), plus the device agent that runs on each edge device.
export OPENEYE_FLEET_URL=http://localhost:8001 # default
export OPENEYE_TOKEN=<better-auth-session-token>
openeye fleet ls
Every command except fleet agent sends OPENEYE_TOKEN as a Bearer token and exits with an error if it isn't set. The fleet routes accept only a Better Auth session token (oe_ API keys work only on /v1), and the session must exist in the control plane's database — see Fleet Authentication.
Devices
Command
Description
fleet register NAME [--type, -t]
Register a device (camera, robot, edge_node, gateway, drone; default edge_node). Prints the device's oek_ key once
fleet ls [--status, -s] [--type, -t]
List devices; filter by status (online, offline, error) or type
Run this on the edge device itself. It authenticates with the device's oek_ key (sent as X-Device-API-Key), sends heartbeats, and executes queued commands.