Gateway Protocol • AI Agent SDK

GatewayProtocol: Protocol for gateway/control plane implementations.

GatewayProtocol

Defined in the protocols module.

AI Agent

Protocol for gateway/control plane implementations.

The gateway coordinates communication between clients and agents, manages sessions, and provides health/presence tracking.

Example usage (implementation in praisonai_bot.gateway): from praisonai.gateway import WebSocketGateway

gateway = WebSocketGateway(port=8765) gateway.register_agent(my_agent) await gateway.start()

Methods

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1338


Related Documentation