PR-Agent is an open-source tool that assists developers in streamlining pull request creation and review. It automatically analyzes the PR and provides several types of functions, including Auto-Description, PR Review, Q&A, Code Suggestion, and more
Hello Product Hunt!
🚀 I'm thrilled to introduce the new "PR-Agent" 🤖, an open-source tool designed to streamline pull request creation and review processes with the power of AI
🎯 Making pull requests less painful.
We understand how time-consuming and challenging managing pull requests can be, and that's why we created PR-Agent.
✨ Among PR-Agent's Powerful Features:
‣ /describe: Say goodbye to manual PR descriptions made from scratch! PR-Agent can automatically generate descriptive pull request summaries.
‣ /review: Let the PR-Agent help you with the review process by suggesting improvements and catching potential issues.
‣ /ask: PR-Agent can answer your questions and provide insights on the changes made.
‣ /improve: Get helpful code suggestions within your pull request to improve the overall quality of your codebase.
🤝 We're in your shoes.
As developers, we know the pain points in managing pull requests, and we want to make your workflow smoother and more efficient with PR-Agent.
We use PR-Agent when developing PR-Agent :)
🧭 How to get started:
Easy! PR-Agent enables various operation options, including GitHub Action, CLI, GitHub/GitLab webhook, and more...
⭐️ Try PR-Agent today! And we appreciate your Star on the PR-Agent GitHub repo. ️
🙏 We highly value your feedback.
We're dedicated to delivering the best possible pull request management solution for developers like you. Please share your comments and questions below; we'll be available all day and eager to hear from you!
- Itamar here, co-maker of PR-Agent
Report
@maritamar
Thank you, Itamar, the team that created PR Agent 🎉! Your open-source tool is life-changing and I can't wait to try out the "describe", "review" and "improve" features, 🚀🌟
Report
I think that the 'describe' tool is really handy. we think we understand the pain very well. we use PR-Agent ourselves. We are happy to see others love it too
Report
@maritamar Very good project and will definitely be successful in the future
Congratulations on the launch of PR-Agent! It looks like a great tool for streamlining the pull request process. I'm excited to see how it can help developers. What features do you think make it stand out from existing tools?
Hi @rana_phool
Several advantages of PR-Agent:
- We emphasize real-life practical usage, avoiding multiple GPT-4 calls. Each tool (/describe, /improve, ...) has a single LLM call. This saves money and time, and enables daily usage of PR-Agent
- Our 'Git Patch Logic' strategy (https://github.com/Codium-ai/pr-...) is a core ability that enables us to tackle both short and long PRs, with high effectivity
- Our Json strategy enables us to have modular, customizable tools. For example, the '/review' tool categories can be controlled via the configuration file. Adding additional categories is easy and accessible (see for example https://github.com/Codium-ai/pr-...)
Report
Can we review the PR description before submitting the comment?
@uahnbu , oh, this is a fantastic question IMHO! We are working on this functionality.
Some of it already exists in CodiumAI extensions:
VS Code -- https://marketplace.visualstudio...
JetBrains -- https://plugins.jetbrains.com/pl...
We are working on expanding PR-Agent to what we call: pre-PR :) It is like having PR-Agent, but in your IDE.
What do you think?
@gilad_dym 1. You can just tag our agent in your pull request (without any keys), just mention @CodiumAI-Agent /review or /describe ...etc
2. If you wish to run it on your own private repo you just need an OpenAI key and GitHub personal access token (classic) with your repo scope.
This looks promising for the tedious parts of PRs 🙌
My only concern would be in regards to privacy. Is the code from the PR sent to a third party server? I can read the code and figure it out but I wonder if you have documented that somewhere.
@gabinaureche , the default configuration for the AI model in the PR-Agent is to use OpenAI API (GPT-4 for example). According to their documentation, "OpenAI will not use data submitted by customers via our API to train or improve our models, ..."
When you use the PR-Agent open-source, only the AI model provider (OpenAI in this case) gets your data.
We aim to add support to additional APIs and even local models
https://openai.com/policies/api-...
@brian_muasya1 , so happy to hear this!
Don't hesitate to share your experience using PR-Agent. And do please share with us here or later on in our discord server if you like. Screenshots or examples that amazed or amused you would be great. Thank you!
Report
I used pr-agent for pr reviews and descriptions and it worked great!
@ido_shlomo9 , really awesome to hear!
we are learning that /describe and /review are the leading actions.
there are more actions, and more are coming.
you can keep up to date by following the GitHub repo:
https://github.com/Codium-ai/pr-...
Replies
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
ChatWebby AI
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
CloudFunnels AI
Qodo (formerly CodiumAI)
Lazy
Qodo (formerly CodiumAI)
Lazy
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)
Qodo (formerly CodiumAI)