Repository navigation
Description
Try it first
Before reading further, please click one of the badges on the Launch Plugin Badge cookbook page (source: enterprise-cookbook/launch-plugin-badge). It takes about 30 seconds and the rest of this issue will make more sense afterward. (Focus on variant 1)
What you will see: a link points at the OpenHands /launch route, a confirmation modal opens (with any plugin parameters pre-filled), and on submit you land in a conversation with the plugin loaded and, optionally, a plugin command already running. The link carries no secrets, and the plugin is just a directory in a GitHub repo. The plugins query parameter is a base64-encoded JSON list of {source, ref, repo_path, parameters}.
Goal
Make it easy for enterprises to hand their own people a ready-to-run automation recipe, whether it is theirs or ours, with the same one-click flow: a badge or button in a README that ends with an automation running in the user's account, after they click through a confirmation or security notice.
This issue is to discuss what demo and launch experience we should build toward, and what the automation side needs to support it. It is not a spec.
What is possible once #580 reaches SaaS
#580 (merged to main, not yet deployed to SaaS or Beta as far as I know) added POST /api/automation/v1/plugin-spec:
{
"name": "My automation",
"plugin": {"source": "github:org/repo", "ref": "main", "repo_path": "plugins/x"},
"config": {"repository": "org/repo"},
"trigger": {"...": "optional"},
"enabled": true
}The service fetches the plugin, reads the automation block of .plugin/plugin.json (or automation-plugin.json), validates config against its config_schema, resolves the declared agent/LLM profile and its tool/MCP/secret allowlists, and falls back to suggested_trigger / suggested_trigger_template when no trigger is given. Runs re-fetch the plugin and record the resolved SHA.
Because the manifest lives in the same .plugin/plugin.json that /launch already reads, one plugin directory can have two entry points:
- Launch entry:
entry_command(for examplecommands/install.md) is what/launchruns. It can explain the automation, ask for the parameters the user hasn't supplied, and callPOST /plugin-specitself. - Automation entry:
automation.entrypoint(a script, or a conversation runner whosecommandis a plugin command such ascommands/run.md) is what each scheduled or event-triggered run executes.
That gives a working "one click plus a confirmation" flow without any frontend change: badge, /launch, installer command, /plugin-spec.
Relation to extensions#775. The merged /software-factory skill is the closest existing example of this shape. It interviews the user once, collects the token through request_secret instead of chat, creates each station disabled, smoke-dispatches it, and enables only the ones that passed. It also dedupes on template.id. It creates stations from the catalog's setup bundles with template provenance, not through /plugin-spec, so a plugin-based installer would reuse its flow and swap the create call. I'd like to hear whether that create, smoke-test, enable sequence should be the standard installer pattern.
Limitations I have noticed
All of these come from reading the merged code. I haven't run the flow end-to-end yet.
/launchcannot configure an automation. It only callsPOST /api/v1/app-conversations. A plugin'sautomationblock is ignored there.- No browser-facing entry point exists for
/plugin-spec. I found no/plugin-speccall in the frontend's automation API client, and/automations/new/:automationIdonly resolves catalog ids, not arbitrary plugin sources. The endpoint also needs authentication, so a plain link cannot call it. - Launch
parametersreach the agent as message text, not structured values. An installer command has to map them intoconfigitself, and an LLM doing a deterministic install costs tokens and can get it wrong. - Profiles are not seeded.
runtime.agent_profile.default_namemust name an existing profile whose enabled tools, MCP servers and secrets match the manifest's allowlists exactly, otherwise create returns 422. A first-time user typically has no such profile. This is probably the biggest obstacle to a true one-click install, and it is the open "profile seeding" question from Proposal: plugin-backed executable automations with validated profiles #579. - Event triggers need the webhook source to exist. A custom source that isn't registered returns 422.
- Plugin source URLs cannot contain credentials, so private recipe repos need a separate answer.
- The feat: add plugin-backed executable automations #580 description is stale on config. It says config comes from the manifest, but
CreatePluginSpecAutomationRequesttakes aconfigfield. - No dry-run or preflight endpoint for a plugin spec. The service validates internally, but a UI, or an installer that wants to show requirements before creating anything, has no way to ask "what would this install need?" without actually creating the automation.
/capabilitiesexists for feature detection, but it does not cover this.
Options for a richer launch experience
Today the experience is "a conversation that installs the automation for you." The options below would make it a first-class install.
Option A: make the existing /launch route automation-aware
Keep one URL shape. When a plugin has an automation block (or the URL asks for it, for example mode=automation), the launch modal offers "Install automation" alongside "Start conversation":
- renders the form from
config_schemainstead of free-textparameters - shows the declared requirements (agent profile, tools, MCP servers, secrets, trigger) as the confirmation notice
- on submit, calls
POST /plugin-specinstead of creating a conversation
Pros: existing badges keep working, there is one encoding to document, and enterprises already know the pattern. Cons: the modal in the OpenHands repo now has to know about the automation service, which may not exist on every backend, and it needs the manifest in the browser. That probably means the new preflight endpoint from limitation 8.
Option B: an alternate launch route owned by the automation service
The automation service exposes its own install entry, for example GET /api/automation/v1/launch?plugin=... that redirects into an install page, or a small service-rendered page. It would:
- take the same base64
pluginsencoding - run the preflight, then render config and requirements
- create the automation
Pros: the service already has the manifest, validation and auth context, so no preflight API is needed for a client to consume. Cons: it adds UI surface to a service that is API-only today, and it has to work across SaaS (same origin as the app) and local Agent Canvas (different port, session key).
Option C: OSS Team Vision
I'd love to hear other ways the team was thinking this would work.
My Take
Baring new information -- your option C -- If launch is enterprise-only then it think it makes sense to make the existing launch route to be automation aware. If the intent is to support in both local Agent Canvas and SaaS / OHE, then it probably belongs in OpenHands/OpenHands or OpenHands/automations.
Reference
See Plugin Launch Flow for more details about how the implementation works.
This issue was created by an AI agent (OpenHands) on behalf of @jpshackelford.
Activity
all-hands-bot commentedon Oct 19, 2026
The following comments were added by the OpenHands AI agent.
Decision needed
This issue is a design discussion, not an agreed scope: it presents three non-exclusive options (A, B, C) and leaves the choice to the maintainers, and repository ownership differs by option (the Canvas
/launchmodal lives inOpenHands/OpenHands; a service-side install route, a plugin-spec preflight endpoint, and profile seeding live inOpenHands/automation). Because the direction is not yet fixed, the work cannot be scoped or given observable acceptance criteria, soready-for-devis withheld. Please answer the following so triage can record a concrete, smallest-coherent scope./launchroute automation-aware in Canvas), B (an install route owned by the automation service), or C (improve the installer ingredients: preflight endpoint, profile seeding or relaxed matching, a stock installer helper)? If it is a sequence, which step ships first?OpenHands/automationandOpenHands/OpenHands, which side is in scope for this issue and which should become a separate issue?juanmichelini commentedon Oct 20, 2026
Awesome, tested #580.
Option A seems the simplest, will give it a go as a prototype so we can decide.
juanmichelini commentedon Oct 20, 2026
@jpshackelford can you try this prototype deploy and tell me your thoughts
https://pr-1571.staging.all-hands.dev/canvas/launch?mode=automation&plugin_source=github:OpenHands/extensions&plugin_ref=openhands/automation-plugin-hello-world-script-runner&plugin_repo_path=plugins/hello-world-automation
juanmichelini commentedon Oct 20, 2026
automation is marked as such and installs correctly but fails to run. running seems to be due to deploy version mismatch on https://github.com/OpenHands/saas-deploy/pull/1571 and unrelated to OpenHands/OpenHands#18699
See screenshots
detection

