1 · Deploy a policyshell
export SEQUENCES_API_KEY=seq_dev_... # the key you create on this page
pip install sequence-ai # seq deploy and the platform’s commands come with it
seq init --list # the official templates
seq init <template> my_policy_user # one of them: the policy, the robot's client.py, a README
seq deploy my_policy_user --gpu <card> # the card seq init names; the platform builds and serves it
2 · Drive a robot with itpython
import sequence_ai
with sequence_ai.connect(model="my_policy_user") as policy_user: # your deployment, by the name you gave it
while robot_user.running():
policy_user.observe(robot_user.read_observation()) # every input goes this way
chunk_user = policy_user.act() # what its infer returned
robot_user.play(chunk_user) # your loop: when to ask, when each row goes