AWS Builder Center
Weekend Agent Challenge: SLO Research Scout

Weekend Agent Challenge: SLO Research Scout

I built an always on AWS agent that finds new research papers, ranks them with Amazon Bedrock, prevents duplicate recommendations, and sends a useful weekly email digest.

AWS Student Builder Group Leader at University of Jaffna
Finding useful research papers can take a lot of time. Search results often contain papers that are only partly related to a research topic. It is also easy to miss an important paper or read the same result more than once.
I faced this problem while working on my undergraduate research project:
SLO-Aware Machine Learning-Based Alert Prioritisation for Microservice Reliability Management
My research focuses on Service Level Objectives, Service Level Indicators, error budgets, alert fatigue, AIOps, incident management, and microservice reliability.
To support this work, I built SLO Research Scout, an always-on research agent using AWS. The agent automatically searches for new papers, uses generative AI to rank and summarise them, remembers which papers were already sent, and emails me a weekly research digest.

Vision & What the Agent Does

The goal was to create something more useful than a simple search tool or chatbot.
A normal search tool waits for the user to enter a query. SLO Research Scout works differently. It runs automatically without waiting for me to open an application or press a button.
Every Friday at 6:00 pm in the Asia/Colombo time zone, the agent starts its workflow.
First, it searches the arXiv API for recently published papers. The search focuses on topics such as:
  • Service Level Objectives
  • Service Level Indicators
  • Error budgets
  • Alert fatigue
  • Alert prioritisation
  • AIOps
  • Incident management
  • Root-cause analysis
  • Microservice reliability
The agent then checks Amazon DynamoDB to find out whether each paper has already been included in a previous digest. Papers that were already sent are removed from the current list.
The remaining titles and abstracts are sent to an Amazon Nova model through Amazon Bedrock. The model evaluates each paper based on its relevance to my research.
For each selected paper, the agent generates:
  • A relevance score
  • A short summary
  • An explanation of why the paper is important
  • A suggestion about how the paper could support my research methodology
  • A direct link to the original paper
The final shortlist is sent to my email through Amazon Simple Notification Service, or Amazon SNS.
This means the result is ready before I begin my weekly research work. I do not need to repeat the same searches, check whether I have already reviewed a paper, or manually create a shortlist.
Sample Email


How I Built It

I started by deciding what would make the agent truly automatic.
The agent needed three important features:
  1. It had to run on a fixed schedule.
  1. It had to use AI to analyse the results.
  1. It had to remember previous results.
I used AWS SAM to define and deploy the infrastructure. This allowed me to describe the Lambda function, EventBridge schedule, DynamoDB table, SNS topic, permissions, and environment variables in one  template.yaml  file.
The main application logic was written in Python.
The Lambda function first creates a search query and sends it to the arXiv API. The API returns its results as an Atom XML feed. The function parses the XML and extracts the paper ID, title, abstract, authors, publication date, and paper link.
After receiving the papers, the function checks the DynamoDB table. Each previously sent paper is stored using its arXiv paper ID. If an ID already exists, the paper is skipped.
I then used the Amazon Bedrock Converse API to send the unseen papers to Amazon Nova Micro. I selected Nova Micro because this task mainly requires text classification, ranking, and summarisation. It does not require a large multimodal model.
The prompt asks the model to return structured JSON containing the selected paper IDs, relevance scores, summaries, reasons, and methodology suggestions.
One important challenge was handling AI-generated structured output. A language model may sometimes return JSON inside Markdown code blocks or include additional text around the JSON.
To solve this, I added a function that removes Markdown code fences, finds the JSON object, and validates it before using the result.
I also included a fallback process. If the Bedrock request fails or the returned JSON cannot be processed, the agent creates a basic shortlist using the available paper information. This prevents the entire scheduled workflow from stopping because of one AI response.
Another important decision was when to store a paper in DynamoDB. The agent stores papers only after the digest has been successfully sent. This reduces the chance of a paper being marked as completed when the email was not delivered.
Amazon CloudWatch records each invocation, error, and successful digest. These logs are useful for checking whether the agent ran automatically and for investigating failures.
CloudWatch log showing the scheduled Lambda invocation


AWS Services Used

The project uses the following AWS services:
  • Amazon EventBridge Scheduler
EventBridge Scheduler starts the agent every Friday at 6:00 pm in the Asia/Colombo time zone.
It is the main component that makes the project an always-on agent. The workflow begins without direct human action.
Amazon EventBridge Scheduler showing ENABLED

  • AWS Lambda
