AI Agent News/stories/smart-open-source-toolkit-builds-whatsapp-agents-on-amazon-bedrock-agentcore.md

Email

SMART open source toolkit builds WhatsApp agents on Amazon Bedrock AgentCore

AWS has published SMART, an open source Python SDK and Terraform stack that handles the WhatsApp channel layer for agents running on Amazon Bedrock AgentCore. Developers write the agent logic while SMART covers webhook ingestion, media, conversation memory, scheduling and message templates.

Source: aws.amazon.com/blogs/machine-learning/build-whatsapp-ai-agents-with-amazon-bedrock-agentcore

SMART (Social Messaging Agent Runtime Toolkit) is an open source Python SDK and Terraform stack for WhatsApp agents built on Amazon Bedrock AgentCore. It handles inbound message normalization, voice notes transcribed through Amazon Transcribe, and outbound delivery. A single socialagent deploy command provisions the infrastructure in the user's own AWS account.

Conversation memory is scoped to each phone number through AgentCore memory, and history is kept for 7 days by default. Messages that tools send during a turn are held and delivered in order after the turn ends, so the conversation history is not corrupted. Inbound messages are rate-limited to 20 per minute per user by default.

Three project blueprints are included: minimal, personal-assistant and appointment-scheduler. Message templates are declared in a templates.yaml file and synced with Meta, and a rejected template fails the deploy. The authors describe the code as sample code for non-production use and recommend review with security and compliance teams first.

Why it matters if you build agents

Developers building WhatsApp agents can skip writing webhook signature checks, media pipelines and template approval handling, and focus on prompts, tools and business logic. After deploying, the WhatsApp Business Account's event destination must be pointed at the stack's SNS topic, because inbound messages go nowhere until that link is set. Running socialagent dev first lets teams test the agent locally without any infrastructure.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe