
Weekend Agent Challenge: Study Buddy AI Agent
An always-on AI-powered study assistant that automatically generates daily interview preparation content using AWS Lambda, Amazon EventBridge Scheduler, Gemini AI, and email notifications. Every morning, it delivers personalized aptitude, coding, SQL, AWS, DSA, and AI learning material directly to the user's inbox.
Weekend Agent Challenge: Study Buddy AI Agent
Introduction
Preparing for technical interviews requires consistency, but deciding what to study each day can be challenging. To solve this problem, I built Study Buddy AI Agent, an always-on AI assistant that automatically generates daily interview preparation material and delivers it to my inbox every morning.
Unlike traditional AI applications that require user interaction, this agent works autonomously. It runs on a schedule, generates learning content using Gemini AI, and emails the results without any manual input.
This project demonstrates how AWS serverless services can be combined with generative AI to create a simple yet practical productivity assistant.
Vision & What the Agent Does
The goal of Study Buddy AI Agent is to simplify interview preparation by delivering focused learning material every day.
Instead of manually deciding what to study, the agent automatically determines the topic based on the day of the week and generates fresh interview preparation content.
Weekly Schedule
Monday
- Aptitude Questions with Answers
Tuesday
- Python Coding Challenge
Wednesday
- SQL Interview Questions
Thursday
- AWS Multiple Choice Questions
Friday
- Data Structures & Algorithms Coding Problem
Saturday
- AI Interview Question
- AI Project Idea
- AI Learning Tip
Sunday
- Weekly Revision Checklist
- Motivational Quote
- Study Plan for the Next Week
Every morning, the generated content is automatically delivered to my email, allowing me to start studying immediately.
How I Built It
The application was designed using a lightweight serverless architecture.
Amazon EventBridge Scheduler automatically triggers an AWS Lambda function every morning. The Lambda function identifies the current day of the week and selects a predefined prompt.
The selected prompt is sent to the Gemini AI API, which generates customized study material. Once the content is received, Lambda formats it into an email and sends it through Gmail SMTP.
The complete workflow is fully automated and requires no user interaction after deployment.
AWS Services Used / Architecture Overview
AWS Services
- AWS Lambda
- Amazon EventBridge Scheduler
- Amazon CloudWatch Logs
External Services
- Gemini AI API
- Gmail SMTP
Architecture
Amazon EventBridge Scheduler │ ▼ AWS Lambda Function │ ▼ Determine Current Day │ ▼ Select Daily Prompt │ ▼ Gemini AI API │ ▼ Generate Study Material │ ▼ Gmail SMTP │ ▼ Daily Email DeliveredThe architecture is completely serverless, making it simple, scalable, and cost-effective.
Development Process
The project was implemented in several stages.
I first designed prompts for each day of the week based on common technical interview topics. Next, I developed the AWS Lambda function to determine the current weekday and invoke the Gemini AI API.
To ensure secure communication, API keys and email credentials were stored as Lambda environment variables instead of hardcoding them.
Finally, I configured Amazon EventBridge Scheduler to invoke the Lambda function automatically every morning and used CloudWatch Logs to verify successful executions.
Challenges Faced
One challenge was integrating Gemini AI with AWS Lambda while maintaining a lightweight implementation.
Another challenge involved configuring SMTP authentication securely for sending emails.
Debugging Lambda execution through CloudWatch Logs helped identify timeout issues and API integration problems during development.
These challenges provided valuable experience in serverless application development and troubleshooting.
What I Learned
This challenge helped me understand how autonomous AI agents differ from traditional AI-powered applications.
Instead of waiting for user requests, an AI agent can proactively perform useful tasks on a schedule and deliver results automatically.
During this project, I gained practical experience with:
- AWS Lambda
- Amazon EventBridge Scheduler
- CloudWatch Logs
- Environment Variables
- Serverless Architecture
- Gemini AI Integration
- Email Automation
The project demonstrated how combining AI with automation creates practical productivity solutions.
Future Improvements
Future enhancements include:
- Personalized learning plans
- Difficulty levels based on previous performance
- Progress tracking dashboard
- PDF study notes
- Telegram notifications
- WhatsApp notifications
- Voice summaries using Amazon Polly
- Weekly performance analytics
GitHub Repository
The complete source code for this project is available on GitHub:
Repository:
Conclusion
Study Buddy AI Agent is an always-on AI assistant that automatically prepares daily interview practice content without requiring any manual interaction.
By combining AWS Lambda, Amazon EventBridge Scheduler, Gemini AI, and Gmail SMTP, the solution delivers fresh learning material every day through email.
This project demonstrates the power of serverless computing and AI automation in building practical, productivity-focused applications.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article