Lambda contains the Python application.
It searches for papers, processes the arXiv response, checks for duplicates, calls Bedrock, creates the digest, updates DynamoDB, and publishes the result.
  • Amazon Bedrock
Amazon Bedrock provides access to Amazon Nova Micro.
The model ranks the papers, summarises them, explains their relevance, and suggests how they could support my research methodology.
  • Amazon DynamoDB
DynamoDB stores the IDs of papers that have already been included in a digest.
This gives the agent memory and prevents the same paper from being sent repeatedly.
DynamoDB table containing processed paper IDs

  • Amazon SNS
Amazon SNS sends the completed research digest to my email.
This allows the agent to report back without requiring a separate web application.
SLO Research Scout Test

  • Amazon CloudWatch
CloudWatch stores Lambda logs and execution information.
It helps confirm that the scheduled workflow ran successfully and provides information when an error occurs.
CloudWatch log showing the scheduled Lambda invocation

  • AWS SAM and AWS CloudFormation
AWS SAM defines the complete serverless application.
It creates the resources, permissions, schedule, environment variables, and connections between services.
CloudFormation stack showing CREATE_COMPLETE or UPDATE_COMPLETE

The architecture follows this flow:
Amazon EventBridge Scheduler
|
v
|--- AWS Lambda -----|
| | |
| | |
arXiv API Bedrock DynamoDB
|
v
Amazon SNS
|
v
Email Digest

AWS Lambda also sends logs to Amazon CloudWatch.

The automatic trigger is one of the most important parts of the architecture. EventBridge starts Lambda based on the schedule. The user does not need to open an interface or manually invoke the function.

Evidence That the Agent Runs Unattended

To demonstrate that the agent works without direct user action, I temporarily configured a shorter test schedule.
I deployed the updated schedule and allowed EventBridge Scheduler to invoke the Lambda function automatically. I did not manually run the function during this test.
The scheduled invocation appeared in CloudWatch, and the resulting digest was delivered through Amazon SNS.
After collecting the evidence, I changed the schedule back to the normal weekly schedule.
The following evidence shows the complete unattended workflow:
  • EventBridge Scheduler showing an enabled schedule
  • CloudWatch logs showing the scheduled Lambda invocation
  • The email digest produced by the invocation
  • DynamoDB records containing previously sent paper IDs
  • The deployed Lambda function and its AWS resources

What I Learned

This project helped me understand the difference between an AI feature and an AI agent.
A chatbot normally waits for a person to ask a question. This agent has its own trigger, performs several steps independently, remembers previous work, and reports the result back to the user.
I also learned how EventBridge Scheduler handles time zones. Instead of manually converting Sri Lankan time to UTC, I could configure the schedule using  Asia/Colombo .
Working with Amazon Bedrock helped me understand how to call a generative AI model from a Lambda function using Boto3. I also learned that AI output should never be accepted without validation. Even when the prompt requests JSON, the response may not always follow the exact format.
DynamoDB showed me why state is important in an automated workflow. Without stored paper IDs, the agent could repeatedly send the same papers every week.
I also improved my understanding of IAM permissions. The Lambda execution role needed permission to invoke Bedrock, read and write DynamoDB items, publish SNS messages, and create CloudWatch logs.
Finally, I learned the importance of failure handling. An always-on agent should not stop completely because one service call fails. Adding logging, JSON validation, exception handling, and a fallback process made the system more reliable.

Future Improvements

There are several features I plan to add in the future.
I would like to search more sources, including Semantic Scholar, Crossref, and selected technical publications. I could also store the full weekly digest in Amazon S3.
Another improvement would be to use Amazon SES to send a formatted HTML email instead of a plain-text SNS email.
I also plan to add a feedback system. I could score papers based on whether I marked previous recommendations as useful. This information could help the agent improve its future rankings.
The agent could eventually create a research knowledge base containing papers, topics, methods, datasets, and evaluation measures related to SLO-aware alert prioritisation.

Link to Repository

The complete source code, AWS SAM template, deployment instructions, and testing guide are available in my public GitHub repository:
SLO Research Scout is a practical tool that supports my undergraduate research while helping me explore serverless architecture, event-driven systems, generative AI, and automated workflows on AWS.
The most useful part of this project is that the work happens without me. Every week, the agent searches, analyses, remembers, and reports back automatically.
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