Week 2 – AI Digital Twin
I modificed the AI Digital Twin application to be a production-ready, full-stack that represents Joshua Balogun in real-time conversations. This project combines a modern Next.js frontend with a FastAPI backend powered by AWS Bedrock and deploys to AWS using Lambda + API Gateway + S3 + CloudFront + Terraform.
Production URL: https://d36qx0izkd71ph.cloudfront.net/
Core Features
- Conversational AI Digital Twin experience
- Session-based conversation memory
- Memory persistence to local files or S3
- Bedrock tool-calling loop with guarded execution
- Structured context injection from profile files
- Hidden reasoning sanitization in backend and frontend
- Optional lead capture + unknown-question logging tools
- Optional email dispatch via SendGrid
- Optional push notifications via Pushover
- Static frontend export optimized for S3 + CloudFront
- Terraform-based environment-aware infrastructure deployment
- Optional notifications via Pushover.
- Optional outbound email delivery via SendGrid.
Repository
The complete application is available at: https://github.com/iJoshy/digital-twin
See the README.md in the repository for detailed information about implementation, setup, and usage.