Skip to main content
Subscribe to gateway channels and receive real-time messages — WebSocket first, polling when blocked.
The user subscribes to a channel; push events arrive over WebSocket and the agent summarises each message.
PushClient ships in the praisonai wrapper (pip install praisonai). Core praisonaiagents.push exports protocols and ChannelMessage only.

How It Works

Quick Start

1

Simple Usage

Connect and subscribe:
2

With Configuration

Enable push on the gateway:

How It Works

Import paths:

Configuration Options

PushConfig

DeliveryConfig


Best Practices

Without Redis, channels exist on one gateway instance only.
PushConfig(enabled=False) adds zero overhead — enable only when clients subscribe.
Set fallback_to_polling=True on PushClient when WebSocket is blocked.
Real-time channels differ from A2A task webhooks — use the right page for your pattern.

Gateway

Host push channels on the gateway

A2A Push Notifications

Webhook-based task updates