AgentX: Towards Orchestrating Robust Agentic Workflow Patterns with FaaS-hosted MCP Services
By: Shiva Sai Krishna Anand Tokal , Vaibhav Jha , Anand Eswaran and more
Potential Business Impact:
Helps AI agents work together on hard tasks.
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.
Similar Papers
A Practical Guide for Designing, Developing, and Deploying Production-Grade Agentic AI Workflows
Artificial Intelligence
Builds smarter AI that can do many jobs.
Hiding in the AI Traffic: Abusing MCP for LLM-Powered Agentic Red Teaming
Cryptography and Security
Makes hackers invisible to computer defenses.
Hiding in the AI Traffic: Abusing MCP for LLM-Powered Agentic Red Teaming
Cryptography and Security
Hides computer attacks from security guards.