Some channel providers need a companion bridge service in addition to the OpenOPC Python runtime. OpenOPC connects to these bridges through the provider adapter; it does not start or manage the external bridge process for you.
- Install:
pip install -e .[channels-whatsapp] - Runtime mode: WebSocket bridge
- Required config:
bridge_urlallow_from
- Optional config:
bridge_token
- Expected flow:
- Start the companion WhatsApp bridge service.
- Complete QR/device pairing in the bridge environment.
- Set
channels.whatsapp.bridge_urlin.opc/config/channel_config.yaml. - Run
opc channels status. - Start OpenOPC with
opc channels start -p <project>oropc run -p <project>.
- Install:
pip install -e .[channels-mochat] - Runtime mode: bridge
- Required config:
base_urlclaw_tokenagent_user_id
- Optional config:
socket_urlsocket_pathsessionspanels
- Notes:
- Socket mode is attempted first when available.
- HTTP watch/poll fallback is used if socket startup fails.
- Panel targets are treated as bridge/group-style destinations.
pip install -e .[channels-bridges]