AWS Builder Center
Weekend Agent Challenge : MemoREAD

Weekend Agent Challenge : MemoREAD

You read dozens of articles a week but remember almost nothing by the next day. MemoREAD solves this by automatically turning your everyday browsing into a daily quiz. It tracks what you read, picks the most worthwhile articles, and quizzes you on key takeaways - no setup required, just read normally. Passive reading becomes active recall, and spaced repetition ensures what matters actually sticks.

Vision & What the Agent Does

I read a lot online Medium posts, news articles, technical deep-dives and by the next day I've usually forgotten most of it. The information goes in, gets skimmed, and evaporates. MemoREAD is my attempt to fix that: an agent pipeline that turns my own passive browsing into active recall, automatically, without me having to lift a finger beyond reading the way I already do.
The problem it solves: Passive reading has almost no retention. Spaced repetition and active recall are well-established ways to actually remember what you learn, but nobody builds that habit around their everyday browsing - it's always a separate app, a separate deck of flashcards, a separate chore. MemoREAD removes the chore. It watches what I actually read, decides what was worth reading, and quizzes me on it the next morning by sending an email reminder. I click the link and take the quiz.
What triggers it to run:
  • A Chrome extension syncs my browsing history to the backend automatically (S3 bucket), in the background, on a configurable interval (2–15 minutes) - no manual export, no button to remember to click.
  • A daily EventBridge Scheduler kicks off the actual "figure out what I read and quiz me on it" pipeline once a day.
  • Agents that I built on AWS lambda (Strands agents) pitch into the action and reviews the content that I read and then prepares me a quiz
What it does on its own, with zero input from me:
  • Filters yesterday's synced URLs down to a whitelisted set of domains, and further filters out obvious non-article pages (homepages, section fronts, tag pages) using URL-shape heuristics — done both client-side in the extension and server-side in the agent, so junk never even makes it as far as an LLM call.
  • An AI agent looks at just the title and description of each surviving candidate (a cheap, streamed  <head> -only fetch, not a full page download) and picks the 10 most genuinely worth reading.
  • Those 10 get their full article text scraped, asynchronously and in parallel.
  • A second AI agent reads the scraped content and writes a quiz — a mix of multiple-choice, true/false, and multi-select questions — focused on each article's key takeaways, not trivia.
  • How it reports back: it emails me the moment the quiz is ready, with a link straight into a web app where I can take it and see my score.
My only job is to read normally and occasionally click "Resync" if my laptop was asleep through a sync window. Everything else - deciding what mattered, scraping it, writing good questions about it, and telling me it's ready - happens without me.



How I Built It

I started with a rough idea - "quiz me on stuff I read" - and spent almost 70% of the time to design the architecture of the project; because the shape of this pipeline had a lot of ways to go wrong.
There are five stages in the architecture:
  • Sync Stage
  • Sync the browser data periodically without user intervention
  • Map the URLs visited in the browser history against a whitelisted domain to reduce the noise and respect user's privacy. Usually whitelisted domains are related to publicly available articles such as from bbc nrp, khanacademy, history, economist, theguardian, hashnode, wikipedia etc
  • Client and server side whitelisting is strictly enforced
  • Store the data into the S3 bucket
Chrome extension

  • Validation Stage
  • Event scheduler triggers the validation agent on daily basis
Event Bridge Scheduler

  • Validation agent picks (Powered by Amazon Nova Lite) up the data from s3 bucket and then again filters out the junk / noisy URLs against whitelisted domains using a custom logic
  • Read the <head> content of the URLs instead of scraping entire article
  • Rank the URL's content by observing the content in the <head> tag
  • Pick only maximum of top 10 URLs from the ranked URL list
  • Store in the dynamodb and put all the URLs into the SQS to notify a lambda function to start scraping.
  • Content Extraction and Notification Stage
  • Now lambda functions collects these URLs from SQS, that are run in parallel and scrapes the data and stores in the dynamodb.
  • A atomic counter is updated in another dynamodb so as to determine the scraping job for all the URLs is completed.
  • Notify the quiz agent via SNS topic
