arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.07595cs.DC
收藏

AgentX:利用FaaS托管的MCP服务编排鲁棒智能体工作流模式

AgentX: Towards Orchestrating Robust Agentic Workflow Patterns with FaaS-hosted MCP Services

Shiva Sai Krishna Anand Tokal, Vaibhav Jha, Anand Eswaran, Praveen Jayachandran, Yogesh Simmhan

AI总结:

AgentX提出一种由阶段设计器、规划器和执行器组成的新颖智能体工作流模式,利用MCP工具及FaaS部署,在三个应用中实证评估了成功率、延迟和成本,性能优于或媲美现有模式。

摘要:

生成式人工智能(GenAI)已迅速变革了包括代码生成、文本摘要、图像生成等多个领域。智能体AI是近期的一项演进,它通过将大语言模型(LLM)的决策与生成能力与可借助工具执行的动作相结合,进一步推动了这一变革。尽管看似强大,但智能体系统在面对大量工具、复杂的多步骤任务以及为跟踪历史并避免幻觉而进行的长上下文管理时,往往表现不佳。思维链(CoT)和ReAct等工作流模式有助于解决这些问题。在此,我们定义了一种新颖的智能体工作流模式AgentX,由阶段设计器、规划器和执行器智能体组成,其性能与最先进的智能体模式相当或更优。我们还利用模型上下文协议(MCP)工具,提出了两种将MCP服务器部署为云函数即服务(FaaS)的替代方案。我们针对三个实际应用,使用这些FaaS和本地MCP服务器替代方案,实证评估了AgentX以及两种当代智能体模式ReAct和Magentic One的成功率、延迟和成本。这凸显了设计和部署智能体工作流的机遇与挑战。

英文摘要:

Generative Artificial Intelligence (GenAI) has rapidly transformed various fields including code generation, text summarization, image generation and so on. Agentic AI is a recent evolution that further advances this by coupling the decision making and generative capabilities of LLMs with actions that can be performed using tools. While seemingly powerful, Agentic systems often struggle when faced with numerous tools, complex multi-step tasks,and long-context management to track history and avoid hallucinations. Workflow patterns such as Chain-of-Thought (CoT) and ReAct help address this. Here, we define a novel agentic workflow pattern, AgentX, composed of stage designer, planner, and executor agents that is competitive or better than the state-of-the-art agentic patterns. We also leverage Model Context Protocol (MCP) tools, and propose two alternative approaches for deploying MCP servers as cloud Functions as a Service (FaaS). We empirically evaluate the success rate, latency and cost for AgentX and two contemporary agentic patterns, ReAct and Magentic One, using these the FaaS and local MCP server alternatives for three practical applications. This highlights the opportunities and challenges of designing and deploying agentic workflows.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