Add issue-responder action agent
Description
This pull request introduces a new GitHub Actions workflow to automate responses to newly opened issues by invoking a a Strands agent hosted on AgentCore Runtime. The workflow is designed to trigger on issue creation, securely configure AWS credentials, and send relevant issue details to the AgentCore runtime. The strands agent will send the suggested response to Slack. Agent code and Slack details will be shared internally.
New GitHub Actions workflow for automated issue response:
- Added
.github/workflows/issue-responder.ymlto trigger on new GitHub issues and invoke AWS AgentCore Runtime with issue metadata for automated responses.
Integration with AWS services:
- Configures AWS credentials using
aws-actions/configure-aws-credentialsand securely passes necessary secrets for role assumption and AgentCore runtime ARN. - Uses Node.js and the
@aws-sdk/client-bedrock-agentcorepackage to construct and send a payload containing issue details to AgentCore, and outputs the response for logging.
Notes: This is working on my forked repo. We can see the action here. Will internally share a link to the result.
Related Issues
Hackweek Automate issues responses
Documentation PR
Type of Change
New feature
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
- [x] I ran
hatch run prepare
Checklist
- [x] I have read the CONTRIBUTING document
- [x] I have added any necessary tests that prove my fix is effective or my feature works
- [x] I have updated the documentation accordingly
- [x] I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
- [x] My changes generate no new warnings
- [x] Any dependent changes have been merged and published
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:loudspeaker: Thoughts on this report? Let us know!