Vision & What the Agent Does
In Bolivia, one of the biggest economic challenges people face is the constant fluctuation of the U.S. dollar exchange rate. These daily changes have a direct impact on personal finances, investments, online purchases, travel planning, and business decisions. For many of us, checking the exchange rate has become part of our daily routine.
That inspired me to build an autonomous AI agent that takes care of this task for me.
Every morning, the agent automatically wakes up on a scheduled time, retrieves the latest official and market exchange rates from a public API, and uses Amazon Bedrock (Nova Lite) to generate a concise, easy-to-understand financial summary. Finally, it sends the report directly to my email, so it's waiting for me just in time to enjoy my morning coffee and start the day well informed.
Instead of manually searching for exchange rates every day, the agent works independently in the background, turning raw financial data into actionable insights without any human intervention.
This project demonstrates how serverless AWS services and generative AI can automate a real-world, everyday problem while delivering timely and meaningful information.
How I Built It
I built the solution using a serverless architecture with Amazon EventBridge, AWS Lambda, Amazon Bedrock (Nova Lite), and Amazon SES. Every morning, the agent retrieves the latest exchange rates, generates an AI-powered financial summary, and emails the report automatically.
The biggest challenge was integrating AWS Lambda with a generative AI service, as it was my first time building this type of solution. It was a great opportunity to learn how serverless applications can interact with foundation models. I also chose to use Python's built-in libraries to keep the deployment lightweight and simple.
AWS Services & Architecture
The solution uses Amazon EventBridge Scheduler, AWS Lambda, Amazon Bedrock (Nova Lite), and Amazon SES. EventBridge automatically triggers the Lambda every morning, which retrieves the latest exchange rates from DolarAPI, generates an AI-powered summary with Bedrock, and sends the report via email using SES.
Architecture: EventBridge Scheduler → AWS Lambda → DolarAPI → Amazon Bedrock → Amazon SES → Email.
Cron expression: cron(0 12 * * ? *)
Trigger: Runs automatically every day at 8:00 AM Bolivia Time (12:00 UTC).
What I Learned
Building this project helped me explore the different AI models available in Amazon Bedrock and understand how easy it is to integrate them with AWS Lambda and other serverless services. I also learned that creating autonomous AI agents doesn't have to be complex. By combining generative AI with event-driven architectures, it's possible to build practical agents that automate everyday tasks and deliver real value with minimal infrastructure.
The Result
Link to Repo
Loading article