AWS Builder Center

Weekend Annoying Task Challenge: ContextKeeper AI

ContextKeeper AI transforms scattered thoughts, screenshots, documents, and voice notes into organized tasks, ideas, and reminders. Built with AWS serverless services, it helps users capture information naturally and avoid losing important commitments.

Computer Science student | AWS Community Builder | Backend Engineer| Building cloud-powered software

The Vision

One thing I've realized about myself is that I don't usually forget because I'm lazy. I forget because I'm juggling too many things at once.
Between school, community leadership, personal projects, research, meetings, and random ideas that pop into my head, information comes from everywhere. Sometimes it's a voice note while walking. Other times it's a screenshot of an email, a PDF someone sent me, or a quick thought I typed into my phone before I forgot it.
The problem isn't capturing those things. The problem starts a few days later when I need to remember what I actually promised to do.
I've spent more time than I'd like scrolling through WhatsApp chats, screenshots, voice notes, and random notes trying to answer questions like:
  • "Didn't someone ask me to send something?"
  • "Who was I supposed to follow up with?"
  • "Where did I save that idea?"
  • "I know I wrote it somewhere..."
That's the annoying task I wanted to eliminate.
ContextKeeper AI is a personal memory assistant that lets me capture information however it naturally comes to me, then automatically turns that messy input into something useful. Instead of remembering where I saved something, I just save it and let the app organize everything for me.



What the App Does

ContextKeeper accepts four different types of input because real life isn't limited to text boxes.

Text Notes

Sometimes I just want to type a quick thought and move on.

Screenshots & Images

If someone sends me an important email or I save a screenshot from WhatsApp, I can upload it directly. Amazon Textract extracts the text before it goes through the AI pipeline.

PDFs

Whether it's lecture notes, meeting minutes, or documents someone shares, PDFs follow the same flow. Textract extracts the text so the AI can understand it.

Voice Notes

This is probably my favorite feature.
Instead of stopping what I'm doing to type, I can simply record a voice note the way I'd explain something to a friend. Amazon Transcribe converts it into text automatically before it's processed.
No matter where the information comes from, everything eventually reaches the same pipeline.
The extracted text is analyzed by gpt-4o-mini, which identifies:
  • Tasks
  • Deadlines
  • People mentioned
  • Projects
  • Ideas
  • Follow-ups
  • Priority
Those structured results are then saved back into ContextKeeper.
Instead of opening a note and reading everything again, I immediately see what actually matters.
One feature I especially enjoyed building is Intelligent Recall.
Rather than searching by keywords, I can ask natural questions like:
"What do I owe Dr. Gyamfua?"
or
"What ideas did I save about my school management system?"
The app creates embeddings for both my stored captures and my question, finds the most relevant matches using cosine similarity, then asks the language model to generate an answer based only on those retrieved results. Every response points back to the original capture, so I always know where the information came from.
To make sure nothing slips through the cracks, EventBridge Scheduler runs a job every morning that generates a summary of upcoming deadlines, overdue tasks, and unfinished follow-ups. Amazon SES then delivers that digest straight to my inbox before the day starts.
ContextKeeper AI transforms unstructured captures into structured personal memory, extracting actionable tasks, ideas, follow-ups, and deadlines from everyday inputs.




How I Built It

