Optimizing FaaS Platforms for MCP-enabled Agentic Workflows

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kulkarni, Varad, Jha, Vaibhav, Reddy, Nikhil, Eswaran, Anand, Jayachandran, Praveen, Simmhan, Yogesh
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914282820599808
author Kulkarni, Varad
Jha, Vaibhav
Reddy, Nikhil
Eswaran, Anand
Jayachandran, Praveen
Simmhan, Yogesh
author_facet Kulkarni, Varad
Jha, Vaibhav
Reddy, Nikhil
Eswaran, Anand
Jayachandran, Praveen
Simmhan, Yogesh
contents Agentic workflows that use autonomous AI Agents powered by Large Language Models (LLMs) and Model Context Protocol (MCP) servers is rapidly rising. This introduces challenges in scalable cloud deployment and state management. Traditional hosting on Virtual Machines (VMs) is resource-intensive and lacks elasticity. Functions-as-a-Service (FaaS) platforms offer modularity, autoscaling and cost efficiency but are inherently stateless. In this paper, we present the FAME, a FaaS-based architecture for orchestrating MCP-enabled agentic workflows. FAME decomposes agentic patterns such as ReAct into composable agents: Planner, Actor and Evaluator, that are each a FaaS function built using LangGraph and are orchestrated as a FaaS workflow. This enables modular composition as AWS Step Functions and avoids function timeouts seen for monolithic agentic workflows. To address context persistence across user requests in a conversation, FAME automates agent memory persistence and injection using DynamoDB. It also optimizes MCP server deployment through AWS Lambda wrappers, caches tool outputs in S3 and proposes function fusion strategies. We evaluate FAME on two representative applications, on research paper summarization and log analytics, under diverse memory and caching configurations. Results show up to 13x latency reduction, 88% fewer input tokens and 66% in cost savings, along with improved workflow completion rates. This demonstrates the viability of serverless platforms for hosting complex, multi-agent AI workflows at scale.
format Preprint
id arxiv_https___arxiv_org_abs_2601_14735
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Optimizing FaaS Platforms for MCP-enabled Agentic Workflows
Kulkarni, Varad
Jha, Vaibhav
Reddy, Nikhil
Eswaran, Anand
Jayachandran, Praveen
Simmhan, Yogesh
Distributed, Parallel, and Cluster Computing
Agentic workflows that use autonomous AI Agents powered by Large Language Models (LLMs) and Model Context Protocol (MCP) servers is rapidly rising. This introduces challenges in scalable cloud deployment and state management. Traditional hosting on Virtual Machines (VMs) is resource-intensive and lacks elasticity. Functions-as-a-Service (FaaS) platforms offer modularity, autoscaling and cost efficiency but are inherently stateless. In this paper, we present the FAME, a FaaS-based architecture for orchestrating MCP-enabled agentic workflows. FAME decomposes agentic patterns such as ReAct into composable agents: Planner, Actor and Evaluator, that are each a FaaS function built using LangGraph and are orchestrated as a FaaS workflow. This enables modular composition as AWS Step Functions and avoids function timeouts seen for monolithic agentic workflows. To address context persistence across user requests in a conversation, FAME automates agent memory persistence and injection using DynamoDB. It also optimizes MCP server deployment through AWS Lambda wrappers, caches tool outputs in S3 and proposes function fusion strategies. We evaluate FAME on two representative applications, on research paper summarization and log analytics, under diverse memory and caching configurations. Results show up to 13x latency reduction, 88% fewer input tokens and 66% in cost savings, along with improved workflow completion rates. This demonstrates the viability of serverless platforms for hosting complex, multi-agent AI workflows at scale.
title Optimizing FaaS Platforms for MCP-enabled Agentic Workflows
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2601.14735