← All posts

2026-03-15 • 8 min

RescueAgent — Agentic Food Rescue for Edinburgh

AWS HackathonStrandsBedrockQwen 3StreamlitOSRMFood Rescue
RescueAgent — Agentic Food Rescue for Edinburgh
Some nights in Edinburgh, perfectly good food gets binned while a shelter a mile away is short on meals. RescueAgent started as a simple question during the AWS hackathon: what if a kitchen manager could type one sentence and the rest just happened? This blog is the build log, not the spec sheet. For the technical breakdown, the Featured Project card has the full architecture. The spark was the handover — that 15-minute coordination gap where no one has time to check if food is still legally safe, which shelter can take it, and which volunteer is close enough with the right kit. We decided to make that invisible. Day one was messy. We got the agent to parse "6 kg hot chicken curry, cooked 40 minutes ago" correctly, then watched it try to offer hot food to a driver without a thermal bag. Fix was obvious in hindsight: move safety out of the prompt and into the tools. Once the filter removed those drivers before the model saw them, it stopped hallucinating past the rule. The live map was the hard part. OSRM gave us real road geometry, but Streamlit reruns every click. @st.fragment(run_every=1.0) finally let the map tick once a second while the browser animated at 60 fps — the first time the marker followed the road instead of cutting through buildings, we knew we had it. What stayed with me: testing with 1,612 real Edinburgh restaurants and 20 hand-curated shelters. Seeing real place names on a dark map made it feel less like a demo and more like a city. If you want the code, it's all on GitHub. Below is the demo video and the screens that tell the story better than I can.

Demo Video

Featured Project

RescueAgent — Edinburgh Food Rescue

AWS Hackathon — Agentic Food Rescue Dispatch (Strands + Bedrock Qwen 3 235B)

Gallery

architecture.svg
01.png
02.png
03.png
04.png
05.png
06.png
07.png
08.png
09.png

Featured Project

RescueAgent — Edinburgh Food Rescue

AWS Hackathon — Agentic Food Rescue Dispatch (Strands + Bedrock Qwen 3 235B)