Skip to main content
1

Get a key

abstract login prints a link and a code. Confirm the code in your browser, and the CLI saves a key on this machine. A new account starts with $5 of API credit.
2

Install the client

Python 3.10 or later.
3

Run your robot

robot.py
The client uses the key abstract login saved, or ABSTRACT_API_KEY when it is set.
abstract.client() checks that the model is available to your key and was trained for your robot. Then it takes three calls:

Connect your robot

read_cameras(), read_state() and run() are yours.
  • read_cameras() returns one RGB frame (height × width × 3, uint8) for each camera: overhead, wrist_l and wrist_r. The client sends them as H.264.
  • read_state() returns each gripper’s measured pose and opening: left_eef_xyz, left_eef_rot6, left_grip, and the same three for right_. See Poses.
  • run() checks each row, solves your arms’ inverse kinematics and plays one row every dt seconds. action.left and action.right hold ten numbers a row: xyz, rotation6d, gripper.
Other models take other cameras and state. Each one’s are in Robot models.

Run an episode

Camera ticks, models with memory, safe retries.

Robot models

Every model’s cameras, state and actions.