AWS introduced SMART, an open-source Python and Terraform toolkit that handles WhatsApp messaging infrastructure for Amazon Bedrock AgentCore agents.
AWS introduced SMART, short for Social Messaging Agent Runtime Toolkit, in a November 17, 2026 technical post. The open-source Python SDK and Terraform stack is designed to connect agents running on Amazon Bedrock AgentCore Runtime to WhatsApp, provisioning the supporting channel infrastructure in an AWS account with a deployment command.
SMART handles incoming webhook processing, message normalization, media workflows, conversation memory, scheduled outreach, and outbound notifications. The toolkit uses Amazon Bedrock AgentCore Memory to retain conversation history across sessions and deployments; the post says the default retention period is seven days. For incoming events, a Lambda function verifies message signatures and applies a default per-user rate limit of 20 messages per minute when the DynamoDB state table is enabled. Voice notes are routed through Amazon Transcribe, while other media can be handled through registered hooks.
The stack also addresses WhatsApp’s 24-hour messaging window: messages sent after that period require Meta-approved templates. AWS says templates can be declared in YAML and synchronized through the toolkit’s command-line interface. The deployed components include AgentCore Runtime and Memory, Lambda functions, Amazon SNS, EventBridge Scheduler, S3 storage, and CloudWatch monitoring. Developers keep control of their agent’s framework, model, prompts, and business logic; the toolkit supplies the messaging layer. AWS describes support for Strands Agents and says LangGraph, Pydantic-AI, and other frameworks can integrate through the available session and memory hooks.
AWS cites Webmotors as an early user: a project initially scoped for two months reached controlled production in six weeks, ahead of the planned full launch. The post also cautions that its sample code is for non-production use and advises teams to assess their security, regulatory, and compliance requirements before deployment. The approach is intended to reduce the integration work involved in handling WhatsApp payloads, media, persistent conversations, and scheduled messages around an existing AI agent.




