Skip to content

feat: add hello world automation plugin example - #767

Closed
malhotra5 wants to merge 11 commits into
mainfrom
openhands/automation-plugin-hello-world
Closed

malhotra5 wants to merge 11 commits into
mainfrom
openhands/automation-plugin-hello-world

Conversation

@malhotra5

@malhotra5 malhotra5 commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a minimal hello-world-automation plugin example that demonstrates the proposed executable automation plugin manifest shape:

  • automation-plugin.json declares the executable entrypoint, required agent/LLM profile defaults, empty secrets/plugins requirements, and a small config schema.
  • scripts/main.py is a deterministic script that reads AUTOMATION_CONFIG_PATH and prints a configured message plus runtime profile envs when present.
  • The plugin is listed in the OpenHands extensions marketplace and README catalog.

This is intended as a concrete companion example for OpenHands/automation#579 and for the automation service draft implementation that validates and dispatches plugin-backed executable automations.

Validation

  • plugins/hello-world-automation/scripts/main.py
  • AUTOMATION_CONFIG_PATH=<tmp config> AUTOMATION_AGENT_PROFILE_NAME=hello-world-agent AUTOMATION_LLM_PROFILE_NAME=default plugins/hello-world-automation/scripts/main.py
  • npm run build:skills
  • uv run --group test python scripts/sync_extensions.py --check (passes with the pre-existing non-blocking coverage warning for ./plugins/issue-duplicate-checker)

This PR was created by an AI agent (OpenHands) on behalf of the user.

@malhotra5 can click here to continue refining the PR

Update: the example manifest now includes runtime.agent_profile.allowed_tools to demonstrate the optional tool allowlist consumed by OpenHands/automation#580.

This PR was updated by an AI agent (OpenHands) on behalf of the user.

  • Clarifies that runtime.agent_profile.allowed_tools requires the selected profile to explicitly enable exactly the listed tools.
  • Documents that the same agent-profile allowlist model applies to tools, MCP server refs, and secret refs.
  • Removes the obsolete runtime.required_secrets field from the hello-world automation plugin manifest.
  • The hello-world automation entrypoint now posts COMPLETED or FAILED to AUTOMATION_CALLBACK_URL using the injected callback/API token.

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants