Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple agents (bug finder/security research/regression tester) #1598

Open
EdenGottlieb opened this issue Mar 2, 2025 · 6 comments
Open
Labels

Comments

@EdenGottlieb
Copy link

Feature request

We use pr-agent all time (thank you for this incredible tool!)
We would like to have multiple instances of PR-Agent installed in our repo with each one having a different "hat"
and focusing on different things (e.g. vulnerability researcher/bug finder/regression tester)
Would it be possible to add some sort of "installation ID" to PR Agent to be able to install several instances of it in
one repo and not have them clash with each other?
Is there a better way for fulfilling this requirement I'm not aware of?
Thanks!

Motivation

It is difficult for PR Agent to juggle all of the different requirements (adequate testing, preventing new bugs, preventing breakage of existing features, etc.) in one review.

@EdenGottlieb EdenGottlieb added the feature 💡 label Mar 2, 2025
@mrT23
Copy link
Collaborator

mrT23 commented Mar 3, 2025

Hi @EdenGottlieb

just to better understand the question:
What is your deployment type ? Are you using github action (with PR-Agent) ?

@EdenGottlieb
Copy link
Author

Hi @EdenGottlieb

just to better understand the question:
What is your deployment type ? Are you using github action (with PR-Agent) ?

Yes I am :)

@mrT23
Copy link
Collaborator

mrT23 commented Mar 6, 2025

With 'extra_insturctions', you can tailor each output and emphasize different things:
https://qodo-merge-docs.qodo.ai/tools/improve/#extra-instructions

So by defining several github actions with different 'extra_insturctions', you can practically do what you aimed for - getting multiple code suggestions from different 'agents', each with his own emphasize

@EdenGottlieb
Copy link
Author

With 'extra_insturctions', you can tailor each output and emphasize different things:
https://qodo-merge-docs.qodo.ai/tools/improve/#extra-instructions

So by defining several github actions with different 'extra_insturctions', you can practically do what you aimed for - getting multiple code suggestions from different 'agents', each with his own emphasize

Cool! And they won't override each other's persistent comments?

@mrT23
Copy link
Collaborator

mrT23 commented Mar 6, 2025

good point.
you will probably need to turn it off

Image

@EdenGottlieb
Copy link
Author

good point.
you will probably need to turn it off

Image

But I like persistent comments! It's a great feature.
If each installation could have its own ID it'd be possible, each installation would have its own comment to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants