Github-Agent is a test application that leverages PyGithub and Langchain autonomous agents to perform several tasks around the Github API.
fix_issue_w_audio.mp4
demo_w_audio.mp4
- Search repositories by name.
- Get pull requests (PRs) and issues.
- Access the body and collaborators of specific PRs or issues.
- Comment on issues.
- Search the internet to solve issues or search for projects.
🚨 Warning: Please exercise moderation when utilizing it as the agent is highly volatile and may engage in undesired behaviors (such as commenting multiple issues on your behalf).
-
git clone https://github.com/cacosandon/github-agent/tree/main
-
Fill
OPENAI_API_KEY
,GITHUB_TOKEN
andSERPAPI_API_KEY
(optional) in a.env
file with your tokens. -
Create an environment and install dependencies with
poetry shell
+poetry install
-
Run
python main.py