https://github.com/manasvinitroshan/githubagent
AI agent made using Retrieval Augmented Generation (RAG), LangChain, and AstraDB to help with fixing issues in repository
https://github.com/manasvinitroshan/githubagent
ai astradb genai langchain openai-api python retrieval-augmented-generation
Last synced: 7 months ago
JSON representation
AI agent made using Retrieval Augmented Generation (RAG), LangChain, and AstraDB to help with fixing issues in repository
- Host: GitHub
- URL: https://github.com/manasvinitroshan/githubagent
- Owner: Manasvinitroshan
- Created: 2024-08-28T17:03:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-31T16:45:12.000Z (9 months ago)
- Last Synced: 2025-03-28T07:13:19.774Z (7 months ago)
- Topics: ai, astradb, genai, langchain, openai-api, python, retrieval-augmented-generation
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π€ githubAgent
## Overview
`githubAgent` is an AI-powered agent designed to assist with fixing issues in GitHub repositories. Utilizing Retrieval Augmented Generation (RAG), LangChain, and AstraDB, this agent analyzes images tagged in the issues section, identifies potential problems, and provides fixes using LangChain.## β¨ Features
- π οΈ **Issue Analysis**: Automatically analyzes images tagged in issues to identify potential problems.
- π€ **Automated Fixes**: Suggests and applies fixes for identified issues.
- π **RAG Implementation**: Uses Retrieval Augmented Generation to enhance the accuracy of issue identification.
- π **LangChain Integration**: Leverages LangChain for natural language processing and understanding.
- πΎ **AstraDB Storage**: Utilizes AstraDB for efficient data storage and retrieval.## π Getting Started
### Prerequisites
Before you begin, ensure you have met the following requirements:
- [Node.js](https://nodejs.org/) (version 14 or higher)
- [npm](https://www.npmjs.com/) (version 6 or higher)
- A GitHub account with access to the repositories you want to manage
- [AstraDB account](https://astra.datastax.com/register)### Installation
To install `githubAgent`, follow these steps:1. Clone the repository:
```sh
git clone https://github.com/Manasvinitroshan/githubAgent.git
```
2. Navigate to the project directory:
```sh
cd githubAgent
```
3. Install dependencies:
```sh
npm install
```### Configuration
To configure `githubAgent`, you need to create a `.env` file in the root directory with the following environment variables:
Replace the placeholders with your actual credentials:
- `your_github_token`: A personal access token from GitHub.
- `your_repo_owner`: The owner of the repository you want to manage.
- `your_repo_name`: The name of the repository you want to manage.
- `your_astraDB_token`: Your AstraDB token for database access.
- `your_langchain_api_key`: Your LangChain API key for processing.### Usage
To use `githubAgent`, follow these steps:1. Start the agent:
```sh
npm start
```
2. The agent will start listening for events in the issues section and automating tasks based on the configured rules.### Running the Tests
To run tests, use the following command:
```sh
npm test### π€ Contributing
Contributions are always welcome! Please follow these steps to contribute:Fork the repository.
Create a new branch:
sh
git checkout -b feature-branch
Make your changes.
Commit your changes:
sh
git commit -m 'Add some feature'
Push to the branch:
sh
git push origin feature-branch
Open a pull request.### πLicense
This project is licensed under the MIT License - see the LICENSE file for details.### π§ Contact
If you have any questions or feedback, feel free to contact me at [your email address].### π Acknowledgements
GitHub API
Node.js
LangChain
AstraDBFeel free to customize any sections further if needed! π