Platform¶
client.platform is the SDK surface for durable artifacts including navigation configs, maps, rosbags, and navigation deployment lifecycle.
Navigation config and map listing appear in Simple navigation. Cloud archive catalog listing appears in Cloud archive catalog. Image description appears in Describe an image, and object detection in Detect objects.
Image description and detection¶
client.platform.ai sends one camera frame to the platform server, which
asks a cloud model about it. AI compares this with on-robot
models.
describe_imagereturns a text description. Withoutpromptit describes the scene; withpromptit answers that request from the image.detect_objectsreturnsolo.ai.Detectionboxes in the image’s pixels.promptnames what to find; without it every notable object is returned. The boxes feedolo.vision.deproject_region()with an aligned depth image. They come from a general-purpose model, not a trained detector: expect approximate boxes, free-text labels,class_id-1 and ascoreof 1.0.The server resizes the frame to at most 1024 px on its long edge before inference. Raw images up to 32 MiB are accepted; the Python SDK sends a JPEG.
Each call is metered against the organization’s AI credit, like the AI assistant. No API key is needed beyond the platform token.
Requests go only to model providers that do not retain or train on them.
image_usableis false when darkness, blur, glare, occlusion or framing prevents a reliable answer; readunusable_reasonand retake the frame rather than trusting the description.Results describe what the model sees; they are not inspection verdicts.
Platform catalog APIs — durable org artifacts via server Connect RPC.
Client interfaces
- class olo.platform.Platform[source]¶
Bases:
objectServer-direct platform surface (client.platform).
Bases:
objectDurable navigation artifact catalogs.
Get current navigation deployment state for a robot.
robot_iddefaults toOLO_SDK_ROBOT_ID.namespaceresolves likestart().- Return type:
- Parameters:
List org nav config summaries for a navigation mode (metadata only, never YAML).
- Return type:
- Parameters:
mode (NavigationMode)
timeout (float)
List org map summaries (metadata only, never map blobs).
Start a navigation deployment.
robot_iddefaults toOLO_SDK_ROBOT_ID(Appliance-managed runs inject this automatically).namespacedefaults to the unambiguous appliance robot namespace (same asclient.robot()); pass""for a global launch or an explicit value when multiple robots share the appliance.- Return type:
- Parameters:
Stop a navigation deployment.
robot_iddefaults toOLO_SDK_ROBOT_ID.namespaceresolves likestart().- Return type:
- Parameters:
- class olo.platform.PlatformArchive[source]¶
Bases:
objectCloud archive catalog (bags, videos, and images).
- class olo.platform.PlatformAi[source]¶
Bases:
objectCloud model inference, metered against the organization’s AI credit.
- describe_image(image, *, prompt='', timeout=120.0)[source]¶
Describe an 8-bit image, e.g. from
robot.core.get_image(topic).Without
promptthe result describes the scene; with one it answers that request. Checkimage_usablebefore trusting the description.- Return type:
- Parameters:
- detect_objects(image, *, prompt='', timeout=120.0)[source]¶
Locate objects in an 8-bit image, e.g. from
robot.core.get_image(topic).promptnames what to find (“fire extinguishers”); without it every notable object is returned. Boxes are in the image’s pixels and feedolo.vision.deproject_region()with an aligned depth image.- Return type:
- Parameters:
Catalog types
Bases:
objectNavConfigInfo(id: str, name: str, is_default: bool, source: olo.platform.types.NavConfigSource, updated_at: Optional[datetime.datetime], supported_modes: tuple[olo.platform.types.NavigationMode, …] = ())
- Parameters:
id (str)
name (str)
is_default (bool)
source (NavConfigSource)
updated_at (datetime | None)
supported_modes (tuple[NavigationMode, ...])
- Return type:
None
- class olo.platform.MapInfo[source]¶
Bases:
objectMapInfo(id: str, name: str, description: str, map_type: str, file_size: int, is_active: bool, created_at: Optional[datetime.datetime], updated_at: Optional[datetime.datetime])
- class olo.platform.BagInfo[source]¶
Bases:
objectBagInfo(name: str, robot_id: str, robot_name: str, total_bytes: int, file_count: int, category: str, location: olo.platform.types.CatalogLocation, updated_at: Optional[datetime.datetime])
Navigation deployment types
Bases:
objectNavigationDeploymentInfo(robot_id: str, namespace: str, desired: Optional[olo.platform.types.NavigationDesiredSpec], observed: Optional[olo.platform.types.NavigationObservedStatus])
- Parameters:
robot_id (str)
namespace (str)
desired (NavigationDesiredSpec | None)
observed (NavigationObservedStatus | None)
- Return type:
None
Bases:
objectNavigationDesiredSpec(state: olo.platform.types.NavigationDesiredState, mode: olo.platform.types.NavigationMode, config_id: str, map_id: str = ‘’, initial_pose: Optional[olo.platform.types.Pose2D] = None, lidar3d: bool = False, has_laser_scan: bool = False, generation: int = 0)
- Parameters:
state (NavigationDesiredState)
mode (NavigationMode)
config_id (str)
map_id (str)
initial_pose (Pose2D | None)
lidar3d (bool)
has_laser_scan (bool)
generation (int)
- Return type:
None
Bases:
objectNavigationObservedStatus(state: olo.platform.types.NavigationObservedState, mode: olo.platform.types.NavigationMode = <NavigationMode.UNSPECIFIED: ‘unspecified’>, config_id: str = ‘’, map_id: str = ‘’, generation: int = 0, error_message: str = ‘’)
- Parameters:
state (NavigationObservedState)
mode (NavigationMode)
config_id (str)
map_id (str)
generation (int)
error_message (str)
- Return type:
None
Image description types
- class olo.platform.ImageDescription[source]¶
Bases:
objectStructured description of one image from the platform’s cloud model.
- class olo.platform.ImageDetections[source]¶
Bases:
objectObjects the platform’s cloud model located in one image.
Boxes are in the request image’s pixels. Labels are open vocabulary, so
class_idis -1 andscoreis 1.0 rather than a calibrated confidence.
Enums
Bases:
Enum
Bases:
Enum
Bases:
Enum
Bases:
Enum
client.platform on Client:
Client interfaces
Platform — server-direct catalog surface.
PlatformNavigation —
getConfigs(mode),listMaps(),start(),stop(),deployment().PlatformArchive —
listBags(),listVideos(),listImages().PlatformAi —
describeImage(image, options),detectObjects(image, options).resolveRobotId — resolve
OLO_SDK_ROBOT_ID/ an explicit robot UUID.
Catalog types
Navigation deployment types
Image description types