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

Release files for servo-client 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for servo-client 0.6.0
File Size Uploaded
servo_client-0.6.0.tar.gz 808.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for servo-client 0.6.0
File Interpreter ABI Platform
servo_client-0.6.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
servo_client-0.6.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
servo_client-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 MB

Release files / servo_client-0.6.0.tar.gz

Download URL servo_client-0.6.0.tar.gz
Size 808.1 kB
Tags Source
SHA-256 checksum
How to use checksums
53b9835b07ebb7003b07a936d68b36e3d972d1de6927cea38928b47f5c66ea61
BLAKE2b-256 checksum
How to use checksums
03b22e9e2627111672d5b3994b5c761dad91b6ef48bfe4080c6ec90401dcf7f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / servo_client-0.6.0-py3-none-manylinux_2_28_x86_64.whl

Download URL servo_client-0.6.0-py3-none-manylinux_2_28_x86_64.whl
Size 2.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a758d4bc23f5ddf967dfbbc0fb7439dbdf2b33be5e494da4e8ce8108f0981a05
BLAKE2b-256 checksum
How to use checksums
96b75a9926b76a2e1e5f3ba7c399f8c1f16c29ca878622fab8a80bc312624380
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / servo_client-0.6.0-py3-none-manylinux_2_28_aarch64.whl

Download URL servo_client-0.6.0-py3-none-manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1a45a4418c8346eba8dbce2c4e2fd7ead80aa8ade74d8d19c70f5b363716baa1
BLAKE2b-256 checksum
How to use checksums
a5347b65e4d473307bffc3ea94734268cff66fb027d4595b9ccc4f01f7d42cca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / servo_client-0.6.0-py3-none-any.whl

Download URL servo_client-0.6.0-py3-none-any.whl
Size 928.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2da3317b21732f70ad01b50e80d2e7c0e723dbc36ccca4cf10d32be5675663b2
BLAKE2b-256 checksum
How to use checksums
4496309a6de5f5112e6eede70ff54158c238c055411327c2567989da91ff80e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.6.0 This release

4 release files

0.5.0

4 release files

0.4.1

4 release files

0.4.0

4 release files

0.2.1

4 release files

0.2.0

4 release files

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release 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