Replit River is a Python toolkit for building reliable, bidirectional communication channels (RPC, streaming, etc.) between services, primarily used in the Replit environment. Current version 0.17.19 requires Python 3.12+ and is under active development with frequent releases.
pip install replit-riverVerified import paths — ran on the pinned version, not inferred.
Minimal client example: create RiverClient with WebSocket transport, call a remote procedure.
Upgrade Python to 3.12 or higher.
Use `from replit_river.client import RiverClient` and `from replit_river.server import RiverServer`.
Use `transport='ws'` instead of `scheme='ws'`.