I built ContextKeeper as a full-stack monorepo with a fairly simple philosophy: capturing information should feel instant, while the heavy processing happens quietly in the background.
The frontend is built with Next.js and Tailwind CSS. I intentionally kept the interface clean because the goal isn't to manage another complicated dashboard. It's simply to capture information quickly, review it later, and find it when I need it.
The backend is built on AWS using Node.js Lambda functions behind an HTTP API. Amazon Cognito handles authentication so every user's data stays private.
One design decision I made very early was that uploads should never wait for AI processing.
When I upload a screenshot, PDF, voice note, or text note, the request immediately stores the original capture in Amazon S3 while DynamoDB creates its metadata record. A message is then placed onto Amazon SQS before the API responds.
From there, a background Lambda worker picks up the job.
If the upload is an image or PDF, Amazon Textract extracts the text.
If it's an audio recording, Amazon Transcribe converts it into text first.
Once plain text is available, it's sent to gpt-4o-mini, which extracts structured information such as tasks, deadlines, people, projects, ideas, and follow-ups. Those results are then written back into DynamoDB, where they become searchable through the application.
This asynchronous pipeline made the app feel much faster than waiting several seconds for AI processing every time something was uploaded.
Prompt engineering also ended up taking longer than I expected.
Getting the model to consistently recognize commitments without inventing tasks was surprisingly difficult. Handling phrases like "before Friday," "next week," or "after the meeting" required several iterations before I was happy with the consistency of the output.
Deployment was another challenge I didn't expect.
My original plan was to keep everything on AWS, including hosting the frontend with AWS Amplify. Since the backend infrastructure was already managed with AWS CDK, using Amplify felt like the obvious choice.
Unfortunately, I kept running into deployment failures because the project uses a pnpm monorepo. Amplify struggled with pnpm's isolated  node_modules  structure when packaging the Next.js App Router application for server-side rendering. Every deployment failed with an error saying the  next  dependency couldn't be found, even though it was installed correctly.
I spent quite a while trying different solutions, including dependency hoisting, tweaking my  .npmrc  configuration, and writing custom scripts to dereference pnpm's symlinks before the build.
Eventually I stopped trying to force it.
I moved the frontend to Vercel instead, and it deployed successfully on the first attempt.
It was a good reminder that good engineering isn't always about making one tool work at all costs. Sometimes the better decision is choosing the platform that's already designed for your workflow and spending your time improving the product instead.



AWS Services Used & Architecture Overview

Although the frontend is hosted on Vercel, the application's backend and processing pipeline run on AWS.
The infrastructure is defined using AWS CDK, making it easy to deploy and manage everything as code.
Amazon Cognito handles authentication and secures every API request.
Amazon S3 stores every uploaded capture, including screenshots, PDFs, and voice recordings.
Amazon DynamoDB stores captures, extracted tasks, reminders, ideas, follow-ups, and embedding vectors used for semantic search.
Amazon Textract extracts text from screenshots and PDF documents.
Amazon Transcribe converts uploaded voice notes into text.
Amazon SQS decouples uploads from processing, allowing captures to return instantly while background workers process them asynchronously.
AWS Lambda powers both the API endpoints and the background processing workers.
Amazon EventBridge Scheduler triggers the daily digest every morning without me needing to open the application.
Amazon SES sends that digest directly to my inbox.
Amazon CloudWatch provides logging and monitoring for every Lambda execution so I can verify that background processing completed successfully.
OpenAI's gpt-4o-mini powers structured extraction, while text-embedding-3-small creates embeddings that make natural-language recall possible. AWS handles everything else: storage, orchestration, authentication, scheduling, messaging, and serverless compute.
ContextKeeper uses an event-driven serverless architecture where captures are stored first, processed asynchronously, converted into structured memory, and delivered back through daily summaries.




What I Learned

This project taught me a few lessons that I'll definitely carry into future builds.
The biggest one is that user experience starts long before the interface. Waiting for AI to finish processing every upload makes an application feel slow, even if the model is fast. Moving that work into the background with SQS and Lambda completely changed how responsive the app felt.
I also learned that personal knowledge systems don't always need heavyweight infrastructure. For a dataset with only a few thousand captures, storing embedding vectors in DynamoDB and calculating cosine similarity inside a Lambda function is surprisingly fast and much simpler than introducing a dedicated vector database.
Finally, deployment reminded me that choosing the right tools matters just as much as writing good code. I originally wanted to keep everything inside AWS, but after spending hours trying to make Amplify work with my pnpm monorepo, moving the frontend to Vercel was the better engineering decision. The backend still runs entirely on AWS, and making that switch meant I could spend more time improving the application instead of fighting build pipelines.
More than anything, this project solved a problem I deal with almost every day. I no longer have to remember where I saved something. I just capture it, and ContextKeeper takes care of organizing the rest.



Link to App or Repository

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