Skip to main content

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" }

Hosted inference

Hosted sessions (kind: webrtc) run on Reflex-managed infrastructure. You only need your Reflex API key; Convex authorizes the session and routes it to an available worker for you. There is nothing to provision and no backend to choose.

See examples/ for full configs. To exercise reflex connect end to end without a robot (fake hardware + synthetic cameras), see sim/.

Metadata

Release files for reflex-sdk 0.9.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 reflex-sdk 0.9.0
File Size Uploaded Provenance Actions
reflex_sdk-0.9.0.tar.gz 229.8 kB Without provenance Details for reflex_sdk-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reflex-sdk 0.9.0
File Interpreter ABI Platform Actions
reflex_sdk-0.9.0-py3-none-any.whl Python 3 none any Details for reflex_sdk-0.9.0-py3-none-any.whl

Total release size: 451.2 kB

Release files / reflex_sdk-0.9.0.tar.gz

Download URL reflex_sdk-0.9.0.tar.gz
Size 229.8 kB
Tags Source
SHA-256 checksum
How to use checksums
72ed98da9fc28ce1123458ecb066973f0b8a99a12deab1c21a46127f6922d8e9
BLAKE2b-256 checksum
How to use checksums
097b69ee7417117f0d8c3665e763dbbd929ec38ad66062adc8ce818e638c2688
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.9.0-py3-none-any.whl

Download URL reflex_sdk-0.9.0-py3-none-any.whl
Size 221.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec492c75c081c1b7aa2295f871e447348900b813fab9d5396e518fafdb1f07f4
BLAKE2b-256 checksum
How to use checksums
127ba51c0c9ef86d39ca862056861870b8c36fffe9f0edd0d11bc0471911f04c
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.9.0

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.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

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