Usage
These microagents can be any type of microagent and will be loaded accordingly. However, they are applied to all repositories belonging to the organization or user. Add a.openhands repository under the organization or user and create a microagents directory and place the
microagents in that directory.
For GitLab organizations, use openhands-config as the repository name instead of .openhands, since GitLab doesn’t support repository names starting with non-alphanumeric characters.
Example
General microagent file example for organizationGreat-Co located inside the .openhands repository:
microagents/org-microagent.md:
openhands-config repository.
User Microagents When Running Openhands on Your Own
This works with CLI, headless and development modes. It does not work out of the box when running OpenHands using the docker command.
~/.openhands/microagents folder on your local
system and OpenHands will always load it for all your conversations.
