
Weekend Agent Challenge: ProjectPilot AI
ProjectPilot AI is a personal AI project manager that wakes up daily on a schedule (EventBridge Scheduler → Lambda), reads your GitHub repo, uses Amazon Bedrock (Nova) to figure out what's done, what's missing, and what to build next, then emails you a health-scored report via SES — fully unattended, serverless on AWS.
Vision & What the Agent Does
Every developer knows the feeling: you close the laptop at 11 PM, and the next morning you're staring at the same question you answered yesterday — what do I work on now? Tools like GitHub Projects, Jira, and Notion help you track work, but none of them understand it. They don't read your code, don't know your "Notifications" feature is stubbed out, and don't know the sensible next step is to build the Calendar module first because Notifications depends on it. That reasoning lives entirely in your head, and rebuilding it every morning is wasted time.
ProjectPilot AI exists to carry that reasoning for you. It's a personal AI project manager that wakes up on its own, reads your GitHub repository, and reasons through it like a senior engineer would — what's done, what's missing, what's risky, what should happen next, and roughly how long it'll take. It turns that reasoning into a health-scored report and emails it to you, so it's sitting in your inbox before you've had coffee.
The trigger is entirely schedule-based: Amazon EventBridge Scheduler fires the agent daily at 06:00 UTC. No dashboard opens, no repo name gets typed, no button gets clicked for the scheduled run — the agent decides to run, and you just receive the output. I also built a manual dashboard on top of the same backend so I could demo and spot-check the reasoning pipeline on demand, but it's explicitly a convenience layer, not how the system is meant to operate day to day. Keeping "has a UI" separate from "is autonomous" was a deliberate design choice.
How I Built It
I designed the pipeline around one guiding question: what happens when nobody's watching? Every AWS call in the flow — Bedrock, SES — is wrapped so a failure degrades gracefully instead of crashing the run. A bad Bedrock response becomes a flagged "analysis unavailable" report rather than a missing email entirely.
That design paid off during testing, when I found a real gap in it:
boto3 raises NoCredentialsError as a different exception class than the ClientError I was already catching, so a machine with zero AWS credentials configured would 500 instead of degrading gracefully. It was an easy fix once caught, but a good reminder to actually test the "nothing is configured" path, not just the happy path.I also scoped the app's IAM user to least privilege — only
bedrock:InvokeModel and ses:SendEmail , nothing else. That meant I couldn't just list or get things to self-diagnose during setup; I had to verify behavior through real functional calls, which added friction but means that credential can't do anything beyond its one job even if it leaked.Two other snags worth mentioning: SES sandbox identity verification is region-specific, so a console defaulting to a different region than my app produced a confusing "not verified" error against an address that was verified, just not there. And packaging Python for Lambda from a Windows machine has a sharp edge —
pydantic-core ships a compiled Rust extension, and a plain pip install --target grabs Windows binaries that silently fail on Lambda's Linux runtime. The fix was pip install --platform manylinux2014_x86_64 --only-binary=:all: , which pulls the correct prebuilt Linux wheels without needing Docker.AWS Services Used / Architecture Overview
Amazon EventBridge Scheduler (daily 06:00 UTC) │ ▼ AWS Lambda │ ┌────────┴────────┐ ▼ ▼GitHub REST API AWS Secrets Manager │ │ └────────┬────────┘ ▼ Amazon Bedrock (Nova) │ ▼ Report Generator │ ▼ Amazon SES │ ▼ Developer Inbox
CloudWatch Logs monitor every step.
- Amazon EventBridge Scheduler — wakes the agent up daily, no human trigger
- AWS Lambda — orchestrates the whole workflow
- Amazon Bedrock (Nova) — the reasoning engine, the actual "AI" in the agent
- Amazon SES — delivers the report
- AWS Secrets Manager — secure credential storage
- Amazon CloudWatch — logs every stage for debugging
- Amazon S3 — optional archive of generated reports
It's fully serverless on purpose: the agent runs once a day for a few seconds, so paying for an always-on EC2 instance to do that would be wasteful. Serverless scales to zero when idle and costs close to nothing at low volume.
The stack behind it: Python, FastAPI, boto3, and pydantic on the backend; React 19, TypeScript, and Vite (with hand-rolled SVG charts) for the optional dashboard; and Amazon Bedrock Nova Lite as the reasoning model. It's backed by 40 pytest tests covering routes, services, and AWS failure modes via mocking.
What I Learned
The biggest lesson was that graceful degradation isn't optional polish for an unattended agent — it's the difference between an agent that's actually autonomous and one that quietly stops being trustworthy the first time a downstream service hiccups. Designing and testing the "nothing is configured" and "a call failed" paths as carefully as the happy path is what let this run unattended with confidence.
I also came away with a clearer appreciation for least-privilege IAM as a practice, not just a checkbox — it genuinely changes how you build and debug, not just how secure the end result is. And two small but real infrastructure lessons: SES verification doesn't travel across regions, and Windows-to-Lambda Python packaging needs an explicit platform flag or it will fail silently rather than loudly.

If you're building something similar — an agent that's supposed to run itself rather than wait to be asked — design the "nobody's watching" failure paths as carefully as the happy path. That's where an agent either earns the word "autonomous" or quietly stops being trustworthy.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article