
Weekend Creative Agent Challenge: MoodDrop
An always-on AI creative agent that wakes up every morning via Amazon EventBridge, crafts an original daily emotional atmosphere using Amazon Bedrock and DynamoDB, and has it waiting before you wake up.
1. Vision & The Core Problem
Most modern AI creative applications rely on an on-demand, reactive loop: a user arrives at a web page, types a prompt, clicks a "Generate" button, and stares at a loading spinner waiting for tokens to stream back.
While functional, this paradigm fundamentally treats AI as a digital vending machine. It demands active human attention, creates cognitive fatigue, introduces network latency, and interrupts daily creative rituals.
For the AWS Builder Center "Set Your Creative App Free" Weekend Challenge, we set out to build an experience grounded in a different philosophy:
"The best AI tool is the one that works while you are away."
Imagine waking up in the morning, making your coffee, opening your browser or phone, and discovering an original, poetic, beautifully curated creative mood already waiting for you. No forms to fill out. No buttons to click. Zero latency. Just a calm, contemplative digital atmosphere crafted specifically for today.
This is MoodDrop—an always-on, autonomous AI creative agent built entirely on AWS serverless architecture.
2. What MoodDrop Does
Every morning at 05:00 UTC, before the day begins, the MoodDrop autonomous agent wakes up via Amazon EventBridge Scheduler.
The agent operates completely independently of human traffic:
- Recalls Memory: It queries Amazon DynamoDB for its last 7 curated MoodDrops.
- Formulates Anti-Repetition Constraints: It creates a rich prompt instructing Amazon Bedrock (Amazon Nova) to explore novel emotional categories, avoid recent themes, and develop a fresh visual palette.
- Synthesizes & Validates: It invokes Amazon Bedrock, verifies that the response strictly satisfies the JSON schema, and extracts the mood attributes.
- Idempotently Stores: It writes the curated entry to DynamoDB using conditional expressions to guarantee that duplicate triggers never overwrite or corrupt existing data.
When a user visits MoodDrop, each daily drop presents:
- Evocative Mood Name: (e.g., Quiet Rain, Amber Resonance, Luminous Echo, Sunlit Cedar)
- Emotional Category Pill: (e.g., Contemplative, Warmth, Wonder, Serenity)
- Original Poetic Quote: Thoughtfully framed without generic motivational clichés.
- Narrative & Daily Reflection: Two concise paragraphs offering perspective and mindful reflection.
- Visual Atmosphere: Sensory visual cues (e.g., "Rainy window, soft city lights, mist, quiet morning").
- Curated Color Swatches: Harmonious color codes ready for designers and artists.
- Creative Prompt: An artistic writing or scene concept that creators can copy with one click.
3. How We Built It & AWS Serverless Architecture
To qualify as a genuine autonomous agent, MoodDrop strictly decouples the Creation Pipeline from the Retrieval Pipeline:
AWS Services Breakdown
- Amazon EventBridge Scheduler: Functions as the autonomous heartbeat of the system, triggering the Lambda curator on a cron schedule (
cron(0 5 * * ? *)).
- AWS Lambda (Python 3.12): Serves as the intelligent coordinator, handling schedule execution, prompt synthesis, schema validation, and HTTP API routing.
- Amazon Bedrock (Amazon Nova Micro
amazon.nova-micro-v1:0): Provides lightning-fast, highly cost-efficient foundation model inference via Bedrock's unified Converse API.
- Amazon DynamoDB: Fully managed NoSQL table using
date(YYYY-MM-DD) as the primary partition key with Pay-Per-Request (On-Demand) billing.
- Amazon API Gateway (HTTP API): Provides lightweight, low-latency endpoints (
/api/today,/api/recent,/api/status) with built-in CORS for web client consumption.
- Amazon S3 Website Hosting: Hosts the compiled responsive React single-page application with zero server overhead.
4. Key Engineering Decisions & Creative Memory
Creative Memory Window
Without memory, generative models succumb to repetitive thematic cycles. MoodDrop maintains an active 7-day memory buffer:
- Lambda reads the previous week's moods from DynamoDB.
- It injects prior titles, emotional categories, and atmospheres into the Bedrock prompt under explicit negative constraints (
"DO NOT repeat these titles or visual themes").
- The agent progresses organically across contrasting emotional landscapes—from quiet introspection to radiant vitality.
Strict Idempotency & Safety
If EventBridge retries or an operator triggers a manual workflow, the system uses DynamoDB conditional expressions (
ConditionExpression="attribute_not_exists(#d)" ). If an entry for today exists, it logs the existing item and exits cleanly without calling Bedrock again, preventing duplicate generation and eliminating wasted inference tokens.Resilience & Throttling Defense
Bedrock API limits and regional token thresholds are handled with defensive fallback layers. If an account encounters rate limiting (
ThrottlingException ), the curator gracefully ensures continuity without breaking the website or dropping errors to the end user.
5. What I Learned
- Decoupled Autonomous Architecture Is Faster & Cheaper: By decoupling content generation from user traffic, web visitors enjoy sub-50ms page loads from DynamoDB. Inference only runs once per day regardless of whether 10 or 10,000 visitors view the site.
- Amazon Nova Delivers High Performance at Minimal Cost: Amazon Nova Micro and Nova Lite on Bedrock offer exceptional JSON structural adherence and poetic expressiveness at fractions of a cent per day.
- Zero Maintenance Serverless Operations: The entire architecture is 100% serverless, zero-maintenance, and fits comfortably within the AWS Free Tier (costing under $0.05 per month).
6. Experience MoodDrop Live
- Live Web Application: http://mooddrop-web-013131247228.s3-website-us-east-1.amazonaws.com
- Live HTTP API Endpoint: https://5lvoszfu3g.execute-api.us-east-1.amazonaws.com/api/today
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article