An automated agent that triages new GitHub issues by posting a welcome comment and logging actions.
- Detects newly opened issues
- Posts an automated comment on new issues
- suggests a label on new issues
- Skips old issues and issues it has already triaged
- Logs all actions to
memory.json
- Clone the repo
- Create a virtual environment and install dependencies:
pip install -r requirements.txt- Create a
.envfile:
GITHUB_TOKEN=your_personal_access_token
GITHUB_REPO=owner/repo-name
python agent.pyThe agent runs automatically via GitHub Actions whenever a new issue is opened.
To set it up, add GITHUB_REPO as a secret in your repo's Settings → Secrets and variables → Actions.