[Feature] User level microagents
In a similar way to microagents which are loaded on a repo level. I'd love for openhands to look for microagents files globally within my machine. These microagents would be loaded for any repo, but its different that the public microagents because they don't have to be merged into this repo! These could be stored under a new folder ~/.openhands-state/global-microagents
Should be pretty easy to implement I reckon openhands could do it!
If you find this feature request or enhancement useful, make sure to add a 👍 to the issue
So there are repo microagents (to make sure code logic work), and public microagents (to make sure tools would work), is the idea of the user-level microagent to make sure the OS level would work? https://docs.all-hands.dev/modules/usage/prompting/microagents-overview#microagent-types
- Presentation/UX Layer => Global Agent?
- Application/Service Layer => Public Agent
- Business/Domain Layer => Repository Agent
- Data/Persistence Layer => TBD?
The thinking was more to do with user authentication/credentials, a big one was for instance was to override the username that code is pushed with to github, but there are a plethora of other credential systems which could require other information besides a github token which could be specified on a system level microagent.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
So more like access control?
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
The thinking was more to do with user authentication/credentials, a big one was for instance was to override the username that code is pushed with to github, but there are a plethora of other credential systems which could require other information besides a github token which could be specified on a system level microagent.
One other way would be to use the extended config part of the configuration, but I don't know if I would recommend it. Another way will be to use the upcoming custom secrets feature, I think.
The linked PR should solve this issue.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
@enyst I believe this is done now correct. You can put microagents in ~/.openhands/microagents?
Yes, thank you for the reminder! This was fixed.