AWS Builder Center
Building Caddie Coach: an Alexa+ golf caddie, Bedrock, and a blocked deploy

Building Caddie Coach: an Alexa+ golf caddie, Bedrock, and a blocked deploy

How I built Caddie Coach, a golf caddie and swing coach MCP server for Alexa+. Amazon Bedrock ran for real, Lambda and DynamoDB were defined in SAM but blocked by a free-plan SCP, and here's what I learned from the friction log.

Building reliable language models, intelligent agents, and AI products.
I built Caddie Coach for the Amazon Developer "Build, Ship, Shape" Hackathon 2026. It's a golf caddie and swing coach built as an MCP server for Alexa+. Only one AWS service actually ran in the end, Amazon Bedrock, and the reason the rest didn't is the most useful part of this write-up.

What it does

Caddie Coach has 10 tools and 3 MCP App cards. It learns how far and how straight you hit each club, recommends a club and an aim point, plans holes, spots patterns in your shots, coaches your swing from pose keypoints, tracks strokes gained and a WHS handicap, builds practice plans, and writes a round report.

How it works

The club model is simple statistics. For each club it keeps the mean and spread of your carry distance and sideways miss, using your last 20 full swings. It needs 3 shots before it switches from default numbers to yours. It's a statistical dispersion model, not a trained one.
Patterns come back in the reply. Pattern detection runs every time you log a shot and fires on a streak of 3. The tool tells the assistant to say the results out loud, so Caddie speaks up in its reply when you log a shot. It never starts a conversation on its own, and it only ever ran in a simulator.
Swing coaching is pose-based heuristics. A capture page runs MediaPipe in the browser and uploads 6 keypoints per frame, never the video. Hand-written geometry rules on those 2D keypoints check tempo ratio, early extension, and over-the-top. No model was trained.
Voice and auth stay off AWS. Voice uses the browser's Web Speech API, and auth is a hand-written OAuth 2.1 server.

Where AWS fits

Amazon Bedrock ran for real. After a round, Caddie writes a spoken recap using Amazon Nova Micro through the Bedrock Converse API. If the call fails for any reason, it falls back to a template recap, so the demo never breaks on a bad response.
Lambda and DynamoDB are written but were never deployed. My SAM template defines the whole thing: a Lambda container image on arm64 with the Lambda Web Adapter, a Function URL for the endpoint, and a DynamoDB table for state.  sam build  worked.  sam deploy  didn't.
The account was new and on the free plan, and an account-level service control policy blocked CloudFormation, Lambda, ECR, and DynamoDB. So the honest status is: Bedrock live, Lambda and DynamoDB defined in SAM, deploy blocked by a free-plan SCP.

What I'd tell another builder

  • Keep a friction log. I wrote down every blocker as it happened, including the SCP block and a delay in verifying Bedrock access. It turned a frustrating afternoon into something I can learn from, and it made this article easy to write accurately.
  • Put infrastructure behind a switch. The DynamoDB store only turns on when a table name is set. Otherwise Caddie uses an in-memory store. That meant a blocked deploy didn't block the project.
  • Build a fallback for every AI call. The template recap means a Bedrock failure is a worse sentence, not a broken demo.
  • Check account limits before the last week. A free-plan SCP can block entire services, so find out what your account can actually create on day one.

What isn't built, and what I haven't measured

  • No real Alexa+ add-on. The  alexa-ai  CLI requires Amazon allowlist access. Instead I built a simulated Alexa+ host at  /alexa , where a rule-based mapper stands in for the Alexa+ model. The MCP calls it makes are real.
  • No live AWS deployment and no hosted demo. Everything runs locally.
  • No testing on real swings. The swing analyzer is only tested on synthetic pose data, and the capture page hasn't been tried on real swings yet.
  • No evaluation results. There's no accuracy benchmark and no user study. The 145 tests check that the code works. They don't measure how good the advice is.

The stack

TypeScript on Node 22 with Express and Zod, the Model Context Protocol SDK (Streamable HTTP), AWS SDK v3 (Bedrock Runtime and DynamoDB), MediaPipe Tasks Vision, Vitest, Vite, Docker, SAM, and GitHub Actions. The repo has 112 commits, 145 tests, and an MIT license.
The code is public at  github.com/hammy229/caddie-coach .

The takeaway

A project that's honest about what ran is more useful than one that claims a deployment it doesn't have. One Bedrock call worked, a deploy was blocked, and I know exactly which is which.
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