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

Autonomous Coding Agent #105

Open
0x4007 opened this issue Apr 2, 2024 · 32 comments
Open

Autonomous Coding Agent #105

0x4007 opened this issue Apr 2, 2024 · 32 comments

Comments

@0x4007
Copy link
Member

0x4007 commented Apr 2, 2024

https://github.com/nus-apr/auto-code-rover

https://x.com/abhikroychoudh1/status/1777494000611852515

This might be worth setting up as an experiment first, and then a github action that responds to new issues being opened, with an event dispatcher so that we can run when specifications are modified and finalized.

Finally we can make it a plugin for our kernel as part of a future task.

I imagine it will do well with the simpler, and tighter scoped tasks!

@sergfeldman
Copy link

It would be great to conduct an experiment with these autonomous agents.

@chris-chris
Copy link

chris-chris commented Apr 3, 2024

@pavlovcik
I think this task is kind of experimental feature.
If I integrate this module, the robot would be dumb at the first time.
So, it would be better to clarify the expectation of the functionality.

For example, the robot can solve simple issue like minor bug.

@0x4007
Copy link
Member Author

0x4007 commented Apr 4, 2024

@pavlovcik I think this task is kind of experimental feature. If I integrate this module, the robot would be dumb at the first time. So, it would be better to clarify the expectation of the functionality.

For example, the robot can solve simple issue like minor bug.

From what I understand, they already did all the hard work of making it smart. You just need to "connect the wires" basically set it up for use in our org/repos. Not sure the best way to implement, probably as CI in a single repo to start. Later should be integrated into our UbiquiBot so that it can run across all of our repos.

@chris-chris
Copy link

Got it. First, I'll try to connect the SWE-Agent as originally designed to address the issues in our GitHub repo.

@harjaapdhillon16
Copy link

/start

Copy link

ubiquibot bot commented Jun 3, 2024

Warning! This task was created over 62 days ago. Please confirm that this issue specification is accurate before starting.
DeadlineTue, Jun 4, 8:17 PM UTC
Registered Wallet 0x7b3813a943391465Dd62B648529c337e52FbA79b
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

@harjaapdhillon16
Copy link

/wallet 0x712913366F98aa0A5E77EfddA05BaC65C52ae9bD

Copy link

ubiquibot bot commented Jun 3, 2024

+ Successfully registered wallet address

@harjaapdhillon16
Copy link

@0x4007 Can you give me more details on this , like which tasks exactly should be included to use with the coding agent ? And once issues are fixed with the coding agent , should there be a pr raised for the changes made by the coding agent ?

@0x4007
Copy link
Member Author

0x4007 commented Jun 3, 2024

I have sort of loose expectations for this. It's mostly a research project to set this up and get it working. In order for it to be indisputably set up correctly, perhaps we can run this as part of our CI on new issues created.

So when a new issue is filed, it can open a pull request right away. This could be very useful for contributors to start work from!

@harjaapdhillon16
Copy link

harjaapdhillon16 commented Jun 3, 2024

Meaning that the autonomous coding agent understands the issue filed , does the code changes that it understands and then make a pull request in the repo ? is that what we are looking to do ?(and set it up as a CI to auto capture and run whenever a new issue is created ?) @0x4007

@0x4007
Copy link
Member Author

0x4007 commented Jun 4, 2024

Yes it seems that the open source project did the heavy lifting, you just need to invoke it from a GitHub Action (with an issue created listener.)

And possibly need to feed the relevant GitHub data in as a parameter of sorts.

Then ideally we should have a pull request output. We might even be able to break that apart into separate tasks, but the purpose of this task is to see if that tool actually works as advertised. Connecting all the wires end-to-end can potentially be handled iteratively if they are too large of projects.

At minimum output in the logs the results of the program.

@sergfeldman
Copy link

@harjaapdhillon16
Copy link

@0x4007 these tools require docker build and deploy and then creating a conda env which is not possible to create inside github action environment https://github.com/harjaapdhillon16/code-rover

@0x4007
Copy link
Member Author

0x4007 commented Jun 8, 2024

Anything is possible in a GitHub action environment. It's a Linux box. You can do it.

@harjaapdhillon16
Copy link

harjaapdhillon16 commented Jun 14, 2024

https://github.com/harjaapdhillon16/code-rover @0x4007 someone else can continue on this , I developed it to the point where I have developed the docker image , but I have tried nearly everything I am not able to create an environment where I can execute this.

@harjaapdhillon16
Copy link

/help

Copy link

ubiquibot bot commented Jun 14, 2024

Available Commands

Command Description Example
/start Assign yourself to the issue. /start
/stop Unassign yourself from the issue. /stop
/help List all available commands. /help
/query Returns the user's wallet, access, and multiplier information. /query @user
/ask Ask a context aware question. /ask is x or y the best approach?
/multiplier Set the task payout multiplier for a specific contributor, and provide a reason for why. /multiplier @user 0.5 "multiplier
reason"
/labels Set access control, for admins only. /labels @user priority time
price
/authorize Approve a label change, for admins only. /authorize
/wallet Register your wallet address for payments. /wallet ubq.eth

@harjaapdhillon16
Copy link

/stop

Copy link

ubiquibot bot commented Jun 14, 2024

+ You have been unassigned from the task

@Sadaf-A
Copy link

Sadaf-A commented Jul 5, 2024

/start

Copy link

ubiquibot bot commented Jul 5, 2024

Warning! This task was created over 94 days ago. Please confirm that this issue specification is accurate before starting.
DeadlineSat, Jul 6, 11:01 PM UTC
Registered Wallet 0x0BEd00438D57d07E3667b85Fa8EB86Af147C7025
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

@Sadaf-A
Copy link

Sadaf-A commented Jul 13, 2024

/stop

@ubiquibot ubiquibot bot unassigned Sadaf-A Jul 13, 2024
Copy link

ubiquibot bot commented Jul 13, 2024

+ You have been unassigned from the task

Copy link

ubiquity-os bot commented Sep 2, 2024

Available Commands

Command Description Example
/help List all available commands. /help
/allow Allows the user to modify the given label. /allow @user1 label
/query Returns the user's wallet, access, and multiplier information. /query @ubiquibot
/start Assign yourself to the issue. /start
/stop Unassign yourself from the issue. /stop
/wallet Register your wallet address for payments. /wallet ubq.eth

1 similar comment
Copy link

ubiquity-os bot commented Sep 2, 2024

Available Commands

Command Description Example
/help List all available commands. /help
/allow Allows the user to modify the given label. /allow @user1 label
/query Returns the user's wallet, access, and multiplier information. /query @ubiquibot
/start Assign yourself to the issue. /start
/stop Unassign yourself from the issue. /stop
/wallet Register your wallet address for payments. /wallet ubq.eth

@Lordsedion
Copy link

/start

Copy link

ubiquity-os bot commented Sep 7, 2024

! Please set your wallet address with the /wallet command first and try again.

Copy link

ubiquity-os bot commented Sep 7, 2024

! No wallet address found

Copy link

ubiquity-os bot commented Sep 7, 2024

- error: missing required argument 'address' 

@0x4007
Copy link
Member Author

0x4007 commented Sep 8, 2024

@gentlementlegen three messages is unnecessarily verbose

@gentlementlegen
Copy link
Member

@0x4007 Only the first one is relevant and should have been displayed. I think this has been addressed in a PR within command-start-stop.

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

No branches or pull requests

7 participants