PR_Review_AI is an AI-driven pull request review agent that automates code analysis using Gemini AI and GitHub API. It provides inline feedback on pull requests, ensuring better code quality, security, and adherence to best practices before merging.
- β AI-Powered Code Reviews β Uses Gemini AI to analyze and provide detailed feedback.
- β Automated PR Comments β Posts inline review comments directly on GitHub pull requests.
- β Security & Best Practices Checks β Ensures adherence to coding standards and security guidelines.
- β Streamlit-Powered UI β User-friendly dashboard to manage and review PRs effortlessly.
- β Seamless GitHub Integration β Fetches PRs and commits using GitHub API for smooth automation.
demo-video-ai-pr-reviewer.mp4
git clone https://github.com/YOUR_USERNAME/PR_Review_AI.git
cd PR_Review_AI
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtgit clone https://github.com/YOUR_USERNAME/PR_Review_AI.git
cd PR_Review_AI
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txtpython3 main.pypython main.pyPR_Review_AI/
βββ main.py # Main application file
βββ requirements.txt # Required Python dependencies
βββ README.md # Project documentation- Enter Credentials β Input your GitHub OAuth token and Gemini API key in the Streamlit sidebar.
- Load Open PRs β Select a pull request from the list.
- AI Analysis β PR_Review_AI analyzes the code changes using Gemini AI.
- Post Feedback β Inline comments are automatically added to the PR.
- Improve Code β Developers get actionable feedback before merging.
We welcome contributions! Feel free to fork this repository, submit issues, and create pull requests. π
MIT License. See LICENSE for details.
Enjoy automated PR reviews with PR_Review_AI! π