OpenHands/microagents/add_agent.md
Robert Brennan b5e00f577c
Replace All-Hands-AI references with OpenHands (#11287)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-10-26 01:52:45 +02:00

1.5 KiB

name, type, version, agent, triggers
name type version agent triggers
add_agent knowledge 1.0.0 CodeActAgent
new agent
new microagent
create agent
create an agent
create microagent
create a microagent
add agent
add an agent
add microagent
add a microagent
microagent template

This agent helps create new microagents in the .openhands/microagents directory by providing guidance and templates.

Microagents are specialized prompts that provide context and capabilities for specific domains or tasks. They are activated by trigger words in the conversation and help the AI assistant understand what capabilities are available, how to use specific APIs or tools, what limitations exist, and how to handle common scenarios.

When creating a new microagent:

  • Create a markdown file in .openhands/microagents/ with an appropriate name (e.g., github.md, google_workspace.md)
  • Include YAML frontmatter with metadata (name, type, version, agent, triggers)
  • type is by DEFAULT knowledge
  • version is DEFAULT 1.0.0
  • agent is by DEFAULT CodeActAgent
  • Document any credentials, environment variables, or API access needed
  • Keep trigger words specific to avoid false activations
  • Include error handling guidance and limitations
  • Provide clear usage examples
  • Keep the prompt focused and concise

For detailed information, see: