Skip to content

A simple autonomous agent that uses few Github actions to execute requests with Langchain

Notifications You must be signed in to change notification settings

cacosandon/github-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github-Agent: Autonomous GPT Experiment with Github API

Github-Agent is a test application that leverages PyGithub and Langchain autonomous agents to perform several tasks around the Github API.

Demo 18 Jun 2023

Fixing issues on own repos:

fix_issue_w_audio.mp4

Browsing and reasoning on public repos:

demo_w_audio.mp4

🧪 Features

  • 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.

How to use

🚨 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).

  1. git clone https://github.com/cacosandon/github-agent/tree/main

  2. Fill OPENAI_API_KEY, GITHUB_TOKEN and SERPAPI_API_KEY (optional) in a .env file with your tokens.

  3. Create an environment and install dependencies with poetry shell + poetry install

  4. Run python main.py

About

A simple autonomous agent that uses few Github actions to execute requests with Langchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages