How it works
Each channel adapter follows the same pattern:- Inbound — receives messages from the platform (via webhook, WebSocket, etc.), parses them into a normalized
InboundMessage, deduplicates, applies bot-loop protection, and dispatches through the Gateway. - Outbound — delivers agent replies back to the platform through the platform’s send API.
agentscope-extensions-channel-common:
- IdempotencyStore — deduplicates retried webhook deliveries by message id.
- BotLoopGuard — per-peer rate limiter that prevents runaway bot-to-bot loops.
Shared dependency
Every channel adapter depends onagentscope-extensions-channel-common (included transitively) and agentscope-harness (provided at runtime by your application).