AWS Builder Center
Weekend Agent Challenge: DevInsight Guardian — An Always-On AI Engineering Coach

Weekend Agent Challenge: DevInsight Guardian — An Always-On AI Engineering Coach

Learn how I transformed an existing GitHub analytics dashboard into an always-on AI engineering coach using AWS Lambda, Amazon EventBridge Scheduler, AWS SAM, and Groq to deliver automated developer insights every morning.

Vision & What the Agent Does

As developers, we spend countless hours writing code, but very little time objectively reviewing how we work. GitHub provides activity history, contribution graphs, and commit timelines, but these are only raw numbers. They don't explain whether you're maintaining healthy development habits, working consistently, or slowly heading toward burnout.
I built DevInsight Guardian to solve exactly that problem.
DevInsight Guardian is an always-on AI engineering coach that automatically reviews my GitHub activity every morning, generates personalized engineering insights, and prepares actionable recommendations before I even open my dashboard.
Unlike traditional AI applications that wait for a user to press a button, DevInsight Guardian works completely autonomously. Every morning at 7:00 AM IST, Amazon EventBridge Scheduler wakes the agent. AWS Lambda fetches my latest GitHub activity, calculates engineering metrics, sends those metrics to Groq's Llama 3 model for analysis, and stores the resulting coaching report inside Firebase Firestore. When I later log into DevInsight, my latest AI-generated report is already waiting.
Instead of reacting to data, the application proactively prepares meaningful insights while I'm away.
The agent automatically:
  • Wakes up every morning on a schedule.
  • Retrieves the latest GitHub development activity.
  • Calculates productivity metrics.
  • Detects development patterns.
  • Generates AI-powered coaching insights.
  • Stores reports in Firebase Firestore.
  • Displays fresh recommendations inside the DevInsight dashboard.
No manual synchronization.
No button clicks.
No waiting.
The report is ready before I start coding.



Why I Built DevInsight Guardian

I'm constantly working across personal projects, college assignments, research work, and community initiatives. While GitHub captures all of my activity, it doesn't tell me whether I'm working efficiently or maintaining sustainable habits.
I didn't want another dashboard full of charts.
Charts are passive.
I wanted something that behaves like an experienced engineering manager—someone who quietly reviews my work every morning and tells me what's going well, what needs attention, and what I should focus on next.
That idea became DevInsight Guardian.
Rather than replacing my existing application, I transformed DevInsight from a manual analytics dashboard into an autonomous AI agent that works while I sleep.



How I Built It

DevInsight already existed as a React application that visualized GitHub activity. Originally, users had to manually synchronize their GitHub data before requesting AI analysis.
For this challenge, I completely redesigned the backend workflow.
I extracted the synchronization and AI analysis logic into an AWS Lambda function, allowing the entire pipeline to execute automatically without requiring any user interaction.
The frontend continues to use:
  • React 19
  • Vite 6
  • TypeScript
  • Tailwind CSS v4
  • Firebase Authentication
  • Firebase Firestore
The autonomous backend uses:
  • AWS Lambda (Node.js 20)
  • Amazon EventBridge Scheduler
  • AWS SAM
  • GitHub REST API
  • Groq (Llama 3 8B)
  • Firebase Admin SDK
The Lambda function performs the complete workflow:
  1. Fetch all registered users from Firebase.
  1. Retrieve the latest GitHub events using the GitHub REST API.
  1. Calculate engineering metrics such as productivity, deep work hours, weekend activity, and late-night commits.
  1. Send those metrics to Groq's llama3-8b-8192 model.
  1. Receive structured AI coaching insights.
  1. Store the generated report back into Firebase Firestore.
The dashboard simply displays the already-generated report.



AWS Services Used / Architecture Overview

To keep the architecture lightweight and cost-effective, I intentionally limited the active AWS services to the minimum required for an autonomous workflow.

AWS Services Used

  • AWS Lambda
  • Amazon EventBridge Scheduler
  • AWS SAM (deployment)
During deployment, AWS SAM packages and uploads the application using AWS infrastructure, and AWS Lambda automatically writes execution logs to Amazon CloudWatch Logs.

Architecture

