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.
Release files for servo-client 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| servo_client-0.5.0.tar.gz | 803.2 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| servo_client-0.5.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| servo_client-0.5.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| servo_client-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 MB
Release files / servo_client-0.5.0.tar.gz
| Download URL | servo_client-0.5.0.tar.gz |
|---|---|
| Size | 803.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42a835fd252c99cc903fd2e0ebc35ead778653f32a8f9955492e9c0f3c9387f3
|
|
BLAKE2b-256 checksum How to use checksums |
e65f24862dc35921c196d49b40f694f35b629b0288079c69298325a207f070f3
|
| 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.5.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | servo_client-0.5.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3833930b1bc9c2f64fc64a2b2ad11c009fc2d164583f5a7d4b48b051b8102cd4
|
|
BLAKE2b-256 checksum How to use checksums |
fbaade519378d38a445af588730fc8c472665e647367abd7baf21bfc7bdc3a90
|
| 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.5.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | servo_client-0.5.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 |
6a48b011630f7b6cfe29a356b3e10cefb750b18607a3d30d6035c49b3be56294
|
|
BLAKE2b-256 checksum How to use checksums |
915803f7e51f875595b48fecb4ad883fedb53368161ddf25fa437fc555ea8b87
|
| 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.5.0-py3-none-any.whl
| Download URL | servo_client-0.5.0-py3-none-any.whl |
|---|---|
| Size | 923.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c95c3e78d3bed6776d7ac1488b74610c2732038c2a32894494038960b1793fee
|
|
BLAKE2b-256 checksum How to use checksums |
ff182922d17f23e94afa0a9410d0658f44838c54f318f6a8ffc947f4bd1790de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|