gateway
Rust AI Agent SDK Gateway Module for PraisonAI Rust SDK Defines protocols and types for gateway/control plane implementations. These enable multi-agent coordination, session management, and real-time communication.Example
Import
Classes
GatewayEvent
A gateway event with metadata.
GatewayMessage
A message sent through the gateway.
GatewayConfig
Configuration for a gateway.
GatewayHealth
Gateway health status.
GatewaySessionProtocol
Protocol for gateway session management. Sessions track conversations between clients and agents, maintaining state and message history.
GatewayClientProtocol
Protocol for gateway client connections. Clients are external connections (WebSocket, HTTP, etc.) that communicate with agents through the gateway.
GatewayProtocol
Protocol for gateway/control plane implementations. The gateway coordinates communication between clients and agents, manages sessions, and provides…
EventType
Standard gateway event types.

