gateway • AI Agent SDK

Gateway module for PraisonAI Agents.

gateway

AI Agent

Gateway module for PraisonAI Agents.

Provides protocols and base classes for building gateway/control plane implementations that coordinate multi-agent deployments.

This module contains only protocols and lightweight utilities. Heavy implementations live in the `praisonai-bot package (C9); the praisonai` wrapper re-exports them for full-stack installs.

Gap S2: WebSocketGateway is re-exported here for convenience but requires `praisonai-bot (or pip install praisonai`) to be installed.

Import

python
from praisonaiagents import gateway

Constants

NameValue
_LAZY_IMPORTS{'GatewayProtocol': ('praisonaiagents.gateway.protocols', 'GatewayProtocol'), 'GatewaySessionProtocol': ('praisonaiagents.gateway.protocols', 'GatewaySessionProtocol'), 'GatewayClientProtocol': ('prai...

Related Documentation