<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pereiranaomi on Medium]]></title>
        <description><![CDATA[Stories by Pereiranaomi on Medium]]></description>
        <link>https://medium.com/@pereiranaomi3?source=rss-5ec5f03cb8bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sxcGWQwEdEEpgvY4</url>
            <title>Stories by Pereiranaomi on Medium</title>
            <link>https://medium.com/@pereiranaomi3?source=rss-5ec5f03cb8bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:06:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pereiranaomi3/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Captain’s Log: I Built a Personal AI Agent for Students with Coral SQL, AWS Bedrock, and Wear OS]]></title>
            <link>https://medium.com/@pereiranaomi3/captains-log-i-built-a-personal-ai-agent-for-students-with-coral-sql-aws-bedrock-and-wear-os-e04b13c803d2?source=rss-5ec5f03cb8bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/e04b13c803d2</guid>
            <category><![CDATA[aws-bedrock]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[wear-os]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Pereiranaomi]]></dc:creator>
            <pubDate>Sun, 31 May 2026 09:11:34 GMT</pubDate>
            <atom:updated>2026-05-31T09:11:34.174Z</atom:updated>
            <content:encoded><![CDATA[<h3>Nudge — Stop drowning. Start doing.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLTVjgCKZwlWBkfvjFkLHw.png" /><figcaption>Built by Naomi Pereira for the Personal Agents Track of the Pirates of Coral-Bean Hackathon.</figcaption></figure><p>As a student, I constantly switch between Gmail, Google Calendar, and Notion. Important deadlines get buried in emails, tasks never make it to my planner, and busy days sneak up on me until it’s too late.</p><p>I didn’t want another chatbot that summarized information. I wanted an agent that could understand what actually matters, connect information across tools, and help me act before things fall through the cracks.</p><p>That’s how Nudge was born.</p><p>In this guide, I’ll walk through how I built Nudge using Coral SQL, AWS Bedrock, FastAPI, Next.js, and Wear OS.</p><p>By the end, you’ll understand how to:</p><ul><li>Query Gmail, Calendar, and Notion through Coral SQL</li><li>Build an AI workflow using AWS Bedrock</li><li>Generate actionable nudges from real data</li><li>Create automated actions like task creation and email drafts</li><li>Extend the same agent to a Wear OS watch</li></ul><h3>What Nudge Does</h3><p>Nudge is a personal AI agent that connects:</p><ul><li>Gmail</li><li>Google Calendar</li><li>Notion</li></ul><p>It continuously looks for signals that students commonly miss:</p><ul><li>Deadlines hidden in emails</li><li>Tasks that were never added to a planner</li><li>Overloaded days filled with meetings and assignments</li><li>Important emails that need attention</li></ul><p>Instead of simply surfacing information, Nudge creates actionable recommendations and can even perform actions on behalf of the user.</p><p>Some examples:</p><ul><li>Create a Notion task from an assignment email</li><li>Draft an email reply</li><li>Suggest a calendar focus block</li><li>Generate a daily brief</li><li>Warn about overloaded days</li></ul><h3>Architecture</h3><p>The entire system follows a simple flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*B90HBDLa-5Htb1vkI95SMw.png" /><figcaption>architecture diagram</figcaption></figure><p>Coral acts as the data layer.</p><p>Bedrock acts as the reasoning layer.</p><p>The orchestrator connects everything together.</p><h3>Step 1: Register Data Sources with Coral</h3><p>One of my goals was to avoid manually stitching together APIs.</p><p>Instead of writing custom joins between Gmail, Calendar, and Notion, I wanted a single query layer.</p><p>That’s where Coral came in.</p><p>I registered three sources:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EORTxQe7_aFLRdcv0cfyEQ.png" /><figcaption>sources used</figcaption></figure><p>After installing Coral and configuring the source manifests, all three systems became queryable through Coral SQL.</p><p>This made it possible to reason across multiple applications using standard SQL rather than custom API logic.</p><p>For example, a query can identify:</p><ul><li>An assignment email</li><li>Missing Notion task</li><li>Upcoming due date</li></ul><p>all within a single workflow.</p><p>This became the foundation of Nudge.</p><h3>Step 2: Build the Agent Loop</h3><p>Once Coral could retrieve data, the next step was deciding what deserved attention.</p><p>The FastAPI backend runs several Coral queries:</p><ul><li>Deadline detection</li><li>Overload detection</li><li>Task recommendations</li><li>Wear OS requests</li></ul><p>The query results are then passed into AWS Bedrock.</p><p>Bedrock performs:</p><ul><li>Prioritization</li><li>Inbox triage</li><li>Daily brief generation</li><li>Nudge creation</li></ul><p>Instead of returning long summaries, I designed the prompts to produce short, actionable recommendations.</p><p>Examples:</p><p>“Lab report due in 2 days and no task exists.”</p><p>“Tomorrow has 7 hours of meetings and 3 pending assignments.”</p><p>“Professor emailed project requirements but no follow-up task was created.”</p><p>The goal was not information. The goal was action.</p><h3>Step 3: Add Automated Actions</h3><p>Once the agent understands what matters, it can take action.</p><p>Nudge supports:</p><ul><li>Creating Notion tasks</li><li>Drafting Gmail replies</li><li>Suggesting schedule changes</li><li>Recommending focus blocks</li></ul><p>Coral determines what needs attention.</p><p>Bedrock explains why.</p><p>The action layer performs the final operation.</p><p>This separation kept the system easier to reason about and debug.</p><h3>Step 4: Build the Dashboard</h3><p>The dashboard was built with Next.js.</p><p>Its purpose is to make the entire pipeline visible. Users can:</p><ul><li>Run the pipeline</li><li>View generated nudges</li><li>Inspect actions</li><li>Review daily briefs</li><li>Monitor workload</li></ul><p>One feature I particularly liked was streaming execution.</p><p>As Coral queries run and Bedrock generates output, users can watch the process in real time.</p><p>This makes the agent feel transparent instead of mysterious.</p><h3>Step 5: Add a Wear OS Companion</h3><p>One feature I wanted from the beginning was a watch experience.There are plenty of moments when I don’t have a laptop available.Imagine walking out of class and your professor mentions:“The lab report is due Friday.” Instead of hoping I’ll remember later, I can raise my wrist and say:“Add a Notion task: finish lab report, due Friday.”</p><p>The request goes through the same backend and creates the task automatically.I can also ask:“Did Professor Ramesh email anything about the assignment?”</p><p>Behind the scenes, Coral queries the synced inbox and the agent returns only the relevant information.</p><p>The watch acts as a thin client.</p><p>All Coral SQL queries and Bedrock reasoning remain on the backend.</p><h3>Step 6: Deploy the System</h3><p>For deployment, I split Nudge into two parts:</p><h4>Frontend</h4><p>The Next.js dashboard is deployed on Vercel. This handles the landing page, dashboard UI, and pipeline execution interface.</p><h4>Backend</h4><p>The FastAPI backend runs on an EC2 instance along with Coral CLI and the source configurations. This is where:</p><ul><li>Coral SQL queries execute</li><li>AWS Bedrock is called</li><li>Gmail, Calendar, and Notion integrations run</li><li>Actions such as task creation and email drafting are performed</li></ul><h3>Environment Setup</h3><p>The application requires:</p><ul><li>Google OAuth credentials for Gmail and Calendar</li><li>Notion integration credentials</li><li>AWS Bedrock credentials</li><li>Coral source manifests</li><li>Application API keys</li></ul><p>After configuring the environment variables and registering the Coral sources, the backend can be started with FastAPI and connected to the Vercel frontend.</p><p>This separation keeps the dashboard lightweight while allowing Coral, Bedrock, and the agent workflow to run on a dedicated backend server.</p><h3>What I Learned</h3><p>Three decisions worked especially well:</p><h4>Coral as the data layer</h4><p>Treating Gmail, Calendar, and Notion as queryable sources dramatically simplified development.</p><p>Most new features became SQL problems instead of integration problems.</p><h4>Bedrock for reasoning, not storage</h4><p>I used Bedrock for classification, prioritization, and language generation.</p><p>Structured data stayed inside Coral and the application layer.</p><h4>Showing the pipeline</h4><p>Users trust systems more when they can see how decisions are made.</p><p>Streaming query execution and generated nudges made the product feel much more understandable.</p><h3>Final Thoughts</h3><p>Nudge started as a personal frustration with information scattered across multiple apps.</p><p>By combining Coral SQL, AWS Bedrock, FastAPI, Next.js, and Wear OS, I was able to build a personal AI agent that doesn’t just collect information but helps turn it into action.</p><p>If I continued developing it, I would focus on deeper scheduling automation, smarter prioritization, and tighter integration between the watch experience and the desktop workflow.</p><p>Live Demo: <a href="https://nudge-ai-prod.vercel.app/">https://nudge-ai-prod.vercel.app</a></p><p>Video Walkthrough: <a href="https://youtu.be/cmTGcMjZZGw">https://youtu.be/cmTGcMjZZGw</a></p><p>Github repository :<a href="https://github.com/NaomiiAP/nudge">https://github.com/NaomiiAP/nudge</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e04b13c803d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>