AWS Builder Center

Weekend Productivity Challenge: Building Raven, An AI Focus Coach Powered by Amazon Bedrock

Meet Raven, a personal AI focus coach that looks at your macro goals, your schedule, and how tired you are today to give you one single, actionable recommendation.

Building Raven: An AI Focus Coach Powered by Amazon Bedrock

Let’s be honest: most productivity tools actually end up draining your productivity. Your goals are in one app, your calendar is in another, and your daily energy levels are completely ignored. Every morning, you're left staring at a fractured dashboard trying to answer one deceptively simple question: What should I focus on right now?
For the AWS Builder Space Weekend Challenge, I decided to build a tool to solve this exact problem.
Meet Raven, a personal AI focus coach that looks at your macro goals, your schedule, and how tired you are today to give you one single, actionable recommendation.
Here is a breakdown of the problem, the architecture, and how I built it over a weekend using a serverless AWS stack.

The Problem & The Solution

Productivity tools often scatter our focus across too many places. Raven treats your focus like a funnel. Instead of a generic AI chat sidebar that makes you do all the thinking, Raven uses a recommendation-first approach.
You feed it a few simple data points:
  • Goals & Milestones: The big-picture direction broken into manageable steps.
  • Daily Energy Check-in: A quick morning entry (Low / OK / High) that directly shapes what the AI suggests.
  • Manual Schedule: Your meetings, study blocks, and deadlines.
Raven processes this and hands you a dedicated Today view with one primary focus recommendation. If you need context, you can ask follow-up questions, but the focus is entirely on execution. Once you complete a session, it gets logged directly into your Progress history.

System Architecture

Because I only had a weekend to build this, I needed an architecture that deployed instantly, scaled automatically, and cost next to nothing to run. I chose a fully serverless stack to eliminate infrastructure management overhead.

Browser (React)
↓ HTTPS
Lambda Function URL
├── Amazon DynamoDB (Single-Table Design)
└── Amazon Bedrock (Nova Micro)


AWS Services & Roles Used

  • AWS Lambda + Function URLs: Handles the core API logic. By using Lambda Function URLs instead of placing an API Gateway in front, I kept the HTTPS setup simple, fast, and entirely serverless.
  • Amazon DynamoDB: Serves as the single-table data store. It handles goals, energy logs, schedules, and AI recommendations under a unified structure.
  • Amazon Bedrock (Nova Micro): The AI engine behind the application. I chose the Nova Micro model because it provides lightning-fast responses and incredibly cost-effective text generation for both daily recommendations and follow-up chats.
  • GitHub Pages: Hosts the static React frontend, connecting securely to the AWS backend via HTTPS.

Code & Solution Walkthrough

Building under a tight time constraint forces you to make smart architectural decisions. Here are the core insights from how the solution was put together:

1. Single-Table DynamoDB Design

Instead of creating multiple tables and writing complex relational queries, I used a classic DynamoDB single-table pattern. By structuring everything around a  USER#id  Partition Key and utilizing typed Sort Keys—such as  GOAL# ,  REC# ,  EVENT# , and  FOCUS# —I was able to fetch a user's entire daily dashboard state in a highly efficient query layout with minimal backend code.

2. Cost-Effective Prompt Engineering on Bedrock

To ensure the app remains fast and pennies to run, I strictly scoped the prompts sent to Bedrock's Nova Micro model. The system prompt forces a highly structured output format: one direct focus line, a brief "why," and optional supporting extras. This constraint prevents token bloat and keeps the AI responses incredibly precise.

3. A Focus-First UI

The React frontend completely bypasses the traditional chat assistant layout. The UI prioritizes the "Today" recommendation card as the primary call to action. You open the app, see the one thing you need to achieve, click it to start a study block, and get to work.

What I Learned

  • One primary action beats a generic chat UI: Designing around a single recommendation rather than a persistent chat sidebar significantly reduced cognitive load during daily testing.
  • Ruthless scoping is a weekend superpower: By skipping heavy integrations like third-party calendar OAuth and complex multi-tenant auth frameworks, I was able to deliver a highly polished, fully operational serverless application before the Sunday night deadline.

Submission Links & Demo

The project is fully deployed, open-source, and ready to use!

Built for the AWS Builder Space July Weekend Productivity Challenge.
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