Hi all, I have a use case in mind and am curious about what changes would be needed to openagents to get it to work in the way I'm considering.
I made a new github account for my "agent", this is so I can keep PRs, comments, etc. more organized (otherwise it looks like it's coming from myself)
My ideal workflow is:
  1. Manually fork the repo I'm interested in having the agent work on
  2. Have the agent browse existing issues on the main repo (not the fork)
  3. Pick an issue to work on and create a branch on it's forked repo that it has access to
  4. Work and iterate until a solution is found
  5. Push the solution
  6. Open a PR from the new branch on the forked repo to the main project repository
I've already set up a new github account and manually forked the repo, but when I try to get the agent to work in this way, I get this from the agent:
"""" I don't have direct access to create or manage GitHub accounts, including any forks that might have been created for me. I can only interact with repositories through the specific API functions provided to me.
The functions I have access to are:
post_github_comment open_issue list_open_issues view_pull_request fetch_github_issue list_pull_requests update_pull_request create_pull_request create_branch create_file rewrite_file view_file view_hierarchy delete_file scrape_webpage close_pull_request close_issue
None of these functions allow me to switch between repositories or work with forks. I can only work with the repository that's set as my active context.
To work with a fork, I would need:
The fork to be set as my active repository context Appropriate permissions to interact with that fork The ability to create pull requests from the fork to the original repository
Could you clarify if you've updated my active repository context to point to a different repository? If so, could you please share what that repository is so I can verify my working context? """
It sounds like the agent would need the ability to refer to two github repos at the same time?
I'm interested in potentially helping to build this functionality into openagents in my spare time. If anyone has any guidance or thoughts on what it might take to enable this, I'd super appreciate it!
this territory is moderated
Episode 138 here has a demo of the new interface btw #761106
reply
Hey thanks so much for this-- sorry I missed it until now!
You can in fact specify a different repo other than the one in 'active context' and the agent should be able switch between them intelligently. May take some massaging of the prompts - like maybe even pasting in some of what you posted above in terms of your ideal workflow - and the agent should be able to handle it.
This should be doable in the current 'stage2' interface but also should be easier in the new version of this interface where you can attach multiple repos at a time.
Happy to give you early access & some test credits, just sign up here and DM me (@OpenAgentsInc on X) or email me (chris@openagents.com) your email address you use to sign up: https://pro.openagents.com
I'd be happy to demo any of this or walk you through any of this on a call, feel free to grab time with me anytime here: https://calendly.com/christopher-david-openagents/30min
Please let me know your experience and any other questions or feature requests!
reply