AWS Builder Center
Sentinel: An AI Agent That Only Speaks When It Matters

Sentinel: An AI Agent That Only Speaks When It Matters

Thank you, AWS.

Cloud | DevOps | IoT
Sharing Sentinel, my submission for the AWS weekend challenge (won AWS credits/swag) — an autonomous agent for monitoring crypto price moves and web3 hackathon launches.
What it does: Runs every 3 hours via EventBridge Scheduler with no manual trigger. On each invocation it checks: (1) whether tracked assets (BTC/ETH/SOL) moved ≥5% since last alert, (2) whether a new "web3" hackathon appeared on Devpost, and (3) via Gemini's search grounding, whether any coin was newly listed on a major exchange. If none of these conditions are met, it sends nothing — deliberately avoiding alert fatigue.
Architecture:
  • AWS Lambda (Python) — core logic: fetch, evaluate, call Gemini, send
  • Amazon EventBridge Scheduler — rate-based cron trigger
  • Amazon DynamoDB — single shared table, prefixed keys separate price baselines, seen-hackathon IDs, and seen-listing IDs
  • AWS SSM Parameter Store — encrypted Gemini API key storage
  • Amazon SES — delivers plain-text alert emails
Build notes: Deployed entirely by hand through the AWS Console first (IAM roles/inline policies, SES identity verification, EventBridge cron syntax) before any IaC — a deliberate choice to actually learn the services. This project also started life as an unrelated "morning brief" agent; repurposing it showed how much of an agent's infra (DynamoDB table, IAM role, SES identity) is reusable scaffolding once the code and schedule change.
Interesting bug: Google's search grounding requires a billed GCP project to get any quota — an unbilled key returns 429 regardless of usage. Wrapped that call in its own try/except so a grounding failure degrades gracefully instead of taking down the crypto/hackathon checks.
Key takeaway: For an unattended agent, reliability comes from how each component fails, not just how it succeeds — nobody's watching a dashboard to catch a silent failure.
A big thank you to AWS Builder Center for hosting this challenge and giving builders like me a reason to actually ship something over a weekend instead of just planning to. Excited to keep building with AWS.
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