<scp>Meta-Agent-Workflow:</scp> Streamlining Tool Usage in LLMs through Workflow Construction, Retrieval, and Refinement
Large language models (LLMs) have recently shown significant advancements and are increasingly used as key components in automated agents for various web-based tasks. Typically, this agentization is achieved by carefully prompting LLMs to guide their behavior in using tools for specific tasks. However, this approach can be limited by the complexity of tasks and the inherent capabilities of LLMs. To enhance task-specific performance, a pre-defined workflow approach can be employed, reducing repetitive and error-prone planning for particular tasks. This workflow-driven process is especially well-suited for industrial applications, where task-specific agents can be easily configured using visual interfaces supported by various open-source platforms. In this paper, we introduce a novel framework called Meta-Agent-Workflowto create, retrieve, and refine agent workflows. Experiments on ToolBench demonstrate that our framework effectively transforms LLM tool-reasoning processes into task-specific workflows, retrieves workflows for different tasks based on various queries, and updates them based on execution feedback. We also open-source our code and follow the workflow architecture of an open-source agent platform (e.g., Dify) to facilitate further industrial and community use. The Meta-Agent-Workflow will be open-sourced in https://github.com/testlbin/meta_agent_workflows.
Authors
- Xihe Qiu (ORCID: https://orcid.org/0000-0003-4024-925X)
- Chao Qu (ORCID: https://orcid.org/0009-0003-4246-9106)
- Wei Chu (ORCID: https://orcid.org/0000-0002-6401-6111)
- Yinghui Xu (ORCID: https://orcid.org/0009-0002-7346-2794)
- Bin Li (ORCID: https://orcid.org/0000-0002-1374-1524)
- Qi Yuan (ORCID: https://orcid.org/0009-0009-6667-0764)
- Xiaoyu Tan (ORCID: https://orcid.org/0000-0003-3555-7143)
Institutions
- Shanghai University of Engineering Science (CN)
- Fudan University (CN)
Publication Details
- Published
- 2025-05-08
- DOI
- https://doi.org/10.1145/3701716.3715247
- Citations
- 3
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 12.51
Funders
- Natural Science Foundation of Shanghai