← ALL PROJECTS

AI AGENTS / SOCIAL IMPACT

FreshTrack

Free food help in Kalamazoo County: a live map of 29 food pantries and free meals with walking and driving routes, plus a Strands agent that answers “where can I get food right now?” in plain language.

Amazon Location ServiceStrands Agents SDKAmazon BedrockLambdaDynamoDBCloudFront
FreshTrack live map of Kalamazoo County food resources with the Ask panel and example questions in English, Spanish and Arabic
LIVE SITE / CAPTURED NOVEMBER 28, 2026

The problem

Pantry hours are published as rules like “4th Saturday, 9am” or “Mondays, but not the 5th Monday.” Someone without a car or a data plan cannot work that out from a PDF, and one wrong time can mean a long bus ride to a locked door.

I built FreshTrack for the AWS Builder Center “Weekend Challenge: Map It” (October 30 to November 2, 2026). It is a personal project about my own county, not employer work.

Architecture

  1. Map: MapLibre with Amazon Location Service Maps, Places (geocoding) and Routes (walking and driving times), served from private S3 through CloudFront.
  2. Agent: a Strands agent on Amazon Bedrock runs on a Lambda Function URL. Tools turn each site’s published hours into structured windows; the model only phrases the answer.
  3. Hours guard: every time and phone number in a reply is checked against the dataset, and each phone number must belong to the site it is given for.
  4. Cost control: a DynamoDB table enforces a daily usage cap.

Decisions and tradeoffs

  • The tools do the facts, the model does the talking. Schedules are computed, not guessed.
  • Written for texting: short replies at a 6th-grade reading level, in the language the person wrote in, never asking about income or immigration status.
  • Safety first: a medical emergency gets 911, thoughts of suicide get 988, and an address outside the county gets 2-1-1.
  • Honest fallbacks: if routing fails, it gives straight-line miles and says so instead of guessing a travel time.

Security considerations

  • The Amazon Location API key is created by the deploy script, kept out of Git, and restricted to map tiles, geocoding and routing from FreshTrack’s own sites.
  • The S3 bucket is private and only CloudFront can read it.
  • The chat endpoint only accepts requests from the site (CORS) and is capped per day.

Testing and validation

Offline checks cover schedule logic against hand-checked answers, the search tool, and the reply guard. The repository also contains a recorded October 30 evaluation of the live agent against 34 scenarios, including emergencies, out-of-county addresses and conflicting sources; the project labels those scores as historical.

Outcome and limits

Deployed and public. The dataset was checked by hand on October 30, 2026 and corrected after an external audit, but some holiday dates remain unconfirmed, and an automated check cannot guarantee that a schedule is current.

PROJECT EVIDENCE

FreshTrack live map of Kalamazoo County food resources with the Ask panel and example questions in English, Spanish and Arabic
LIVE SITE / CAPTURED NOVEMBER 28, 2026
FreshTrack architecture: browser to CloudFront and private S3, Amazon Location Maps, Places and Routes with one restricted key, and the chat agent on Lambda with Bedrock and DynamoDB
ARCHITECTURE DIAGRAM FROM THE PROJECT REPOSITORY