installed

error logged when ran

update: tested openahands #18699 locally and it works. confirming that 1571 runs fail due to deploy error not canvas error.
jpshackelford commentedon Oct 20, 2026
I took a look at the PR and the related work Simon is doing. This is great stuff!
My initial thoughts are:
I think option a is the right approach. Thanks for prototyping it.
The current PR has an automation mode that exclusively handles automation setup. I see the sense in that, but also want to think about flows that involve both regular launch and installation of an automation. I am thinking about Vasco's demo on Monday for example.
Launch has its way of specifying user supplied inputs, automations has its own configuration parameters schema. I think Launch should probably move toward the automation format. That doesn't have to be done immediately necessarily but establishing the direction now is probably helpful.
When it comes to user input we have two stories and each of them has a place. Prompts before conversation start. Prompts as part of the conversation or conversation UI such as we say in inline secrets.
4a. The primary driver for user inputs before a conversation starts (such as in the Dad joke example where you can supply the animal of your choice to seed the Dad joke selection) are high volume runs where token cost is a consideration. For automation this seems less critical as setting up a new automation is, for now, low volume. Inline UX or conversational approach is better UX.
4b. Another driver for how user config is delivered to a plugin run is when customers want programatic approach for onboarding automations as part of some other company flow. I am going to assume that for now someone wanting to consume a plugin programmatically could fork it to make any needed adjustments and that is a good enough answer for the present.
5a. Dad joke plugin launches taking inputed animal via the dialog as today. Conversation tells the joke and an the automation is setup using the detail in the automation part of the plugin descriptor to deliver a Dad joke featuring that animal via slack daily.
5b. Dad joke plugin launches with no input dialog. Conversation offers to tell Dad joke and deliver them daily via slack. Requests an animal via normal conversation or inline ui. Tells the first joke and configures the automation.
In each demo we show that we didn't have to hand-spin a script inside the plugin to create the automation as defined in the plugin descriptor. Handling of the automation setup happens for free by virtue of the launch handling.
juanmichelini commentedon Oct 20, 2026
@jpshackelford 5a vs 5b is interesting.
if 5b is the goal, I think it would be easier to avoid this PR and instead launch a conversation that says
"hey install automation with $PLUGIN that you can found in $REPO, remember to ask for $PARAMS before installing it, after installing it run it right way in same convo"If we instead want specialized UI to install automations directly as we are doing now, I would skip the conversation until the automation installed and do manifested params like we already support for plugin launch.
juanmichelini commentedon Oct 20, 2026
@jpshackelford I'm checking and we already do support in localhost an endpoint for a limited set of automations akin to your original Option B: an alternate launch route owned by the automation service.
http://localhost:8000/automations/new/news-digest
and
http://localhost:8000/automations/new/github-issue-to-pr
juanmichelini commentedon Oct 20, 2026
it is working in prod too https://app.all-hands.dev/canvas/automations/new/news-digest done in this PR OpenHands/OpenHands#16222
Important: Notice this is only for the hardcoded bundled set of automations, so we would have to extend it to work dynamically.
juanmichelini commentedon Oct 21, 2026
@VascoSch92 thoughts on the correct UI for adding new automations (not the pre bundled ones) in one click?
juanmichelini commentedon Oct 22, 2026
Following up on the discussion above (in particular John-Mason's points 1–5), I dug through the merged #580 code, the
/launchprototype (#18699 in OpenHands/OpenHands), and the prebundled-catalog setup flow to figure out what each point actually requires. Summary of the assessment, then the two spec issues that operationalize it.What we found, point by point
mode=automationon the existing/launchroute callingPOST /plugin-spec)./automations/new/news-digestrenders a typed, constraint-validated form from the catalog'ssetup.form, shipped build-time with the pinned@openhands/extensionspackage. Reaching that same UX for open-world GitHub plugins requires exactly one new backend capability: a runtime preflight read of the plugin manifest (issue limitation 8). That reframes point 3 from "build a new form system" to "make the existing one reachable by plugin launches"./plugin-specis called deterministically). 5b's conversational config-gathering is the right shape when config genuinely depends on conversation context, but pays that coupling cost without benefit for the Dad Joke shape.runtime.agent_profile, omission already means "run on the user's default LLM, no profile questions" (the prebundled catalog automations work this way today — deterministic scripts, no profile requirements). The hard 422 only bites plugins that declare an agent profile whosedefault_namethe user doesn't have. Defaulting to "a default agent profile" would silently drop the plugin's tool/MCP/secret allowlist contract, so the real fix there is profile auto-seeding from the manifest (Proposal: plugin-backed executable automations with validated profiles #579), kept deliberately out of these specs.The two spec issues
suggested_trigger), template-based dedupe, typed config form fromconfig_schema, automation-block detection. Agent-profile picker and combined flow explicitly deferred.GET /v1/plugin-spec/preflightwrapping the existing_fetch_validated_plugin_manifestlogic; returns manifest +config_schema+ profile requirements +suggested_triggerwith no side effects.The frontend is built to degrade to today's behavior when preflight is absent, so the two can ship and deploy independently — and we're standing up a feature-preview environment pinning both PR branches for end-to-end testing.
One correction to the issue body worth noting: limitation 7 (config comes from the request, not the manifest) matches the code —
CreatePluginSpecAutomationRequesttakesconfig, and #580's description is the stale one.This comment was posted by an AI agent (OpenHands) on behalf of @juanmichelini.
feat(launch): render schema labels, help text, and textarea widgets f…
fix(launch): auto-expand plugin section when preflight schema fields …
fix(launch): preflight loading indicator, auto-scroll fields, contrast
fix(launch): unify scroll for params+trigger, improve field contrast
fix(launch): disable Install Automation while preflight fields load
[-]Discussion: one-click launch experience for plugin-based automations (demo options)[/-][+]Discussion: one-click launch share experience for plugin-based automations (demo options)[/+]