This specialization course is designed for developers who already have skills in building conversational agents with Python and want to take their projects to the next level: production. Across four intensive sessions, you will explore the essential tools and practices to deploy, manage, and scale your agents on Amazon Web Services (AWS), automating infrastructure with Terraform. We will dive into building robust serverless architectures using AWS Lambda and API Gateway (both HTTP and WebSocket) to expose your agent to multiple channels. You will learn to orchestrate this infrastructure efficiently and reproducibly with Terraform. Then, we focus on hands-on integration, deploying your agent on key platforms such as web, WhatsApp, and Facebook Messenger. By the end of this course, you will be equipped with the knowledge and experience to deploy your text conversational agents professionally and scalably in a real production environment.
Terraform is implemented as IaC for use with AWS.
Services are deployed via Terraform on AWS, such as API Gateway, DynamoDB, Lambda, SQS, and others.
CloudWatch is set up to track WA and FB Messenger events, along with integrating Lambda Layers.
Create a responsive WebChat in React with hooks to send/receive messages, typing indicators, and automatic reconnection. Integrate user authentication and session management.
Integrate a WebSocket API Gateway that maintains persistent sessions and delivers real-time messaging. Handle connect/disconnect events, route by user ID, and apply exponential backoff retries on failure.
Design a DynamoDB or Aurora Serverless schema to store turns, embeddings, and agent state. Add TTL for stale data, GSI by user, and memory versioning to manage extended contexts.
Configure your Facebook App: register WhatsApp number, long-lived tokens, and webhook verification. Define permissions, roles, and version control for a secure WA and Messenger environment.
Send and receive messages with the Cloud API: approved templates, interactive messages, media uploads, and session management. Implement HMAC signatures, throughput control, and automate user opt-in.
Integrate the Messenger Graph API: subscribe to page-message events, quick replies, buttons, and attachments. Manage page tokens, webhook verification, rate limits, and 5xx error recovery.
Copyright © 2025 IA Chile. All Right Reserved