
Weekend Annoying Task Challenge: SpendSmart
SpendSmart turns messy weekly shopping and receipt chores into one flow. Tell it where you are and what you want to make or buy (text, photo, or voice note) Nova Lite builds a plan, you tick items and message shops on WhatsApp, then log spending and see if you’re on track for your goals.
Weekend Annoying Task Challenge: SpendSmart
#productivity
Vision & What the app does
Every week I lose time to the same annoying loop: deciphering a messy grocery note (or a voice dump from the car), deciding what is essential versus what can wait, figuring out which nearby shop is cheap versus quick, typing an order into WhatsApp, then later typing receipts into a spreadsheet. Separately, I set a savings goal and forget to check whether my real spending is helping or hurting it.
SpendSmart is a single Streamlit app that collapses that loop. You tell it where you are and what you want to make or buy as free text, a receipt photo, a shopping-list photo, or a voice-note transcript. Amazon Bedrock’s Nova Lite model turns that dump into a structured plan: meal ingredients if you named a dish, a shopping table with Need checkboxes, store dropdowns, essential versus can-delay, buy-more or buy-less hints from history, and sale-style tips
From the same plan you can open a real WhatsApp or SMS chat per store with the order pre-filled, optionally including a delivery address and notes. When you are done, Add plan to logs writes the trip into an expense history. The Goals tab reads those logs and answers a blunt question: is spending going right for your goal, or not and what to change.
The annoying task it removes is not “AI for fun.” It is the weekly friction of planning food, messaging shops, and reconciling money by hand.
How You Built It
I started from the challenge brief and two related ideas receipt expense logging with vision, and a grocery list untangler then merged them into one product so a judge can see multimodal Bedrock and a usable weekly habit in one demo.
Key decisions
- Single Inbox first Instead of forcing the user to pick tabs (receipts vs groceries), one entry point classifies intent and returns one Smart Plan. That felt closer to how people actually dump tasks.
- Nova Lite for both vision and text One model ID (
amazon.nova-lite-v1:0) handles receipt photos and planning JSON, which keeps cost and wiring simple for a weekend build.
- Tables and checkboxes over prose Early versions returned long paragraphs. For a video and for real use, editable tables (Need?, Store dropdown, Maybe have?) make the plan actionable.
- Real WhatsApp deep links Full store cart APIs were out of scope.
wa.mewith a per-store message is honest, demoable, and actually useful with neighborhood shops.
- Streamlit + EC2 Fast UI iteration locally;
deploy_ec2.shcopies the same app to Amazon Linux with a systemd service on port 8501.
Challenges and how we got past them
- Structured JSON from the model Nova sometimes wraps JSON in markdown. A small
extract_jsonhelper strips fences and recovers objects.
- Streamlit session state Clearing the note or appending suggestion chips after a widget exists throws errors. We fixed that with
on_clickcallbacks that mutatesession_statebefore the next render.
- “Demo agent” vs real handoff Roleplaying a shop conversation looked fake on camera. We replaced it with Send-to-stores: tick items, optional delivery fields, open WhatsApp.
- Goals without lectures The Goals tab now scores spending from the expense log (
on_track/at_risk/off_track) and shows log-grounded suggestions before any deposit/invest ideas.
Development was iterative: scaffold Bedrock client → receipt + grocery features → Inbox rewrite → shop discovery + WhatsApp → Goals health check → docs for the challenge submission.
AWS Services Used / Architecture Overview
Services
- Amazon Bedrock Nova Lite via the Runtime Converse API (text + image). Triggered on button actions (Find nearby shops, Figure it out, spending check / goal plan).
- Amazon EC2 Hosts the Streamlit process for a shareable URL; provisioned/updated by
deploy_ec2.shwith a systemd unit.
Architecture (brief)
User → Streamlit (local or EC2) ├─ Bedrock Nova Lite (vision + text Converse) ├─ Local JSON store (profile, plans, expenses, goals) └─ WhatsApp / SMS deep links (client-side)How the agent is triggered: the user clicks Figure it out (or Find shops / Goals check). Streamlit calls Python modules that POST to
bedrock-runtime with the Bedrock API key. There is no always-on agent loop each click is an explicit Converse invocation. For photos, a vision pass extracts list/receipt fields; a second text pass merges area, history, and goals into the Smart Plan JSON. WhatsApp is opened in the browser/OS with the composed message
What You Learned
- How Bedrock API keys differ from classic IAM access keys, and how quickly they unblock Converse experiments.
- That Nova Lite is strong enough for a weekend multimodal demo if you constrain outputs to JSON and validate on the client.
- Product lesson: for productivity apps, editable tables + real messaging handoffs beat long model essays and simulated “I called the shop” chats.
- Streamlit quirks around widget session state matter as much as the model when you ship a clickable UI for video.
- Keeping persistence in local JSON was enough to pass the challenge bar and keep Free Tier / ops simple; DynamoDB/S3 remain obvious next steps.
Link to App or Repo
- Public GitHub repo: https://github.com/ashirsyed/SpendSmart
Pictures of the App

Main Page

Select Items as per dish mentioned

Goal Section
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article