Amazon EventBridge Scheduler
│
▼
AWS Lambda
│
├── Fetch GitHub Activity
├── Calculate Engineering Metrics
├── Generate AI Insights (Groq)
└── Store Reports in Firebase
│
▼
DevInsight Dashboard







Autonomous Workflow

Every day at 7:00 AM IST, the following sequence happens automatically:
  1. Amazon EventBridge Scheduler triggers the DevInsight Guardian Lambda.
  1. Lambda loads all registered users from Firebase Firestore.
  1. For each user, GitHub activity is collected through the GitHub REST API.
  1. The application calculates engineering metrics, including:
  • Productivity score
  • Deep work hours
  • Weekend contributions
  • Late-night commits
  • Repository activity
  1. These metrics are injected into a structured prompt and sent to Groq's Llama 3 model.
  1. Groq generates personalized engineering coaching.
  1. Lambda stores both the AI insights and weekly report in Firebase Firestore.
  1. When the developer opens the DevInsight dashboard, the latest report is already available.
The entire workflow executes without any manual interaction.



AI-Powered Engineering Coaching

Instead of simply summarizing GitHub events, the AI converts development activity into practical coaching.
For every execution, Groq generates:

Four Actionable Insights

Each insight contains:
  • Category (Positive, Neutral, or Warning)
  • Title
  • Detailed explanation
  • Personalized recommendation
For example, if the agent detects repeated late-night commits, it may recommend establishing a consistent stopping time to reduce burnout risk.

Weekly Engineering Report

The report includes:
  • Productivity Score (0–100)
  • Burnout Risk
  • Weekly Headline
  • Biggest Achievement
  • Primary Risk
  • Next Week Forecast
  • Narrative engineering summary
The result feels much more like receiving feedback from an engineering manager than reading a collection of statistics.



Challenges I Encountered

The most difficult part of the project was not writing the AI logic—it was deploying it correctly.
DevInsight originally existed as a monolithic React application. Moving backend functionality into AWS Lambda required separating shared TypeScript modules while keeping the repository clean.
Initially, AWS SAM attempted to package the entire repository, causing the deployment package to exceed Lambda's size limits and resulting in CloudFormation rollbacks.
To solve this, I configured SAM's native esbuild integration to tree-shake unused dependencies and bundle only the required Lambda code. This reduced the deployment package to a compact serverless application while keeping the shared codebase maintainable.
Working through these deployment issues taught me far more about serverless architecture than I expected when I started the challenge.



What I Learned

This challenge became my first deep dive into production-style serverless development on AWS.
Some of my biggest takeaways include:
  • Designing autonomous event-driven systems.
  • Deploying serverless applications using AWS SAM.
  • Using Amazon EventBridge Scheduler for reliable scheduled execution.
  • Structuring Lambda functions around reusable business logic.
  • Managing application secrets through environment variables instead of hardcoding credentials.
  • Understanding that powerful AI agents don't require large infrastructures—simple event-driven architectures can be incredibly effective.
The biggest lesson was that AI becomes significantly more valuable when it works proactively instead of waiting for user prompts.



Future Improvements

Although DevInsight Guardian is fully functional today, I already have several ideas for future versions.
Some planned enhancements include:
  • HTML email delivery using Amazon SES.
  • Slack and Discord notifications.
  • GitLab and Bitbucket integrations.
  • Multi-repository intelligence.
  • Long-term productivity trends.
  • Team collaboration analytics.
  • Personalized development goals.



Conclusion

This challenge gave me the opportunity to transform an existing analytics dashboard into a true autonomous AI agent.
DevInsight Guardian no longer waits for user interaction. Instead, it quietly performs meaningful work every morning—collecting GitHub activity, generating AI-powered coaching, and preparing personalized engineering recommendations before the workday begins.
By combining AWS Lambda, Amazon EventBridge Scheduler, AWS SAM, Firebase, GitHub, and Groq AI, I built a lightweight, event-driven solution that demonstrates how serverless architecture can automate everyday developer workflows.
More importantly, it showed me that the best productivity tools aren't the ones you remember to open—they're the ones that have already finished the work before you arrive.



GitHub Repository

Live Application

Thank you for reading, and thanks to the AWS Builder Center team for organizing another fantastic Weekend Challenge!
Tags: #agents
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