ALLOY: Generating Reusable Agent Workflows from User Demonstration

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Jiawen, Ning, Zheng, Tian, Yuan, Li, Toby Jia-jun
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918158689894400
author Li, Jiawen
Ning, Zheng
Tian, Yuan
Li, Toby Jia-jun
author_facet Li, Jiawen
Ning, Zheng
Tian, Yuan
Li, Toby Jia-jun
contents Large language models (LLMs) enable end-users to delegate complex tasks to autonomous agents through natural language. However, prompt-based interaction faces critical limitations: Users often struggle to specify procedural requirements for tasks, especially those that don't have a factually correct solution but instead rely on personal preferences, such as posting social media content or planning a trip. Additionally, a ''successful'' prompt for one task may not be reusable or generalizable across similar tasks. We present ALLOY, a system inspired by classical HCI theories on Programming by Demonstration (PBD), but extended to enhance adaptability in creating LLM-based web agents. ALLOY enables users to express procedural preferences through natural demonstrations rather than prompts, while making these procedures transparent and editable through visualized workflows that can be generalized across task variations. In a study with 12 participants, ALLOY's demonstration--based approach outperformed prompt-based agents and manual workflows in capturing user intent and procedural preferences in complex web tasks. Insights from the study also show how demonstration--based interaction complements the traditional prompt-based approach.
format Preprint
id arxiv_https___arxiv_org_abs_2510_10049
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ALLOY: Generating Reusable Agent Workflows from User Demonstration
Li, Jiawen
Ning, Zheng
Tian, Yuan
Li, Toby Jia-jun
Human-Computer Interaction
Artificial Intelligence
Multiagent Systems
Large language models (LLMs) enable end-users to delegate complex tasks to autonomous agents through natural language. However, prompt-based interaction faces critical limitations: Users often struggle to specify procedural requirements for tasks, especially those that don't have a factually correct solution but instead rely on personal preferences, such as posting social media content or planning a trip. Additionally, a ''successful'' prompt for one task may not be reusable or generalizable across similar tasks. We present ALLOY, a system inspired by classical HCI theories on Programming by Demonstration (PBD), but extended to enhance adaptability in creating LLM-based web agents. ALLOY enables users to express procedural preferences through natural demonstrations rather than prompts, while making these procedures transparent and editable through visualized workflows that can be generalized across task variations. In a study with 12 participants, ALLOY's demonstration--based approach outperformed prompt-based agents and manual workflows in capturing user intent and procedural preferences in complex web tasks. Insights from the study also show how demonstration--based interaction complements the traditional prompt-based approach.
title ALLOY: Generating Reusable Agent Workflows from User Demonstration
topic Human-Computer Interaction
Artificial Intelligence
Multiagent Systems
url https://arxiv.org/abs/2510.10049