Ben Lang

PR-Agent by CodiumAI - Open-source pull requests AI agent

by
Top Product
โ€ข

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

Add a comment

Replies

Best
Itamar Friedman
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
Antoni Kozelski
@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, ๐Ÿš€๐ŸŒŸ
Fernando Priyanthi
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
Tal Ridnik
I think that the 'describe' tool is really handy. Creating reliable standardization in the way Pull requests are opened and communicated is beneficial
hussam lawen
PR-Agent offers extensive pull request functionalities across various Git providers๐Ÿš€ Tell us: which Git provider do you prefer?
Nguyen Tr
Can we review the PR description before submitting the comment?
Itamar Friedman
@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?
Rana Phool
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?
Tal Ridnik
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-...)
jeremie dreyfuss
๐Ÿ”Œ Plugged in
Great tool! Our MLEs set it up 2 weeks ago and the feedbacks are great. They are really happy with it and claim that they can start the peer reviews from a higher level because the reviewee has already fixed most of the basic issues.
Itamar Friedman
@jeremie_dreyfuss , wow, so awesome to read this! We would love to hear any feedback or even an example that amazed or amused you and your team. Of course, only if possible ๐Ÿ™
Gilad Dym
Looks super cool! What infra and model does this run on? Is an API key required?
Tal Ridnik
@gilad_dym It uses 'GPT-4' as the base model. An API Key is required. we have a demo you can try for free, without a key: https://github.com/Codium-ai/pr-...
hussam lawen
@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.
Aqeel
Congrats on the launch! Best of luck, guys.
Itamar Friedman
@mrmaqeel , thank you! would love to hear any feedback ๐Ÿ™
Cyril Gupta
Looks interesting! Good luck with the launch
Itamar Friedman
@cyriljeet , thank you so much! also good luck with your launch soon!
Gabin Aureche
๐Ÿง Good find
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.
Itamar Friedman
@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-...
Itamar Friedman
@amira_samir771 , thank you! we think we understand the pain very well. we use PR-Agent ourselves. We are happy to see others love it too ๐Ÿค—
brian muasya
This is a one kind of a product which is gonna be handy in my area of specialization.thanks for this.
Itamar Friedman
@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!
Ido Shlomo
I used pr-agent for pr reviews and descriptions and it worked great!
Itamar Friedman
@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-...
Uri Knorovich
I love PR agent. Putting simplicity into this process
Itamar Friedman
@uri_knorovich1 , yes, you got it! would love to hear any feedback or even an example that amazed or amused you and your team
philip tannor
๐Ÿ’Ž Pixel perfection
Hey! Looks really cool, will definitely send to my team =] Quick question - why is it called PR-Agent?
Itamar Friedman
@ptannor , that is a great question , thank you! PR - pull request :) I know it might be confusing, with Press Release, and Public Relationships having similar acronyms. But still, we wanted to emphasize that the purpose of this tool it enable developers to effectively create and handle successful and high-quality pull requests. Agent - we aim to add more tools (e.g., connection to JIRA to retrieve relevant information? what would you like to see?), and more reasoning capabilities. We already see contributions from the community for both of these! ๐Ÿ™
Yoad Fekete
Definitely going to try this in our repo.
Tal Ridnik
@yoad_fekete1 Thanks. Welcome to share a feedback in our discord - what worked and didn't work for you :-)
Itamar Friedman
@yoad_fekete1 , awesome! don't hesitate to open issues, PRs, or just share feedback in our discord server ๐Ÿ™ https://discord.gg/TDHGSdnKj3
Ghost Kitty
Comment Deleted
Itamar Friedman
@ako61142833 , thank you very much! Building the future of software development is fascinating
Andrรฉ J
This is what we need! Can I install it in GitHub?
Dedy Kredo
@sentry_co Yes, absolutely. It can be deployed as a GitHub action, GitHub App/Webhook, or via CLI
Nevo Alva
Thanks @maritamar this is great and can dramatically impact PR cycle time, curious to learn more about the impact of PR-Agent
Itamar Friedman
@nevoalva , code reviewing and code merging are essential processes in software development. sorry for stating the obvious. in many cases, they are also painful tasks, and a major bottleneck. The PR-Agent can help dev teams to create a standardized process, e.g. by having a standardized and complete PR description. In another example, the PR-Agent can help developers to challenge themselves and improve the PR, which should smoothen the overall process, especially when another human reviewer will enter the process
Sophia Watt
The level of thought put into the user experience is commendable.
Itamar Friedman
@sophia_watt , oh thank you :) we hope we kept the UX simple. We are trying to make this PR agent useful first of all, and then also make it cool :)
Wayne @Stackwise
Looking forward to try this out with Auto-GPT, thanks @maritamar !
Itamar Friedman
@merwane_hamadi so happy to get this message! looking forward to collaborating with the AutoGPT community!