ProAgent: From Robotic Process Automation to Agentic Process Automation
Yining Ye, Xin Cong, Shizuo Tian, Jiannan Cao, Hao Wang, Yujia Qin, Yaxi Lu, Heyang Yu, Huadong Wang, Yankai Lin, Zhiyuan Liu, Maosong Sun
TL;DR
RPA cannot handle tasks requiring human-like intelligence and dynamic decision-making. The authors propose Agentic Process Automation (APA) that leverages LLM-based agents to both construct and execute workflows, embodied by ProAgent. ProAgent uses an Agentic Workflow Description Language to separate data flow (JSON) from control flow (Python) and introduces DataAgent and ControlAgent to manage dynamic data processing and decision-making, respectively. Empirical proof-of-concept experiments on an open platform demonstrate feasible autonomous workflow construction and execution, with public code availability and discussion of tool integration, process mining, and safety considerations. The work offers a path toward offloading intelligent labor from humans while enabling flexible, agent-driven automation across domains.
Abstract
From ancient water wheels to robotic process automation (RPA), automation technology has evolved throughout history to liberate human beings from arduous tasks. Yet, RPA struggles with tasks needing human-like intelligence, especially in elaborate design of workflow construction and dynamic decision-making in workflow execution. As Large Language Models (LLMs) have emerged human-like intelligence, this paper introduces Agentic Process Automation (APA), a groundbreaking automation paradigm using LLM-based agents for advanced automation by offloading the human labor to agents associated with construction and execution. We then instantiate ProAgent, an LLM-based agent designed to craft workflows from human instructions and make intricate decisions by coordinating specialized agents. Empirical experiments are conducted to detail its construction and execution procedure of workflow, showcasing the feasibility of APA, unveiling the possibility of a new paradigm of automation driven by agents. Our code is public at https://github.com/OpenBMB/ProAgent.
