Skip to content

PR_Review_AI is an intelligent pull request review agent that automates code quality checks using Gemini AI and GitHub API. It provides actionable feedback on code changes, ensuring best practices, security, and performance improvements before merging.

Notifications You must be signed in to change notification settings

Vortex1806/PR_Review_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PR_Review_AI – AI-Powered Pull Request Reviewer πŸš€

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.


πŸ›  Features

  • βœ… 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

πŸš€ Installation & Setup

1️⃣ Install Dependencies

For Linux/macOS:

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

For Windows:

git 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.txt

2️⃣ Run the PR Review Agent

For Linux/macOS:

python3 main.py

For Windows

python main.py

πŸ“‚ Repository Structure

PR_Review_AI/
│── main.py              # Main application file
│── requirements.txt     # Required Python dependencies
│── README.md            # Project documentation

πŸ”₯ How It Works

  1. Enter Credentials – Input your GitHub OAuth token and Gemini API key in the Streamlit sidebar.
  2. Load Open PRs – Select a pull request from the list.
  3. AI Analysis – PR_Review_AI analyzes the code changes using Gemini AI.
  4. Post Feedback – Inline comments are automatically added to the PR.
  5. Improve Code – Developers get actionable feedback before merging.

⚑ Contributing

We welcome contributions! Feel free to fork this repository, submit issues, and create pull requests. πŸ™Œ


πŸ“œ License

MIT License. See LICENSE for details.


Enjoy automated PR reviews with PR_Review_AI! πŸš€

About

PR_Review_AI is an intelligent pull request review agent that automates code quality checks using Gemini AI and GitHub API. It provides actionable feedback on code changes, ensuring best practices, security, and performance improvements before merging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages