Building a serverless AI assistant at Pelago: concept to care in two weeks
Architecture Blog
This article describes how Pelago, a digital health company, built a serverless AI assistant for substance use disorder coaches in just two weeks using AWS services.
- Event-driven architecture uses SNS to fan out messages to independent Lambda functions for decoupled processing
- Chat Assistant Lambda retrieves full conversation history from DynamoDB and invokes Amazon Bedrock asynchronously to generate contextual suggestions
- Pre-generated suggestions are stored in MySQL and retrieved in under 100ms when coaches open conversations
- VPC endpoints keep Protected Health Information (PHI) off the public internet, maintaining HIPAA compliance
- Serverless architecture automatically scales with traffic spikes and eliminates idle compute costs during off-peak hours
- System reduced response preparation time by 40% with 79.6% of AI suggestions rated helpful by care team
The solution demonstrates how managed AI services and serverless patterns enable rapid deployment of compliant healthcare applications without infrastructure overhead.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Aug 14
2026
2026
Faster scaling for Aurora serverless to support agentic AI and other spiky workloads
Jul 13
2026
2026
Multi-cloud lakehouse architecture on AWS for Agentic AI, Part 1: Architecture and best practices
Jul 14
2026
2026
Build a semantic ontology to power AI assistants on AWS – Part 1
Aug 6
2026
2026
Serverless Real-time Voice AI on AWS: A Pattern for Enterprise Sales Coaching
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.