Skip to main content

servo-client

Python and CLI access to Servo's hosted robot policy service.

pip install 'servo-client>=0.4,<0.5'
export SERVO_BASE_URL="https://<your-servo-control-plane>"
servo login
servo account
servo key create --label yam-cell-01
export SERVO_API_KEY="sk_servo_..."

Register a Bimanual YAM on its robot computer, then list compatible models:

servo robot setup yam-cell-01 \
  --config /opt/yam/configs/yam_left.yaml \
  --config /opt/yam/configs/yam_right.yaml \
  --region us-west-2

servo model list yam-cell-01

Run pi0.5 with the calibrated robot object from your application:

import os

import servo
from my_robot_app import open_yam

sv = servo.Servo(
    base_url=os.environ["SERVO_BASE_URL"],
    api_key=os.environ["SERVO_API_KEY"],
)
robot = sv.robots.attach("yam-cell-01", runtime=open_yam)
model = sv.models.get("pi0.5")
deployment = model.deploy(robot=robot).wait(timeout_s=900)
policy = deployment.policy(robot, instruction="place the red lid on the black box")
check = robot.check(policy)
print(check.completed, len(check.chunks), check.steps)
robot.run(policy, seconds=120)

open_yam is the factory function that opens the calibrated YAM runtime. Servo recognizes its camera, joint-state, command, and close methods directly. --config accepts your local hardware configuration files (or placeholder files for testing), which Servo hashes to record an immutable fingerprint. Calibration and device configuration stay in your application.

Save deployment.id and reuse it with sv.deployments.get(deployment_id). Review active capacity with servo deployment list, and stop unused capacity with servo deployment stop <deployment-id>.

Requires Python 3.12+, a Servo control-plane URL, and an organization API key.

Quickstart · Robots and calibration · Robot fleets

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

servo_client-0.4.0.tar.gz (564.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

servo_client-0.4.0-py3-none-manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

servo_client-0.4.0-py3-none-manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

servo_client-0.4.0-py3-none-any.whl (651.8 kB view details)

Uploaded Python 3

File details

Details for the file servo_client-0.4.0.tar.gz.

File metadata

  • Download URL: servo_client-0.4.0.tar.gz
  • Upload date:
  • Size: 564.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for servo_client-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1f39146d6990c3f07c88c5bc1803dcafc7a7d3923b4a0186ede213cca8a2117a
MD5 8e9e8d32b69f5f1c332def453ef0e20b
BLAKE2b-256 1196b7e90983cb5cecbb0e8869b76aa8fde65ed6e64bdee5023cb9985f1cad20

See more details on using hashes here.

File details

Details for the file servo_client-0.4.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for servo_client-0.4.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7654dfc817e92771037e736dcbfa572a2897fd57659638e5dd6259c4a89267d2
MD5 6f09a150b7a2907a085557f3f331ecfa
BLAKE2b-256 b7a0f417f68be07870bb88a3131f789f4393104b0fa7f3885b50854925438020

See more details on using hashes here.

File details

Details for the file servo_client-0.4.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for servo_client-0.4.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c99dafb71977cd751b91a09f83a6691f070b1bebf45279a83576f513e321288b
MD5 2e60290d4631616110680db324037571
BLAKE2b-256 b22cf9e864bc1178546076ebb035dbc64aa1784b00ed1421411a8d4d14a79eec

See more details on using hashes here.

File details

Details for the file servo_client-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: servo_client-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 651.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for servo_client-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb7cb9ffa34fe9190024a6daf98e940da4bfb5e842b8d67862df6f38e7b65b08
MD5 eb87a9af2d6e7bd039aa8ff0de2213b4
BLAKE2b-256 fb2aad67a7339fe7ed7e3921ce2d608fc6b3f60cb1e04869d379323d1b010974

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

4 files

0.2.1

4 files

0.2.0

4 files

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page