
Weekend Agent Challenge: Issuer Brief
A daily agent that reads your GitHub repository's open issues on a schedule, picks the one blocker that actually matters, and emails you a short sheet before you even opened your laptop.
Vision
Firms generally have backlogs of company code and issues that they glance
through daily or weekly to determine the next necessary one to resolve. This takes adequate time and
is prone to human oversights.
Issuer brief was built to handle this and does so automatically, even before the company computer is opened.
It is a weekend challenge app that, on a schedule, once a day, monitors
the shared GitHub repository to report findings of every open issue that needs to be closed.
The app ranks the importance whether primary or not, upon the advent of a new issue or on an existing one,
summarizes the issues in the list, suggests the next actions and then immediately updates
through email. This eases code tracking among companies, organisations and individuals
that tackle issues at hand manually. The process fires on a cron schedule with no person or button triggering it.
It is set to notify and one just needs to read the resulting email. This also solves the problem of
missing code issues, forgetting to close code issues, and the monitoring of new code added to a company or
individual repository.
How you built it?
Node.js was used as the backbone of the Issuer brief. It consists of an index, package, and node modules.
The code was zipped and uploaded to Lambda in the AWS console, and the environment variables consisting of tokens, emails, and IDs were assigned in the configuration tab.
The emails had verified identities in the Simple Email Service. An Eventbridge Scheduler prompted the Lambda to run the app, which was
bundled in the function to automatically fetch the input and deliver the output. A key decision was in the choice of
the Bedrock model to minimize token usage, API rates and facilitate text rendering.
A challenge encountered was the GitHub API call, which gave errors due to some levels of misconfigurations but was
quickly resolved by checking the CloudWatch metrics and Lambda. Another challenge faced was that the issues had pull requests mixed with them so, the first section of the digest was contaminated until a filter was added.
AWS Services Used
Amazon Bedrock as the reasoning model that powers the entire app. It reads the specified repository on GitHub to filter the content to be generated. It uses the Nova Lite model to read the issue and generate a summary.
AWS Lambda houses the function that the app runs with. It contains the code and connects to Bedrock and Simple Email Service to link the app with AWS services. It runs the logic, fetches issues, and calls the model.
Amazon SES helps to know the emails allowed by the app. It delivers a written HTML email digest of the issues.
Amazon Eventbridge Scheduler automates the entire process in the app. It triggers Lambda to run and check for text. It makes the app unattended rather than a user invoked it.
Architecture Overview

Screenshots






What you learned?
The entire app with AWS Lambda, Amazon Simple Email Service, and Amazon Eventbridge was tuned to one AWS region; meanwhile, Bedrock was directed to another AWS region for model access.
The use of the GitHub API and comprehending token usage for the chosen repository.
Implementing Amazon EventBridge to run the workflow.
It was engaging, overall.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article