AWS Builder Center

Weekend Agent Challenge: AI Job Search Coach Agent

An unattended daily agent on AWS Lambda + EventBridge Scheduler that fetches real job listings posted in the last 24 hours, generates personalized coaching with Amazon Bedrock (Nova Lite), and emails a polished report via SES.

Weekend Agent Challenge: AI Job Search Coach Agent

Tags: agents

Vision & What the Agent Does

Job searching is a marathon that punishes inconsistency. When you're looking for your first role as an Artificial Intelligence / Machine Learning Engineer, the hardest part isn't any single application — it's showing up every single day: checking the boards, staying sharp on skills, and keeping your resume aligned with what companies actually ask for. Miss a few mornings and fresh postings get buried under hundreds of other applicants.
My agent, the AI Job Search Coach, solves this by being the accountability partner that never sleeps in. Every morning at 8:30 AM IST, without me touching anything, it:
  1. Fetches real job listings posted in the last 24 hours for my target role from four free public job APIs (RemoteOK, Arbeitnow, Himalayas, and Jobicy) — real titles, real companies, real apply links. If the last 24 hours are quiet, it automatically widens the window to 72 hours and labels that honestly in the report.
  1. Builds pre-filtered search links for platforms without public APIs — LinkedIn (filtered to postings from the last 24 hours), Wellfound, Y Combinator's Work at a Startup, Indeed, and Glassdoor — so one click drops me into a fresh search.
  1. Sends everything to Amazon Bedrock (Nova Lite), which analyzes the actual listings and generates coaching: insights on the companies that are hiring, application tips tailored to those specific jobs, a skill to study today based on the tags appearing in real postings, an interview prep tip, and one small resume improvement.
  1. Emails me a polished HTML report via Amazon SES — job cards with clickable apply links, a "Companies Hiring Right Now" section, and the AI coaching — before I've had breakfast.
The trigger is Amazon EventBridge Scheduler. No button, no human. I only interact with the agent by reading its report in my inbox.

How You Built It

This project went through two full iterations, and the second one taught me more than the first.
Version 1 was a pure "generation" agent: a single Bedrock prompt produced market commentary and daily tips from the model's general knowledge. It worked, but I kept staring at one problem — a job-search agent that never shows you a job is a motivational poster, not a coach. I wanted real links, real companies, posted today.
Version 2 added a fetch layer. Key decisions and challenges along the way:
  • Free APIs only. LinkedIn and Wellfound have no public APIs, and I refused to scrape. So I split the problem: fetch real listings from boards that welcome API access (RemoteOK, Arbeitnow, Himalayas, Jobicy), and generate smart pre-filtered search URLs for the rest. Honest architecture beats fragile scraping.
  • Keyword matching is harder than it looks. My first filter matched the substring "ai" anywhere in a job's description — which cheerfully returned a Nail Artist position in Berlin as an "AI role." I rebuilt matching around a  RoleMatcher  class: multi-word phrases matched against job titles, and single-word tags matched exactly against the job's tag list. False positives disappeared.
  • LLMs return JSON shaped however they feel like. My Lambda crashed in production with  'list' object has no attribute 'strip'  — Nova Lite had returned one JSON field as an array instead of a string. The fix was a coercion layer that normalizes strings, lists, and nested dicts into clean text before validation. Requesting strict JSON output from Bedrock made rendering deterministic; defensive parsing made it reliable.
  • Empty-inbox problem. Small job boards sometimes have zero matches for a niche role in 24 hours. Rather than send a sad empty email, the agent retries with a 72-hour window and clearly labels which window it used. The report is never useless.
  • Fail-hard error strategy. A custom exception hierarchy ( ConfigError ,  JobFetchError ,  ReportGenerationError ,  EmailSendError ) means individual job boards can fail gracefully (logged, skipped), but if Bedrock or SES fails, the Lambda invocation itself fails — so CloudWatch records it and nothing silently breaks.

AWS Services Used / Architecture Overview

  • Amazon EventBridge Scheduler — cron trigger ( cron(0 3 * * ? *)  = 8:30 AM IST daily), the "unattended" heart of the agent
  • AWS Lambda (Python 3.12) — runs the entire pipeline in a single function
  • Amazon Bedrock (Nova Lite,  converse  API) — analyzes real listings, generates structured JSON coaching
  • Amazon SES — delivers the HTML + plain-text email report
  • Amazon CloudWatch — logs every run; failed invocations surface automatically
  • IAM — least-privilege role:  bedrock:InvokeModel  scoped to Nova Lite,  ses:SendEmail , and basic logging
EventBridge Scheduler (daily cron)
│
▼
AWS Lambda (Python 3.12)
│
├─► RemoteOK / Arbeitnow / Himalayas / Jobicy APIs (real jobs, last 24h)
├─► SearchLinkBuilder (LinkedIn / Wellfound / YC / Indeed / Glassdoor URLs)
├─► Amazon Bedrock — Nova Lite (coaching from real listings, strict JSON)
└─► Amazon SES (HTML email report)
│
▼
My inbox, every morning
One detail: SES runs in  ap-south-1  while Bedrock runs in  us-east-1  — the Lambda uses two regional boto3 sessions, which is a nice reminder that "serverless" doesn't mean "region-less."

What You Learned

  • The Bedrock  converse  API and how to get dependable structured output from a small, fast model: ask for strict JSON, strip markdown fences anyway, coerce types anyway. Trust, but normalize.
  • Agent design is mostly honesty engineering. The best decisions in this project were about what not to fake: no scraping, no invented company facts (the prompt explicitly forbids fabricating listings or salaries), and a clearly labeled fallback window instead of a silently empty report.
  • EventBridge Scheduler is the simplest possible "always-on" primitive. One cron expression turned a script into an agent.
  • Deliverability is a feature. Table-based HTML layout, inline CSS, a plain-text alternative body, a proper From name and Reply-To — the difference between a report that gets read and one that lands in spam.
  • Real data changes everything. The moment the email contained an actual ML role at Reddit posted 18 hours earlier, the agent stopped feeling like a demo and started feeling like a tool.

Link to App or Repo

Source code (public GitHub repository):  https://github.com/Gaurav-dev-24/AWS-Agent 


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