Skip to main content

GatewayRuntimeSeams

Defined in the protocols module.
AI Agent The gateway reliability seams handed to a channel adapter at build time. A single, typed carrier for the four runtime seams the gateway injects so an adapter wires them up in one place instead of via four duck-typed private-attribute splices: Attributes: identity_resolver: Cross-platform identity resolver; unifies the same human across platforms onto one session key. delivery_router: Backing router for the built-in send_message tool, so an agent turn can proactively reach the user mid-task. admission_gate: Gateway-wide admission control (concurrency ceiling / fair queue / backpressure) applied to inbound runs. turn_lock_map: Shared per-turn lock map for cross-platform turn serialisation on the resolved session id. A seam left None means the gateway has nothing to inject for it and the adapter should keep whatever it already has.

Properties

Optional
No description available.
Optional
No description available.
Optional
No description available.
Optional
No description available.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 320

Gateway Feature