Reflex Python SDK
Public Python package for hosted Reflex training, datasets, managed instances, and action inference.
python -m pip install reflex-sdk
The package installs the reflex Python module and a reflex CLI command in
the active Python environment. If your Python installer puts console scripts in
a directory that is not on PATH, use the module entry point instead:
python3 -m reflex --help
import reflex
This package is intentionally separate from inference/, which owns model
serving and Prime worker runtime code.
Running a robot session (reflex connect)
reflex connect runs a closed-loop robot session (observe → infer → apply),
fully described by a YAML config:
reflex login # or: export REFLEX_API_KEY=rfx_...
reflex connect --config robot.yaml
The config's target: block selects where inference runs (kind:):
kind |
Where inference runs | Notes |
|---|---|---|
webrtc |
Hosted Reflex cloud (default) | Convex authorizes the session and routes it to a worker. A MolmoAct2 model (molmoact2-bimanualyam) is already hosted and online, so you can connect to cloud inference without deploying anything — just log in. |
edge |
Your own HTTP server on the LAN | Point url at a self-hosted inference server (e.g. a Jetson). No cloud/auth. |
target:
kind: webrtc # hosted cloud inference (molmoact2-bimanualyam, already online)
timeout_s: 60
state_field: state
instruction_field: prompt
img_size: 256
hardware:
kind: yam_bimanual
config: { instruction: "fold the towel" }
Choosing the cloud provider — RunPod serverless
Hosted sessions (kind: webrtc) default to Modal. To request routing to a
RunPod serverless node instead, add a runtime hint:
target:
kind: webrtc
runtime: runpod-serverless # route this hosted session to RunPod (QUIC)
The RunPod account key stays server-side (same trust model as Modal) — you only
need your Reflex API key. Convex routes to RunPod when a RunPod node is
registered and available, otherwise the session uses the default backend.
You can also set it via the environment: REFLEX_RUNTIME=runpod-serverless.
See examples/ for full configs (yam_bimanual_molmoact2_MODAL.yaml, etc.).
To exercise reflex connect end to end without a robot (fake hardware +
synthetic cameras, against the offline/Modal/RunPod backends), see sim/.
Metadata
Release files for reflex-sdk 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reflex_sdk-0.7.5.tar.gz | 221.3 kB | Without provenance | Details for reflex_sdk-0.7.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reflex_sdk-0.7.5-py3-none-any.whl | Python 3 | none | any | Details for reflex_sdk-0.7.5-py3-none-any.whl |
Total release size: 438.9 kB
Release files / reflex_sdk-0.7.5.tar.gz
| Download URL | reflex_sdk-0.7.5.tar.gz |
|---|---|
| Size | 221.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
434d66b9c746e266e82eee53b7aec10666a0dc2e04ffb5e783de72f005aaace4
|
|
BLAKE2b-256 checksum How to use checksums |
97432d2f21d83e40837ef04942f812cb37f94949f7f5493acbaeff27fed865d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / reflex_sdk-0.7.5-py3-none-any.whl
| Download URL | reflex_sdk-0.7.5-py3-none-any.whl |
|---|---|
| Size | 217.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
867f9cfa488055b2356726f28b9e39174d6fd2854e269b7d6ae82796a82a384e
|
|
BLAKE2b-256 checksum How to use checksums |
fddcb14b12a2d4671d5a173805ddd027bb43da8ca5f28e5bad7de1248f109934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for reflex-sdk 0.7.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.