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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f39146d6990c3f07c88c5bc1803dcafc7a7d3923b4a0186ede213cca8a2117a
|
|
| MD5 |
8e9e8d32b69f5f1c332def453ef0e20b
|
|
| BLAKE2b-256 |
1196b7e90983cb5cecbb0e8869b76aa8fde65ed6e64bdee5023cb9985f1cad20
|
File details
Details for the file servo_client-0.4.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: servo_client-0.4.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7654dfc817e92771037e736dcbfa572a2897fd57659638e5dd6259c4a89267d2
|
|
| MD5 |
6f09a150b7a2907a085557f3f331ecfa
|
|
| BLAKE2b-256 |
b7a0f417f68be07870bb88a3131f789f4393104b0fa7f3885b50854925438020
|
File details
Details for the file servo_client-0.4.0-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: servo_client-0.4.0-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99dafb71977cd751b91a09f83a6691f070b1bebf45279a83576f513e321288b
|
|
| MD5 |
2e60290d4631616110680db324037571
|
|
| BLAKE2b-256 |
b22cf9e864bc1178546076ebb035dbc64aa1784b00ed1421411a8d4d14a79eec
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb7cb9ffa34fe9190024a6daf98e940da4bfb5e842b8d67862df6f38e7b65b08
|
|
| MD5 |
eb87a9af2d6e7bd039aa8ff0de2213b4
|
|
| BLAKE2b-256 |
fb2aad67a7339fe7ed7e3921ce2d608fc6b3f60cb1e04869d379323d1b010974
|