AWS Builder Center
Weekend Productivity Challenge: Focus3

Weekend Productivity Challenge: Focus3

Focus3 is a personal AI-powered task prioritizer. A user pastes a free-form list of tasks into a single text area and selects “Choose my focus.” The application sends the list to Amazon Nova, which evaluates urgency, impact, dependencies, and likely effort. It returns no more than three priorities. Each result includes a short explanation, one concrete next action, and a rough time estimate.

Student Builder Campus Leader | DevOps | Developer

Vision

Productivity tools often become another source of work. When my task list grows, the problem is not capturing one more item; it is deciding what deserves attention now. I built Focus3 to make that decision smaller and faster.
Focus3 is a personal AI-powered task prioritizer. A user pastes a free-form list of tasks into a single text area and selects “Choose my focus.” The application sends the list to Amazon Nova, which evaluates urgency, impact, dependencies, and likely effort. It returns no more than three priorities. Each result includes a short explanation, one concrete next action, and a rough time estimate.
The goal is intentionally narrow. Focus3 does not try to replace a project manager, calendar, or complete task-management system. It helps at the moment when a person has too many possible next steps and needs a useful starting point. The output is designed to turn an overwhelming list into an actionable plan.


How I Built It

My first design decision was to minimize the number of moving parts. A typical web application might use a frontend framework, a separate API, authentication, and a database. None of those components was necessary for this use case. Focus3 has one Python AWS Lambda function. A GET request returns the complete HTML, CSS, and JavaScript interface. A POST request validates the task list and invokes Amazon Bedrock.
This same-origin design keeps deployment simple and avoids cross-origin configuration. It also makes the project easy for another builder to understand: the web experience and AI integration are visible in one small source file.
The next challenge was making model output predictable enough for the interface. The system prompt asks Nova to return only JSON with a short summary and a priorities array. The schema includes rank, task, reason, next action, and estimated minutes. Temperature is kept low because consistency is more valuable than creativity in task prioritization. The backend parses that JSON but also has a safe fallback: if the model returns ordinary text, the application still shows it rather than failing completely.
I also treated model output as untrusted content. The browser uses textContent instead of inserting HTML, so a generated response cannot execute markup or scripts. The backend limits input to 4,000 characters, returns friendly errors without internal exception details, and uses security headers. Unit tests cover the web page response, input validation, structured model output, unstructured fallback, and Bedrock failures. The tests use a fake Bedrock client, so they run locally without AWS credentials or model charges.

AWS Services Used / Architecture Overview

Focus3 uses two AWS services:
  • AWS Lambda hosts the entire application and exposes it through a public Lambda Function URL.
  • Amazon Bedrock provides managed access to Amazon Nova 2 Lite, the foundation model that prioritizes tasks.
The browser first sends a GET request to the Function URL and receives the interface. When the user submits tasks, the browser sends a POST request to the same URL. Lambda validates the input and calls the Bedrock InvokeModel API in us-east-1. Nova returns structured JSON, Lambda passes a safe JSON response back to the browser, and JavaScript renders the three cards.
Infrastructure is defined with AWS SAM. The template creates the Lambda function, its execution permissions, environment variables, and the public Function URL. The input size is capped because this is a small public demo. After evaluation, the stack can be deleted with one SAM command.

What I Learned

The most important lesson was that serverless architecture can reduce product scope as well as operational work. Using one Lambda for both the page and API removed an entire deployment surface. For a focused weekend project, fewer boundaries made the application faster to build and easier to test.
I also learned more about the Amazon Nova message schema and cross-region inference model identifiers. A useful AI feature requires more than sending a prompt. The response contract, fallback behavior, user feedback during inference, and output safety all affect whether the feature feels dependable.
Finally, I learned to use constraints as part of the design. Limiting the result to three tasks creates a clearer product than generating a long rewritten to-do list. Focus3 is useful because it makes a decision, explains it, and gives the user a small first action.

Try It or View the Source

The repository includes the Lambda source, AWS SAM template, local unit tests, deployment instructions, and this article draft. Focus3 is small by design, but it demonstrates a complete path from a user problem to a working AI-powered productivity application on AWS.
#productivity
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