Dynamodb Scraped Data

  • Quiz Preparation
  • Quiz agent (Powered by Amazon Nova Pro) is invoked on SNS notification and reads the content from the dynamodb.
Quiz Agent Triggered By SNS Notification

  • Prepare 2-3 questions per article and store the quiz in the quiz dynamodb
  • Email the quiz
  • Upon put event in the quiz dynamodb, an email is triggered and sent via the SES service to the user letting know that the quiz is ready to take.
  • Quiz can be take from a webapp that is hosted on AWS Amplify service
Quiz




AWS Services Used / Architecture Overview

MemoREAD Architecture Diagram

Services used:
  • Amazon S3 - landing zone for raw synced browsing history
  • AWS Lambda - every compute step in the pipeline (7 functions total)
  • Amazon Bedrock (Amazon Nova) - powers both AI agents, built with the Strands Agents SDK
  • Amazon SQS - decouples URL selection from the actual scraping, one message per URL, with a dead-letter queue for retries
  • Amazon SNS - fans out the "scraping batch complete" event to the quiz-generation agent
  • Amazon DynamoDB - three tables: scraped article content, per-day scrape progress/status, and the generated quizzes
  • Amazon EventBridge Scheduler - fires the daily pipeline run
  • Amazon API Gateway - REST endpoints for uploading URLs, fetching a quiz, and submitting a score
  • Amazon SES - sends the "your quiz is ready" email
  • AWS SAM - infrastructure as code and deployment tooling for the whole backend
  • Amazon CloudWatch Logs - To debug lambda runtime issues
  • Chrome Extension (Manifest V3) - background sync client, outside AWS but the system's front door
How the agent is triggered, end to end: the Chrome extension pushes whitelisted URLs to S3 continuously in the background as the user browses; once a day, EventBridge Scheduler wakes  validation_agent , which reads that day's URLs, picks the best 10, and fans them out over SQS for parallel scraping; the last scrape to finish publishes an SNS event that wakes  quiz_agent ; a DynamoDB Stream on the finished quiz triggers the email notification - no step in the pipeline polls or waits on another; each one reacts to an event and hands off to the next.



What I Learned / Takeaways

  • Ruthless Simplification for MVP Velocity: Transitioning from a complex, distributed cloud pipeline to a streamlined, on-demand execution model drastically cuts down on infrastructure management. This strategic pivot allows development teams to focus entirely on stabilizing core features rather than debugging multi-hop cloud plumbing.
  • Atomic State Tracking in Distributed Systems: Coordinating parallel processing across decoupled worker instances requires tight state management to prevent race conditions. Utilizing atomic counters via a DynamoDB  UpdateExpression  provides a reliable way to ensure downstream alerts trigger exactly once upon full batch completion.
  • Resilient Pipeline Fault Tolerance: Employing defensive programming blocks like standard Python  finally  constructs ensures that critical global tracking counters update regardless of independent worker statuses. This architecture guarantees the automation pipeline remains unblocked even when specific scraping tasks encounter timeouts or unparseable pages.
  • Defensive Exception Handling for Content Ingestion: Building robust data filtering filters out junk text or paywalls early, preventing corrupted context from reaching downstream LLM components. This structure isolates processing anomalies to safeguard the final prompt generation phase without pausing the global ingestion queue.
  • Strategic Optimization of Package Dependencies: Reviewing the upstream dependency tree early avoids compilation bottlenecks with heavy, multimodal frameworks that bundle unnecessary third-party libraries. Opting for lightweight, native runtime interfaces like direct  boto3  calls eliminates local build errors and speeds up deployment cycles.



Link to App & Source code

Live webapp:  https://staging.d18om7p10pgpos.amplifyapp.com/  
Source code:  https://github.com/harshagangari747/MemoREAD  
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article