---
title: 'Agent Workflows: Architecture, Frameworks, and Optimization'
authors: ['Yuyang Cheng', 'Yijin Wang', 'Changwei Peng', 'Jindong Li', 'Chenwei Xu', 'Shang Sun', 'Jiacheng Xian', 'Regina Zhang', 'Bo Xiong', 'Jiahong Liu', 'Yong Zhao', 'Menglin Yang', 'Irwin King']
date: 2026-12-03
categories: ['cs.MA']
tags: ['multi_agent', 'system_design']
source_id: '2612.03811'
source_url: 'https://arxiv.org/abs/2612.03811'
description: 'As large language model agents tackle increasingly complex tasks, reliable execution depends on workflow design. This survey examines predefined and adaptive workflows involving one or more agents. A...'
keywords: ['cs.MA', 'Agent', 'Workflows', 'Architecture']
canonical: 'https://dailyreading.cc/records/arxiv_2612.03811'
---
# **Agent Workflows**
## Architecture, Frameworks, and Optimization
Yuyang Cheng1,∗ , Yijin Wang2,∗ , Changwei Peng2,∗ , Jindong Li1 , Chenwei Xu3 , Shang Sun4 , Jiacheng Xian5 , Regina Zhang6 , Bo Xiong7 , Jiahong Liu8 , Yong Zhao2 , Menglin Yang1,† , Irwin King8
§ **GitHub** [github.com/digailab/agent-workflows-survey](https://github.com/digailab/agent-workflows-survey) # **Contact** [menglinyang@hkust-gz.edu.cn](mailto:menglinyang@hkust-gz.edu.cn)
#### **Abstract**
As large language model agents tackle increasingly complex tasks, reliable execution depends on workflow design. This survey examines predefined and adaptive workflows involving one or more agents. A layered analytical model distinguishes agent execution, workflow orchestration, and runtime coordination. The survey compares the documented capabilities of 32 frameworks and platforms against 30 criteria. The analysis links application requirements to workflow design, framework selection, and evaluation. Optimization methods are examined in terms of their objectives, targets, applicability, and costs. The synthesis identifies open challenges and future research directions in long-horizon reliability, scalable multi-agent collaboration, and execution across system boundaries.
## **1 Introduction**
Large language model (LLM) agents increasingly undertake tasks that involve multiple decisions, tool interactions, and feedback from external environments [164,](#page-31-0) [166,](#page-31-1) [176,](#page-32-0) [181](#page-32-1). Such tasks may be completed by one agent or distributed among agents with complementary roles [54,](#page-24-0) [84](#page-26-0). As tasks involve more steps and interactions, their completion depends on how activities are organized and how intermediate results and feedback inform subsequent actions.
In this survey, an agent workflow is a task process that organizes the activities of one or more LLM agents toward an intended outcome. The scope includes predefined procedures and arrangements adapted during execution [57,](#page-25-0) [173](#page-31-2). For example, a research workflow may gather evidence, draft a report, and revise its claims after review. Its organization shapes when evidence is collected, how intermediate results are passed forward, and whether review triggers further investigation. These choices affect agents' access to information and feedback [57,](#page-25-0) [173](#page-31-2), as well as the risk of task failure [22](#page-22-0) and the time and resources required for completion [65](#page-25-1).
Existing surveys provide foundations for understanding agent architectures [176](#page-32-0), multi-agent collaboration [84](#page-26-0), agent optimization [40](#page-24-1), workflow optimization [189](#page-33-0), and the operation of agent systems [170](#page-31-3). Yu et al. [188](#page-32-2) compare agent workflow systems by their capabilities and architectural characteristics and discuss optimization, security, and open challenges. Table [1](#page-1-0) compares the scope and analytical emphases of related surveys. Further synthesis is needed to explain how application requirements translate into workflow design choices and the framework capabilities needed to implement them. It should also clarify which workflow components optimization methods change, under what conditions their reported gains hold, and what costs are incurred.
This survey addresses these needs through a unified analysis of workflow design, software support, and optimization, and identifies open questions and future research directions. Figure [1](#page-2-0) presents the organization of the survey. The main contributions are as follows:
• We distinguish agent execution, workflow orchestration, and runtime coordination and integrate them into a layered model with governance across layers. This perspective provides a common basis for analyzing workflow organization and execution independently of particular development frameworks.
1 The Hong Kong University of Science and Technology (Guangzhou), 2 Sichuan University,
3 Southeast University, 4 Southwest Jiaotong University, 5 Independent Researcher,
6 Yale University, 7 Iowa State University, 8 The Chinese University of Hong Kong
∗ These authors contributed equally to this work.
† Corresponding author.
Preprint 2 Background
**Table 1** Comparison of related surveys.
| | | | Research scope | | Agent Workflow Architecture | | Agent Workflow | Agent Workflow | | |
|------|------------------------|----------------|----------------|-----------------------|-----------------------------|--------------------------|----------------|----------------|--|--|
| | Year Survey | Agent Workflow | | Agent
Architecture | Workflow
Orchestration | Workflow
Coordination | Frameworks | Optimization | | |
| | Chen et al. [27] | ◦ | ◦ | ◦ | ◦ | ◦ | ◦ | ◦ | | |
| 2024 | Guo et al. [54] | ✓ | ◦ | ◦ | ✓ | ✓ | ◦ | ◦ | | |
| | Li et al. [84] | ✓ | ◦ | ✓ | ✓ | ✓ | ◦ | ✓ | | |
| | Wang et al. [164] | ✓ | ◦ | ✓ | ✓ | ◦ | ◦ | ✓ | | |
| | Derouiche et al. [32] | ◦ | ◦ | ◦ | ◦ | ◦ | ✓ | ✗ | | |
| | Ehtesham et al. [44] | ◦ | ◦ | ◦ | ◦ | ✓ | ◦ | ✗ | | |
| | Li [82] | ✓ | ✓ | ✓ | ✓ | ◦ | ✗ | ✓ | | |
| 2025 | Tran et al. [152] | ◦ | ✓ | ◦ | ✓ | ✓ | ◦ | ◦ | | |
| | Wang et al. [170] | ◦ | ◦ | ◦ | ◦ | ✓ | ✗ | ✓ | | |
| | Xi et al. [176] | ✓ | ◦ | ✓ | ◦ | ◦ | ◦ | ◦ | | |
| | Yu et al. [188] | ◦ | ✓ | ◦ | ✓ | ◦ | ✓ | ◦ | | |
| | Arunkumar et al. [155] | ✓ | ◦ | ✓ | ✓ | ✓ | ✓ | ◦ | | |
| | Du et al. [40] | ✓ | ◦ | ◦ | ◦ | ◦ | ◦ | ✓ | | |
| | Guo et al. [53] | ✓ | ◦ | ✓ | ✓ | ✓ | ◦ | ✓ | | |
| | Meng et al. [99] | ◦ | ◦ | ✓ | ◦ | ✓ | ✓ | ◦ | | |
| 2026 | Ning et al. [108] | ✓ | ◦ | ✓ | ✓ | ✓ | ◦ | ✓ | | |
| | Ren et al. [134] | ✓ | ◦ | ◦ | ◦ | ◦ | ✗ | ✓ | | |
| | Yue et al. [189] | ◦ | ✓ | ◦ | ✓ | ◦ | ◦ | ✓ | | |
| | Zong et al. [207] | ✓ | ◦ | ◦ | ◦ | ◦ | ✗ | ✓ | | |
| | 2026 This survey | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
✓ systematic analysis; ◦ partial treatment; ✗ not addressed.
- We define 30 capability criteria across 10 dimensions and apply them to 32 frameworks and platforms spanning four construction paradigms. The comparison characterizes documented capability support and limitations relevant to workflow implementation and framework selection.
- We identify five application requirement dimensions and three workflow forms to guide workflow design, framework selection, and evaluation.
- We relate optimization methods to their objectives and the workflow components they modify. The analysis examines their applicability and reported gains alongside optimization investment and execution costs.
- We synthesize open challenges in long-horizon reliability, scalable multi-agent collaboration, and execution across system boundaries. Building on the preceding analyses, we identify research questions and outline directions for future investigation.
## **2 Background**
Agent workflows build on earlier approaches to organizing task activities. This section reviews five representative workflow paradigms and establishes the definition and scope of agent workflows in this survey. It also clarifies their relationships with LLM-based workflows and multi-agent systems.
## **2.1 Workflow Paradigms**
A workflow organizes related activities toward an intended outcome. It describes how activities connect [158](#page-31-4), what information they exchange, and which people or components perform them [55](#page-24-4). We review the development of workflows, focusing on five representative workflow paradigms. Figure [2](#page-3-0) summarizes selected milestones across these paradigms.
Preprint 2 Background

**Figure 1** Organization of this survey and representative topics.
Preprint 2 Background
#### Workflow paradigms over time

**Figure 2** Five representative workflow paradigms, their main emphases, and selected works. Dates identify selected developments. Temporal spacing is schematic, and the paradigms coexist and overlap.
Business workflows organize procedures such as approvals and order processing across people and software applications [55]. They specify who performs each activity, what information it requires, and the conditions under which a case proceeds [156]. These procedures coordinate automated operations with human participation and can include branches, repeated activities, and exceptions that require a different path or human judgment [113].
Scientific workflows organize analyses, simulations, and data services into computational investigations [5]. They specify which intermediate results each computation requires before it can proceed and coordinate dependent steps across computing resources [31]. Researchers can reuse workflow descriptions across analyses [85] and share or adapt pipelines that combine distributed services with local tools [172]. Provenance records link source data, processing steps, and reported results to help researchers inspect and reproduce an analysis [7].
Data science workflows organize data preparation, integration, analysis, and visualization. They share applications and systems with scientific workflows, particularly in data-intensive research [161]. As analysts inspect results, revise datasets, or compare alternative analyses, records of data transformations link datasets to the steps that produced them [100]. When an analysis uses machine learning, preprocessing and feature extraction feed model training [146], evaluation, and prediction [9]. Experiment records link code, model choices, and results across iterations [191]. For deployed models, workflows can track model versions and deployment status, monitor performance, and support retraining when needed [69].
In 2020, GPT-3 [17] showed that LLMs could perform different language tasks using prompts and examples. LLM-based workflows organize model calls as steps in a larger task. AI Chains [175], first circulated in 2021, provides an early example by decomposing tasks into smaller operations and passing outputs from one step to the next. Prompts specify the work of each step, while intermediate results connect successive operations and allow users to inspect and revise the process. Model calls can also be combined with retrieval [78], data transformations, and other software operations [174].
Agents participated in workflows before LLMs [24]. LLM agents choose actions in response to observations [185]. WebGPT, first reported in 2021, used browsing and evidence collection to answer questions [107]. By 2023, frameworks supported both prescribed procedures [57] and exchanges of intermediate results through agent conversations [173], allowing local decisions within an overall procedure.
Workflows also support continuous integration and delivery (CI/CD) in software development [49], data integration through extract, transform, and load (ETL) operations [161], and robotic process automation
(RPA) [154](#page-30-12).
### **2.2 Definition and Scope**
In this survey, agent refers to an LLM-based agent [176](#page-32-0). An agent can use an LLM to plan and select actions [164](#page-31-0) and adjust its subsequent actions in response to feedback from the environment [185](#page-32-5). We define an agent workflow as follows.
An agent workflow is a task process that organizes the activities of one or more LLM-based agents toward an intended outcome.
A request is a single input instance of a task. We use output for the information or artifact produced by execution, outcome for the task-level effect achieved, and result as a general term covering both.
A single-agent workflow involves one agent, which may perform several activities within the task [181](#page-32-1). A multi-agent workflow involves two or more agents [80](#page-26-5). Humans and other components may also perform activities within the workflow [173](#page-31-2). Task instructions, intermediate results, and feedback passed between activities provide context for subsequent work [57](#page-25-0).
An LLM-based workflow uses LLMs within a task process [175](#page-32-3) and may involve agents as participants [57](#page-25-0). Under our definition, agent workflows therefore fall within this broader category. Anthropic [6](#page-21-1) distinguishes workflows organized through predefined code paths from agents that dynamically direct their own processes and tool use. The article's workflow patterns [6](#page-21-1) include model-based routing, iterative feedback, and dynamic task decomposition. Our term agent workflow describes task organization across different control arrangements, including predefined procedures in which agents can make decisions within their assigned activities [57](#page-25-0), as well as arrangements adjusted during execution [173](#page-31-2).
For workflows involving multiple agents, a related concept is the multi-agent system (MAS), which consists of interacting agents [54](#page-24-0). Research on multi-agent systems predates LLMs, with early work on cooperation [43](#page-24-11), coordination [42](#page-24-12), and negotiation [144](#page-30-13). A multi-agent workflow describes how agents' activities are organized toward a task outcome, whereas the system perspective concerns the participating agents and their interactions. Both descriptions can apply to the same application, and MAS research also examines workflow organization [84](#page-26-0).
## **3 Architecture**
Agent workflow architecture concerns how individual agents act and how their activities are organized and coordinated. Following the definition in Section [2.2,](#page-4-0) this section examines three architectural concerns independently of particular development frameworks and integrates them into a layered model with governance across layers.
Agent execution captures the stateful loop through which an LLM-based agent advances a task [164,](#page-31-0) [176](#page-32-0). Workflow orchestration defines how execution units are arranged and related [6,](#page-21-1) [115](#page-28-11). The arrangement may also be revised at runtime [189](#page-33-0). Runtime coordination maintains execution within the current arrangement and propagates orchestration revisions across affected units [1](#page-21-4).
We represent this architecture as the following analytical abstraction, independent of any specific implementation:
$$\mathcal{W} := \langle g, \mathcal{A}, \mathcal{O}, \mathcal{C}, \mathcal{R}, \Omega \rangle$$
.
Here, g denotes the workflow-level task specification, including its intended outcome and expected outputs. A is the set of participating LLM-based agents. O specifies how execution units are arranged and connected. It also records their responsibilities and control paths. C comprises the runtime mechanisms that maintain coherent execution within that arrangement. R denotes the external resources available to the workflow, including tools and data sources as well as service or environment access. Ω is the cross-layer governance context. It constrains permissions and budgets through guardrails and policies, while retaining traces and exception records for audit.
### **3.1 Agent Execution**
At the agent level, an LLM-based agent acts on information from the user or environment and on messages produced elsewhere in the workflow. It selects actions and incorporates the resulting feedback into later decisions. These inputs form its current execution context. Memory and reasoning shape how the agent uses that context, while tool access and local constraints bound the actions it can take [15,](#page-22-3) [164,](#page-31-0) [176](#page-32-0).
Let Ai ∈ A denote an agent participating in the workflow. At logical step t, its internal execution state depends on the workflow-level task specification g, current execution context ci,t, memory state Mi,t, local constraints Γi , and governance context Ω. The agent then selects an action through its decision policy:
$$s_{i,t} = f_i(g, c_{i,t}, M_{i,t}; \Gamma_i, \Omega),$$
$$u_{i,t} \sim \pi_i(\cdot \mid s_{i,t}, \mathcal{T}_i; \Gamma_i, \Omega).$$
Here, fi is the state-construction function, and si,t is the resulting internal execution state. The workflow-level specification g provides the overall objective, while ci,t contains the task and runtime information currently available to Ai . The decision policy πi governs selection of the next action ui,t, and the interface Ti determines how the agent accesses tools and other resources in R. An action may produce a natural-language response or a message to another unit. It may instead invoke a tool or update an artifact; in some workflows, it delegates a task or acts on the environment. Executing the action produces feedback that may update ci,t and Mi,t before the next logical step. Reasoning-and-acting methods such as ReAct couple reasoning with action and subsequent observation [185](#page-32-5). Feedback-based methods such as Reflexion use execution results or self-reflection to revise later decisions and update state [142](#page-30-4).
### **3.2 Workflow Orchestration**
Workflow orchestration arranges agent execution loops and other execution units into an executable task process. It defines task decomposition and dependencies, then specifies how execution moves between units and where responsibility lies. It also governs resource routing and the synthesis of intermediate results [1,](#page-21-4) [6,](#page-21-1) [115](#page-28-11). We analyze orchestration along three dimensions. Control-flow structure describes how execution progresses, and agent topology describes how responsibilities are distributed. A third dimension concerns when the orchestration structure is fixed and how much it can change during execution. We refer to this as structural commitment and adaptation.
**Control-flow structure.** The ordering, dependencies, and permissible paths among execution units determine how work progresses. Sequential pipelines and conditional branches provide ordered or selective progression. Parallel fan-out–fan-in allows concurrent work, while iterative loops and hierarchical decomposition support repeated or nested execution. These choices do not determine how decision-making responsibility is distributed. A single agent may traverse a branching workflow or issue parallel tool calls, whereas multiple agents may participate in a sequential handoff.
**Agent topology.** This dimension specifies how execution responsibility is distributed among agents in the workflow and how their outputs are connected. A single-agent workflow contains one stateful LLM-based agent. A multi-agent workflow contains two or more stateful LLM-based agents. Manager–worker and lead-agent– subagent structures assign differentiated responsibilities. Peer arrangements may instead use direct collaboration or structured debate, including committee-style interaction. AutoGen and CAMEL illustrate different forms of agent interaction: AutoGen supports flexible conversational patterns [173](#page-31-2), whereas CAMEL organizes role-based interaction [80](#page-26-5). Multi-agent designs can distribute specialized work and run independent tasks in parallel, but they introduce handoff and coordination costs. Empirical studies report that additional agents can introduce specification defects and information loss [22](#page-22-0). Performance also does not improve monotonically with agent count [66](#page-25-9). Topology selection should therefore depend on how readily the task can be decomposed and how tightly context is coupled, subject to the operating constraints of the workflow.
**Structural commitment and adaptation.** This temporal dimension describes when control-flow structure and agent topology are fixed or revised. Workflows may rely on reusable templates defined before deployment. They may also instantiate the roles and dependency structure for each request, with resource routes chosen accordingly. Partially adaptive workflows retain a stable global structure while revising selected paths or agent assignments during execution. AgentVerse illustrates this form of runtime adaptation by adjusting agent-group
**Table 2** Representative workflow orchestration patterns and runtime coordination mechanisms, organized by architectural role and linked through their execution requirements.

composition in response to evaluation feedback [28](#page-23-5). Fixing structure earlier can improve reproducibility and auditability. Later commitment can provide more task-specific flexibility, but it complicates post-hoc analysis.
### **3.3 Runtime Coordination**
Runtime coordination operates within the arrangement defined by orchestration. It keeps shared context and execution progress consistent across participating units, while carrying intermediate results or recovery information when needed [1](#page-21-4). When coordination mechanisms detect a need for structural change, orchestration revises the arrangement. Coordination then carries that revision to the affected units. In the workflow tuple, C comprises the mechanisms that synchronize execution and surface changes that require orchestration updates. Once the arrangement changes, these mechanisms propagate the revision across agents and tools, including nested sub-workflows [115](#page-28-11). Without such coordination, execution units may operate with incomplete context. They may also produce conflicting results or respond inconsistently to tool and environmental feedback. Table [2](#page-6-1) summarizes representative orchestration patterns and coordination mechanisms, highlighting the mutual influence and linkage between them.
**Runtime state.** At logical step t, Bt denotes the shared workspace, blackboard, artifact store, or other shared state maintained by the workflow. The coordination state κt records information needed to keep execution coherent, such as unfinished subtasks, blocking dependencies, conflicts, retries, confidence signals, budget usage, arbitration outcomes, and recovery status. mt collects messages, notifications, and handoff signals exchanged among participating execution units. rt collects the results, observations, evaluation signals, and errors produced by these units.
**Coordination transition.** Runtime coordination jointly updates the shared workspace and the coordination state as execution proceeds:
$$(B_{t+1}, \kappa_{t+1}) = \Phi_{\mathcal{C}}(B_t, \kappa_t, \mathbf{r}_t, \mathbf{m}_t; \mathcal{O}, \Omega).$$
Here, ΦC is the joint state transition induced by the runtime coordination mechanisms in C. The unindexed O denotes the arrangement in force for the current transition. Orchestration may revise that arrangement before the next transition. The governance context Ω constrains permissible updates, which the governance plane records for audit. The abstraction leaves the update order and implementation unspecified.
**Execution alignment.** Runtime coordination keeps each unit's local state consistent with shared workflow progress and current dependencies [1,](#page-21-4) [115](#page-28-11). A failed retrieval operation, for example, may leave one agent with incomplete context. Its effects can then appear elsewhere in the workflow: a dependent task may be delayed, or

Figure 3 Layered architecture of an agent workflow.
another branch may produce an incompatible artifact. Coordination reconciles the affected local state with the shared workflow state during continued execution or recovery.
Coordination trade-offs. Coordination costs arise when participating units exchange information or validate and integrate one another's outputs. Collaboration is most useful when the agents contribute information that is complementary rather than redundant [182]. Communication and verification can improve consistency, and integration can support recovery. These mechanisms also add latency and may create centralization bottlenecks or make responsibility harder to trace.
### 3.4 The Layered Stack and Governance
The workflow tuple $W = \langle g, \mathcal{A}, \mathcal{O}, \mathcal{C}, \mathcal{R}, \Omega \rangle$ identifies the principal constituents of an agent workflow, but these constituents do not play identical architectural roles. Accordingly, we organize them into a layered stack
$$\mathcal{S} = \langle L_0, L_1, L_2, L_3, L_4, L_5; \Omega \rangle,$$
which separates functional responsibilities while treating governance as a cross-layer plane. The purpose of this stack is not to prescribe a software implementation, but to make explicit how task intent is progressively translated into execution and how execution results propagate back through the system. Figure 3 shows the layered stack.
Layered responsibilities. Each layer answers a distinct architectural question. The access layer $L_0$ defines how a request enters the workflow and establishes the request and session boundary [105, 173]. The task layer $L_1$ specifies what the workflow is intended to achieve through the task specification g, including relevant constraints and success criteria [141]. The orchestration layer $L_2$ determines how execution is structurally organized through the orchestration structure $\mathcal{O}$ [57]. The coordination layer $L_3$ realizes and regulates this structure at runtime through $\mathcal{C}$ , synchronizing messages, shared state, and so on [46]. The agent layer $L_4$ contains the agent set $\mathcal{A}$ [173, 185]. The resource layer $L_5$ contains the external resources $\mathcal{R}$ [137]. Across all of these layers, the governance plane $\Omega$ imposes permissions, budgets, safety constraints, and audit requirements.
This layered view also clarifies why the elements of W are not analyzed at equal granularity in the preceding sections [46, 57, 140]. The coordination and agent components— $\mathcal{C}$ and $\mathcal{A}$ —form the internal execution architecture of the workflow and therefore require detailed mechanism-level analysis. By contrast, $\mathcal{O}$ , g, $\mathcal{R}$ , and $\Omega$ define the task, capability, and governance contexts within which execution proceeds. They remain essential constituents of the workflow, but their architectural roles are better understood through their interaction with the execution layers than as parallel execution mechanisms.
**Cross-layer execution flow.** The layered stack connects the functional components of an agent workflow through two complementary flows. In the top-down direction, task objectives guide orchestration, which structures the execution process and establishes the relationships among participating units [57,](#page-25-0) [141](#page-30-3). Runtime coordination then manages their interactions as agents make decisions and access external resources [46,](#page-24-6) [173](#page-31-2). In the bottomup direction, resource outputs and agent observations provide feedback for coordination, inform subsequent execution decisions, and contribute to task-level progress [142,](#page-30-4) [159,](#page-31-13) [185](#page-32-5). For example, a tool result may update an agent's local state, trigger coordination among participating units, or lead to a new execution path. Throughout this process, the governance plane Ω applies constraints and records execution across layers. Together, these interactions connect task specification, execution organization, runtime behavior, and feedback within a unified workflow architecture.
**Architectural dependencies and failure propagation.** The layered view also makes cross-layer dependencies and failure paths explicit. Failures introduced at a higher layer may propagate downward [22,](#page-22-0) [57](#page-25-0). For example, an underspecified or incorrect task at L1 may induce an inappropriate orchestration structure at L2. That structure may lead to unsuitable assignments or synchronization behavior at L3, then to incorrect agent actions at L4, and ultimately to ineffective or unsafe resource operations at L5 [30,](#page-23-9) [87](#page-26-11). Conversely, failures originating at lower layers propagate upward as feedback. A failed tool call at L5, for instance, becomes an observation at L4. It may trigger retry or repair at L3, and can eventually cause replanning at L2 or a reassessment of task progress at L1 [46,](#page-24-6) [142,](#page-30-4) [159](#page-31-13).
The governance plane Ω intersects these propagation paths rather than occupying a single stage [19](#page-22-9). It may prevent an unsafe action or restrict access before execution [63](#page-25-10). After a failure, it may record an exception or require human approval before recovery continues. The layered stack therefore serves as both a decomposition of architectural responsibilities and a view of how execution evolves across layers. It also shows where feedback and failures meet governance.
**Protocol interfaces.** Interoperability protocols may expose selected boundaries of this stack without defining the stack itself. For example, MCP primarily standardizes access between agents and external tools or data sources [104](#page-28-12), while A2A supports communication and delegation among agents across heterogeneous systems [150](#page-30-5). Such protocols therefore implement interfaces between execution components, whereas the layered stack describes the architectural responsibilities and dependencies that remain present regardless of the specific protocol used.
## **4 Frameworks**
Development frameworks and platforms provide software support for constructing and running agent workflows. This section groups 32 frameworks and platforms into four construction paradigms and assesses their capabilities against 30 criteria across 10 dimensions. The comparison examines documented support and capability combinations to inform framework selection and identify additional implementation needs.
## **4.1 Construction Paradigms**
Frameworks differ in how users define a workflow. Some rely mainly on code, others on configuration files or visual editors, and some accept a goal and generate parts of the workflow automatically. We classify each framework by the method it emphasizes most. The categories may overlap and do not rank the frameworks. Figure [4](#page-9-1) illustrates these four construction paradigms.
**Code-driven frameworks.** Users define agents, data, routes, tools, and error handling with functions, classes, APIs, callbacks, or graphs. LangGraph [73](#page-26-4), AutoGen [173](#page-31-2), and the OpenAI Agents SDK [118](#page-28-7) are representative examples. This approach gives developers detailed control but usually requires more implementation and debugging. Features written entirely in general-purpose user code are not counted as built-in framework support.
**Configuration-driven frameworks.** Users describe roles, tasks, tools, dependencies, and execution settings in YAML, JSON, schemas, or domain-specific languages. Configuration files are easy to share and version, and they reduce repeated coding. Their limits depend on the options defined by the framework, so unusual routing, communication, or recovery behavior may still require code.

Figure 4 Four construction paradigms for agent workflow frameworks.
**Low-code frameworks.** Users assemble workflows with visual canvases, nodes, templates, forms, and built-in connectors. Dify [76], Langflow [75], and n8n [106] are representative examples. These tools support rapid prototyping and common integrations, but customization and portability depend on the components and deployment options supplied by the framework.
Goal-driven frameworks. Users provide a goal, and the system decides how to divide the task, choose agents or tools, and arrange the steps. AutoGPT [143] and BabyAGI [186] are representative examples. This reduces the amount of structure users must define in advance, but the generated plan and decisions may be harder to inspect and reproduce.
These paradigms differ mainly in how much of the workflow is specified by the user. The same capability may appear as a programming interface, a configuration rule, a visual node, or a system-generated action. Frameworks in the same category can therefore provide very different capabilities. The next subsection compares those capabilities directly.
## 4.2 Capability Support
Table 3 compares the frameworks across 10 dimensions and 30 criteria. The judgments use official documentation, source code, API references, and maintained examples available at the review cutoff. Full Support means that the framework provides an official, maintained mechanism that satisfies the criterion without requiring users to implement the capability themselves. Partial Support means that the official mechanism covers only part of the criterion, is restricted or experimental, or requires several official components to be combined. No Support means that we found no official evidence that the framework supports the criterion. Unclear is used when the available evidence does not allow a reliable judgment. The ratings record whether a capability is available; they do not compare how well different frameworks implement it.
#### 4.2.1 Workflow Modeling
Workflow Modeling covers three questions: how a framework represents workflow data, whether it can change the workflow structure while a task is in progress, and whether complete workflow units can be reused.
State and Data Modeling. This criterion asks whether the framework explicitly defines the data used by a workflow and passes that data between nodes, agents, tools, or sub-workflows [54, 73]. Full Support requires built-in schemas, typed state, structured variables, message or artifact objects, or a shared workflow context. Partial Support covers basic dictionaries, message histories, or platform variables without a clear data structure or update rule. Ordinary variables in user code do not count. Saving and restoring state are assessed under State Management.
**Table 3** Capability support across representative agent workflow frameworks.
| Framework | Link | | D1 | | | D2 | | | D3 | | | D4 | | | D5 | | | D6 | | | D7 | | | D8 | | D9 | | D10 | | | |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|-----------------------------------------|-----------------------------------------|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|----------------------------------------|---------------------------------------|-----------------------------------------|-----------------------|---------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|---------------------------------------|-----------------------------------------|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|---------------|
| Dimension legend: D1: Workflow Modeling; D2: Orchestration; D3: Agent Abstraction; D4: Interaction; D5: Tool & Protocol Integration; D6: Memory & Context; D7: Security & Safety; D8: Observability & Auditability; D9: Evaluation & Testing; D10: Deployment & Production. | | State and Data Modeling | Dynamic Workflow Modeling | Modular Reusability | Control-Flow Execution | Runtime Routing and Control | Asynchronous Execution | Role and Goal Specification | Multi-Agent Composition | Agent Communication | Human Input Pause and Resume Human Override CLI Support | | CLI Support
GUI Support | | Tool Invocation | Tool Invocation MCP | | Context Management | Context Management
State Management
RAG | | Human Approval | Sandboxed Execution | Access Control | Trace Logging | Resource Monitoring | Dataset-Based Evaluation | Evaluator Node | Cross-Platform | Serving and API Integration | Open Source | |
| | | | | | | | | | ( | Code | -dri | ven | | | | | | | | | | | | | | | | | | | |
| OpenAI Agents SDK [118]
Google ADK [50]
Microsoft Semantic Kernel [103]
AutoGen [173]
LangChain [72]
LangGraph [73]
Agno [3]
CAMEL [80]
LlamaIndex [89]
Microsoft Agent Framework [101]
OpenAI Swarm [119] | Link
Link
Link
Link
Link
Link
Link
Link | · / · · · / / / / / / / / / / / / / / / | 110111010 | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | · / · / · / / / / / | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | 1101111111 | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ |
/ x x / ? /| \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | / | ✓ × ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ |
/ / / / / / / / / / / / / / / / / / /| X X X O O X X Y O X | / | × | \ \cdot \ \cdot \ \cdot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \ \dot \dot | ✓ ° × ✓ ✓ ✓ ✓ ✓ ✓ |
/ x x x / / / / x|
/ x o x ? / / x
/ / / / / / / / / / / / / / / / / / /
/ x o x ? / / x| ?
/ / / / / / / / / / / / / / / / / / /| X X X X X X X X X X X X X X | o