
Weekend Agent Challenge: Bike News Content Agent
My Project submission for the weekend challenge
ποΈ Vision & What the Agent Does
TheΒ Bike News Content AgentΒ is an autonomous AI-powered system that automatically generates and delivers comprehensive daily motorcycle news briefings via email β with absolutely zero manual intervention.
The Problem It Solves
As a motorcycle enthusiast, keeping up with the latest bike launches, MotoGP results, price changes, and EV innovations across multiple news sources is time-consuming. I wanted a personal news agent that curates and delivers everything I need to know β ready in my inbox before I even wake up.
What Triggers It to Run
The agent is triggered automatically every day atΒ 6:00 AM UTCΒ usingΒ Amazon EventBridge SchedulerΒ with a cron expression. No button clicks, no manual actions β it just runs on its own, every single day.
What It Does on Its Own
Every morning, the agent autonomously:
- Generates motorcycle newsΒ β Using Groq AI (LLaMA 3.3 70B), it creates a comprehensive news briefing covering new model launches, racing updates, price changes, EV innovations, and industry trends
- Creates a catchy headlineΒ β AI generates a bold thumbnail title based on the top story
- Generates a cover imageΒ β Using Pollinations.ai, it creates a professional, eye-catching motorcycle-themed thumbnail
- Stores the imageΒ β Uploads the thumbnail to Amazon S3 for reliable delivery
- Sends a beautiful email newsletterΒ β Formats everything into a dark-themed HTML email and delivers it via Amazon SES

ο»Ώ
How It Reports Back
The agent delivers aΒ professionally formatted HTML email newsletterΒ directly to my inbox every morning. The email includes:
- A stunning AI-generated cover image
- 5-6 curated motorcycle news items with bold headlines
- A market outlook summary
- Clean dark-themed design that looks great on any device

ο»Ώ

ο»Ώ
ο»Ώ
π οΈ How I Built It
Development Process
I built this agent in a single weekend as part of the AWS Builder Center Weekend Agent Challenge 2026. My approach was:
- PlanningΒ β Sketched out the architecture: what triggers it, what AI does the thinking, and how it delivers results
- Core Logic FirstΒ β Got the Groq AI news generation working in Lambda
- Image GenerationΒ β Added Pollinations.ai for automated thumbnail creation
- Email FormattingΒ β Built a professional HTML email template with dark theme
- AutomationΒ β Connected EventBridge to trigger everything daily
Key Decisions
- Groq AI over other LLMsΒ β Chose Groq because it's free, incredibly fast (< 1 second inference), and the LLaMA 3.3 70B model produces excellent journalism-quality content
- Pollinations.ai for imagesΒ β Free, no API key required, and generates decent quality motorcycle-themed thumbnails
- S3 for image storageΒ β Presigned URLs ensure the thumbnail displays reliably in emails without hosting concerns
- SES for emailΒ β Native AWS integration, free tier covers 62,000 emails/month
Challenges Encountered
- Lambda missing 'requests' libraryΒ β Lambda doesn't include theΒ Β
requestsΒΒ module by default. Fixed by adding a Lambda Layer (Klayers)
- Image generation qualityΒ β Initially tried Hugging Face API but faced connection issues from Lambda. Switched to Pollinations.ai which works reliably without API keys
- Email formattingΒ β Getting HTML emails to render consistently across email clients required careful inline CSS styling
- Timeout issuesΒ β Image generation can take time. Increased Lambda timeout to 90 seconds to handle slower responses
How I Overcame Them
Each challenge was solved through research and iteration. The Lambda Layer solution was the biggest learning moment β understanding that Lambda has a minimal runtime and external libraries must be explicitly added. For the image generation, I tested three different providers before finding one that worked reliably within Lambda's network constraints.

ο»Ώ
ο»Ώ
βοΈ AWS Services Used / Architecture Overview
Architecture Diagram
ββββββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββββββ ββββββββββββββ EventBridge ββββββΆβ Lambda ββββββΆβ Groq AI ββββββΆβ Pollinations.aiββββββΆβ SES Emailββ (Scheduler) β β (Python) β β(LLaMA 3.3)β β (Thumbnail) β β(Newsletter)βββββββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββββββββ βββββββββββββο»Ώ
AWS Services Used
Service | Role |
|---|---|
Amazon EventBridge | Scheduler β triggers the agent daily at 6:00 AM UTC using cron expression |
AWS Lambda | Compute β Python 3.12 function that orchestrates the entire workflow |
Amazon SES | Email delivery β sends formatted HTML newsletters |
Amazon S3 | Storage β stores generated thumbnail images with presigned URLs |
AWS IAM | Security β manages permissions for Lambda to access SES and S3 |
Amazon CloudWatch | Monitoring β logs all execution details for debugging |
How the Agent Is Triggered
The agent usesΒ Amazon EventBridge SchedulerΒ with the cron expressionΒ Β
cron(0 6 * * ? *)Β Β which fires every day at 6:00 AM UTC. EventBridge invokes the Lambda function with no payload needed β the function knows what to do on its own.External APIs
API | Purpose | Cost |
|---|---|---|
Groq AI (LLaMA 3.3 70B) | News content + headline generation | Free |
Pollinations.ai | Thumbnail image generation | Free |
ο»Ώ
π What I Learned
New Skills Discovered
- Serverless architecture designΒ β How to build a complete autonomous system using only serverless components
- Lambda LayersΒ β How to add external Python libraries to Lambda functions
- EventBridge cron expressionsΒ β Scheduling automation with precise time control
- HTML email designΒ β Building responsive, dark-themed email templates with inline CSS
- Presigned URLsΒ β Securely sharing S3 objects without making buckets public
New Services Explored
- Amazon EventBridge SchedulerΒ β First time using it for automated triggers (much simpler than I expected!)
- Amazon SESΒ β Learned the identity verification process and email formatting
- Lambda LayersΒ β Discovered the Klayers project for pre-built Python library layers
New Approaches Discovered
- AI-powered content pipelinesΒ β Chaining multiple AI calls (content β headline β image) creates a complete content production workflow
- Event-driven architectureΒ β Building systems that react to time/events rather than user actions fundamentally changes how you think about software
- Free tier stackingΒ β Combining AWS Free Tier with free AI APIs creates powerful applications at zero cost
ο»Ώ
π Link to App or Repo
The repository includes:
- β
Complete Lambda function source code (Β
lambda_function.pyΒ)
- β Detailed README with step-by-step setup instructions
- β Architecture diagram
- β Screenshots of successful execution
- β Troubleshooting guide
ο»Ώ
π Performance
Metric | Value |
|---|---|
Execution Duration | 2-10 seconds |
Memory Used | ~77 MB / 256 MB |
Monthly Cost | $0.00 |
Daily Emails Sent | 1 (expandable) |
News Items Generated | 5-6 per day |
Uptime | 100% (serverless) |
ο»Ώ
Built with β€οΈ for the AWS Builder Center Weekend Agent Challenge 2026Β ποΈπ
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article