
Weekend Agent Challenge: Auto Book Boat Agent
Weekend Agent Challenge resulted in the Auto Book Boat Agent: an agent that checks if it is a good day for fishing, if there is a boat avaiable, and if I'm available - and books the boat if the stars align!
I belong to a Freedom Boat Club in Charleston, and every trip starts with the same nagging chore: is the weather any good in the next few days, am I actually free, and is there a boat left to reserve? I usually answer that by opening three tabs and a reservation portal - right up until I forget, and the good weather (or the last center console) is gone!
So for the Weekend Agent Challenge I built the Auto Book Fishing Boat Agent: an agent that does that chore for me, on its own, and only bothers me when there's something worth knowing.
Vision & What the Agent Does
The Auto Book Fishing Boat Agent is a watcher, not a chatbot. There's no button to press. It runs on two schedules and reports back by email:
- The daily digest (6:00 AM): it scans the next seven days, checks my Google Calendar for a free 4-hour block in the morning or afternoon, and for each open day pulls the NWS forecast and NOAA tide predictions. It hands that to Amazon Bedrock (Nova Micro) for a plain-English go/no-go verdict — "light wind, fish the outgoing tide midday", and checks in which club boats are actually open to book.
- The weather watcher (every 6 hours): it re-pulls the forecast, compares it to the last one it saw, and stays silent unless something is actionable. If a day I already have a boat booked is trending worse, it warns me to consider cancelling. If a free day is trending better and a boat is open, it flags it - and queues an autonomous booking.
That last part is the fun one. When the agent finds a genuinely good, free, open day, it doesn't just tell me - it reserves the boat itself, then emails me the confirmation! I can cancel for free if plans change; it never cancels on its own.

The best evidence it works is that I wasn't there. I manually trigged this..this time.. instead of waiting for the 6am schedule to fire - but it already detected that the forecast improved since it had last checked, the agent checked my calendar, picked Tuesday afternoon (it skipped the morning because I was busy), reserved the Sailfish, and the reservation was waiting in my account.
How You Built It
The whole handler is stdlib (
urllib , json , datetime , zoneinfo ) plus the boto3 that ships with the runtime - no layers, no packaging, just a single zipped file. Google, NWS, and NOAA are all plain HTTPS calls.The hard part wasn't the cloud - it was the boat club. Its reservation portal has no public API: it's Cloudflare in front, Azure AD B2C for login, and an Adobe AEM single-page app behind that. A plain request gets a 403 block page.
I ran a browser engine (Playwright via Docker) with a normal profile, logged in through the B2C form, and watched the app's own network traffic to find the internal availability endpoint. From there I could query real availability and my own reservations directly.
The trickiest design fact: the Lambda can't book**.** Booking needs the authenticated browser session, which only the local scraper has. So the cloud and the credentialed scraper talk through S3. The Lambda writes a booking suggestion, a local job picks it up, reserves the boat, and reports back.
AWS Services Used / Architecture Overview
Services: Lambda · EventBridge Scheduler (two schedules) · S3 · SNS · Secrets Manager · Bedrock (Nova Micro) · IAM — all in
us-east-1 , provisioned with Terraform.
The trigger is entirely schedule-driven: a cron rule for the morning digest and a 6 hour rule for the weather watcher, each invoking the same Lambda in a different mode.
What You Learned
- Bedrock's Converse API was super simple for this kind of "summarize messy data into a human sentence" job - Nova Micro is cheap enough to call per day and per free block.
- S3 as a message bus between a cloud function and a credentialed local process is a clean way to keep secrets off the cloud while still automating an action the cloud can't do itself.
- Store state to detect change. The watcher is only interesting because it remembers the last forecast; a tiny JSON object per day in S3 turned "here's the weather" into "the weather changed."
- Guardrails make autonomy comfortable. Dry-run by default, one booking outstanding at a time, re-verify right before committing, and never auto-cancel - those constraints are what let me actually turn it loose.
-
Link to Repo
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article