
Weekend Productivity Challenge: CORTEX — Stop Searching. Start Remembering.
The internet helped us store information. AI helped us generate information. CORTEX helps us remember information—preserving the context behind everything we create, save, and learn.
Vision & What the App Does
Every productivity application promises to help us do more.
Some organize our calendars. Some prioritize our tasks. Some summarize meetings. Some even generate notes with AI.
Yet despite having more productivity tools than ever before, most of us still spend a surprising amount of time searching for information we've already seen.
A bookmarked webpage. A forgotten ChatGPT conversation. An important PDF. A meeting note. A screenshot captured weeks ago. A brilliant idea written down at two in the morning.
The problem isn't that we've lost the information. We've lost the context around it.
That observation became the foundation for CORTEX.
We tend to think productivity is about managing tasks. But one of the biggest quiet barriers to real productivity is something simpler: remembering why something mattered in the first place. Not where a file lives—but what decision you made after reading it, and how it connected to three other things you were working on at the time.
CORTEX is an AI Context Engine designed to preserve exactly that.
Instead of asking users to organize everything into folders and tags, CORTEX continuously understands the relationships between documents, notes, and ideas. When a user asks a question, it doesn't perform a keyword search—it reconstructs the surrounding context.
Rather than searching for a file called "AWS Notes.pdf," users simply ask:
"What ideas did I have for my AWS Builder article?"
or
"Show everything related to ASET."
Instead of returning filenames, CORTEX returns understanding.
The philosophy is simple:
- The internet solved storing information.
- AI solved generating information.
- CORTEX helps people remember information.
How We Built It
Our goal wasn't to build another AI chatbot or note-taking application. We wanted to build a system that quietly worked in the background, helping users reconnect with their own knowledge—the way memory works, through association rather than file paths.
The development process started by identifying the smallest feature set that could demonstrate the vision clearly.
The ingestion pipeline. Users upload documents (PDFs, text, markdown) or write quick notes directly into CORTEX. Each piece of content is immediately processed through Amazon Bedrock. Claude 3 Sonnet extracts a concise summary, identifies topics, pulls out entities (people, projects, technologies, dates), and generates a "context note"—a short explanation of why this content might matter later. Simultaneously, Amazon Titan Embeddings v2 generates a semantic vector for each document.
The context engine. This is the core of CORTEX. Every time a new note is processed, the system compares its embedding against all existing notes using cosine similarity, weighted alongside topic overlap (Jaccard similarity). When the combined score passes a threshold, a bi-directional connection is created between the notes—with a human-readable explanation of why they're related. Users never need to manually link anything.
Semantic search. When a user asks a question in natural language, CORTEX generates an embedding for the query, finds the most semantically similar notes, then passes the top results back through Claude to synthesize a direct answer with confidence scoring and source citations. It's not keyword matching—it's meaning-based retrieval.
Throughout development, we held to three principles:
- Simplicity over complexity — The interface should feel invisible. Capture in three seconds. Retrieve by asking.
- Context over keywords — Every feature serves contextual understanding, not file management.
- Understanding over storage — The value is in what the system learns about relationships, not how much it stores.
One of the biggest design challenges was restraint. It was tempting to add AI features that generated new content—daily summaries, automated recommendations, chat interfaces. Instead, we kept the focus narrow: help users rediscover and understand what they already know.
AWS Services Used / Architecture Overview
AWS services allowed us to move from idea to functional prototype in a weekend while keeping the architecture production-grade and extensible.
┌─────────────────────────────────────────────────────────────┐
│ Frontend (React + Vite) │
│ TypeScript · Tailwind CSS · React Router │
└───────────────────────────┬─────────────────────────────────┘
│ REST API (HTTPS)
┌───────────────────────────▼─────────────────────────────────┐
│ Backend API (Node.js + Express) │
│ TypeScript · AWS SDK v3 · Zod Validation │
├──────────┬──────────┬───────────────┬───────────────────────┤
│ Cognito │ DynamoDB │ S3 │ Bedrock │
│ Auth │ Data │ Files │ AI Processing │
└──────────┴──────────┴───────────────┴───────────────────────┘Amazon Bedrock is the intelligence layer. We use two models:
- Claude 3 Sonnet handles content analysis—summarization, topic extraction, entity recognition, context generation, and answer synthesis during search. Each note passes through a structured prompt that returns JSON with summaries, topics, entities, and a "why this matters" context note.
- Amazon Titan Embeddings v2 generates 1024-dimensional semantic vectors for every piece of content. These vectors power the cosine-similarity search that makes CORTEX's contextual retrieval possible.
Amazon DynamoDB stores all application data in a single-table design. Notes, topics, connections, and embeddings share one table with a composite key structure (
PK: USER#<id> , SK: NOTE#<id> ) and a Global Secondary Index for chronological queries. This design keeps read patterns fast and predictable.Amazon S3 handles document storage. When users upload files, the backend generates presigned URLs with 5-minute expiry for secure direct-to-S3 uploads. Raw documents live in user-scoped paths (
uploads/{userId}/raw/{noteId}/ ).Amazon Cognito manages authentication. Users register and authenticate through Cognito User Pools with email verification. The backend validates JWT tokens on every protected request using JWKS public key verification—no token secrets stored server-side.
AWS Amplify provides frontend hosting and continuous deployment from the repository.
Together, these services create a serverless-ready architecture where the compute layer (Express API) handles orchestration, and AWS managed services handle the heavy lifting of AI inference, data persistence, file storage, and identity management.
What I Learned
This challenge reinforced something I keep relearning.
Building good software isn't about adding features. It's about identifying the real problem—and then resisting the urge to solve adjacent problems along the way.
Initially, it was tempting to build a general-purpose AI assistant: something that could summarize, generate, answer questions, and do everything a chatbot does. But as development progressed, the insight became clearer. Users don't need another AI that knows everything. They need one that remembers everything they already know.
That distinction—between generating new knowledge and preserving existing context—shaped every architectural decision. It's why we chose embeddings over keyword indexes. It's why connections are automatic rather than manual. It's why search synthesizes answers from your own content rather than from the internet.
Working with Amazon Bedrock reinforced how accessible foundation models have become. Invoking Claude for structured analysis and Titan for embeddings through the same SDK, with no model hosting or infrastructure management, made it possible to build genuine AI capabilities in hours rather than weeks.
The single-table DynamoDB design was another lesson in simplicity. One table handles notes, topics, connections, and user metadata. The access patterns were defined before writing a single query, which made development remarkably fast once the schema was in place.
Most importantly, this project changed how I think about productivity tools.
Productivity isn't always about completing more tasks. Sometimes it's about not losing the thread. Not forgetting why you started something. Not spending thirty minutes reconstructing where you were before the interruption.
Application & Links
Closing Thoughts
Information has become infinite. Human attention hasn't.
Every day we create more notes, conversations, screenshots, bookmarks, documents, and ideas than we can realistically track. The tools we use to manage that information keep multiplying—but the cognitive overhead of remembering where things are and how they connect remains stubbornly human.
CORTEX exists to close that gap. Not by helping us search faster, but by helping us remember better. Not by generating more content, but by preserving the context around what we already have.
Because the future of productivity isn't remembering more. It's never losing context in the first place.
CORTEX
Stop Searching. Start Remembering.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article