Ben Lang

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

by
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
kamsi yoko
@maritamar Very good project and will definitely be successful in the future
Asha Raz
@maritamar congrats on your new launch
Hashan Sanjula
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?
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-...)
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?
Nguyen Tr
@maritamar That is so fantastic!
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.
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-...
Gabin Aureche
@maritamar That's good to hear, thanks 🙏
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-...
123
•••
Next
Last