Python and Java SDKs
rstream now includes Python and Java SDKs for backend services that should own their tunnel lifecycle directly from application code.
The Python SDK is built around asyncio and includes direct ASGI and WSGI serving for FastAPI, Starlette, Flask, Django, and similar applications. The Java SDK is framework-free at its core and exposes closeable runtime primitives, direct HTTP serving, private dialing, and examples for common JVM frameworks.
Both SDKs read the same rstream YAML configuration model as the CLI and other SDKs, support token and mTLS authentication, create published or private tunnels, dial private bytestream tunnels, and verify signed webhook deliveries.
This unlocks integrations where spawning the CLI is the wrong boundary: device agents, backend workers, JVM services, Python APIs, framework applications, and webhook receivers can now keep rstream inside their normal lifecycle, configuration, logging, and shutdown paths.
See Python SDK and Java SDK for runtime usage, examples, environment variables, and repository links.