1. Introduction
The rapid advancement of Large Language Models (LLMs) has reshaped the landscape of artificial intelligence, demonstrating unprecedented capabilities in natural-language understanding, reasoning, and generation [
1,
2,
3]. These models, particularly after instruction tuning and alignment, have exhibited remarkable proficiency in tasks ranging from open-ended text completion to multi-step logical reasoning, opening new avenues for intelligent system design. In parallel, Multi-Agent Systems (MASs) have gained significant traction as a distributed problem-solving paradigm that leverages the collective intelligence of multiple specialized entities [
4,
5,
6,
7,
8,
9,
10]. The convergence of these two paradigms, LLM-based Multi-Agent Systems, has become a promising frontier in AI research, with the potential to address increasingly complex and dynamic challenges across software engineering [
11,
12], computer networks [
13,
14], embodied decision making [
15,
16], long-horizon reasoning [
17,
18], and potentially in a scalable and decentralized manner [
19].
Despite this momentum, contemporary LLM-based MAS implementations expose a fundamental tension between agent autonomy and system-level efficiency. As the scale and complexity of multi-agent workloads grow, three structural limitations become increasingly apparent.
First, the dominant execution pattern remains sequential or loosely coupled chain-of-thought orchestration [
20], where agents operate one after another even when logical dependencies permit concurrency.
Second, current systems lack a principled mechanism to continuously decompose a user-level task into a dependency graph whose granularity and shape adapt as new information arrives.
Third, context propagation among agents is typically achieved through monolithic conversation histories, which induces quadratic growth in token consumption and creates severe bottlenecks for both inference latency and resource utilization [
21,
22].
As task complexity escalates, these limitations compound. Decomposition becomes increasingly intricate, requiring more sophisticated mechanisms to break down complex problems while maintaining logical coherence. Parallel processing capabilities of existing systems are often underutilized, leading to inefficiencies in resource allocation and execution time. Cross-agent context management becomes exponentially more challenging as the number of interactions and the volume of shared information grow. Surveys of the emerging LLM-MAS landscape [
9,
10,
23] confirm that a unified runtime abstraction for
dynamic task orchestration remains an open problem.
To address these limitations, we propose DynTaskMAS, a Dynamic Task Graph-Driven Framework for Asynchronous and Parallel LLM-based Multi-Agent Systems. By promoting the dynamic task graph to a first-class runtime abstraction, DynTaskMAS enables flexible task decomposition and efficient parallel execution, effectively overcoming the limitations of static pipelines. The key contributions of this work are as follows:
We formulate dynamic task orchestration for LLM-based MASs as a runtime dependency-graph problem, in which complex language tasks are decomposed into a directed acyclic graph whose edges carry both an estimated computational cost and a semantic context-transfer cost.
We design an asynchronous parallel execution engine that schedules ready vertices of this graph across a pool of LLM-based agents without centralized bottlenecks, and we analyze the conditions under which the resulting dispatch policy preserves task dependencies while improving GPU utilization.
We introduce a semantic-aware context management mechanism that distributes context updates only to agents whose current subtask is semantically related, thereby avoiding the quadratic cost of broadcasting full conversation histories.
We provide detailed experimental results against a sequential baseline: 21.3–33.0% reduction in execution time across task complexities, a relative 35.4% improvement in GPU resource utilization (from 65% to 88%), and a 3.47× throughput improvement when scaling from 4 to 16 concurrent agents (i.e., a 4× increase in agent count). We further report an ablation study that isolates the contribution of each architectural component.
Building upon our prior work [
24], we further contribute: (i) A new
Preliminaries section (
Section 3) introduces the dynamic task graph, the multi-agent execution model, and the scheduling problem as formal objects, none of which appeared in the conference version. (ii) The related work is broadened from a single paragraph to four thematic subsections (
Section 2.1,
Section 2.2,
Section 2.3 and
Section 2.4) and now covers serving systems, dependency-aware agent graphs, and the context-management literature. (iii) Each component (DTGG, APEE, SACMS, AWM) is restated with additional definitions, weight-positivity and priority well-definedness propositions (Propositions 1 and 2), and termination conditions for reflection cycles. (iv) A new ablation study (
Section 5.4) quantifies the marginal contribution of each component. (v) The discussion section is rewritten to include practical implications, an explicit treatment of inference latency, token consumption, and KV-cache behaviour (
Section 6.2), threats to validity, and a roadmap for multi-GPU and multi-domain extensions.
The remainder of the paper is organized as follows.
Section 2 reviews related work on LLM planning, Multi-Agent Systems, and parallel task scheduling.
Section 3 introduces the formal preliminaries of our framework.
Section 4 describes the DynTaskMAS architecture and its four components.
Section 5 presents the experimental evaluation, including ablation analysis.
Section 6 discusses implications and limitations.
Section 7 concludes the paper.
4. The DynTaskMAS Framework
DynTaskMAS is a novel framework designed to enhance the efficiency and adaptability of LLM-based Multi-Agent Systems in handling complex, dynamic tasks. Its architecture, depicted in
Figure 1, comprises four primary components that work in concert to achieve flexible task management and optimized resource utilization.
Dynamic Task Graph Generator (DTGG). This component analyzes incoming tasks and automatically constructs a directed acyclic graph representing subtasks and their interdependencies. The DTGG continuously updates the graph as new information becomes available or task requirements change, ensuring adaptability to dynamic environments. In what follows, the four acronyms introduced here (DTGG, APEE, SACMS, AWM) are used exclusively; their full forms are not repeated.
Asynchronous Parallel Execution Engine (APEE). The APEE orchestrates the concurrent execution of subtasks across multiple LLM-based agents. It employs priority-based scheduling algorithms to maximize parallelism while respecting the task dependencies defined in the dynamic task graph.
Semantic-Aware Context Management System (SACMS). This subsystem facilitates efficient information sharing among agents by maintaining a hierarchical, distributed context repository. The SACMS employs semantic analysis to determine the relevance of information, ensuring that agents have access to pertinent data without unnecessary overhead.
Adaptive Workflow Manager (AWM). The AWM oversees the overall execution process, dynamically adjusting workflows based on real-time performance metrics and environmental changes. It interfaces with all other components to optimize system behavior and resource allocation.
Once introduced above, the acronyms DTGG, APEE, SACMS, and AWM are used exclusively in the remainder of the paper.
These components interact through a central coordination mechanism that ensures coherent system operation. The modular design of DynTaskMAS enables scalability and easy integration of additional agents or task types, making it adaptable to various application domains. We now describe each component in detail.
4.1. Dynamic Task Graph Generator
The Dynamic Task Graph Generator is a crucial component of DynTaskMAS, responsible for decomposing complex tasks into manageable subtasks and representing their dependencies as a DAG. The DTGG continuously updates this graph based on new information and changing task requirements [
32,
33].
Graph Structural Composition. Let
be the set of top-level tasks in the system. The dynamic task graph
G at a given instant is defined as
where
is the set of vertices representing subtasks,
is the set of edges representing dependencies, and
is a weight function (cf. Definition 1).
The DTGG employs a recursive decomposition algorithm to break down complex tasks. For each task
, we define a decomposition function
D:
where each
is a subtask of
. The decomposition continues until a predefined granularity level, determined by an
predicate, is reached.
Edge Weight Calculation. The weight of an edge
is calculated based on the estimated computational complexity and data dependency between subtasks:
where
denotes the estimated computational complexity of subtask
,
represents the context-transfer time managed by SACMS from
to
, and
are balancing coefficients.
For optimal parameter selection, we recommend
, where
is the average computation time per complexity unit, and
, where
is the average context-transfer time per unit of information. This normalization ensures that both computational complexity and context-transfer time contribute proportionally to the edge weight, enabling more accurate task-scheduling decisions. The ratio
should be adjusted based on the system’s relative speeds of computation versus context transfer, typically ranging from
to
depending on the specific hardware configuration and network conditions. In all experiments reported in
Section 5, we instantiate
and
from a one-shot offline profiling run on the target hardware (Llama-3.1-8B served by TensorRT-LLM 0.7.1 on a single RTX 3090), which yields
ms per complexity unit and
ms per unit of transferred context; the resulting ratio
is then held fixed throughout. A sensitivity sweep over
on the Medium workload changes the reported execution time by less than
, indicating that DynTaskMAS is not brittle to this choice.
Proposition 1 (Weight Positivity and Monotonicity). For any edge and parameters , the weight function W is strictly positive. Moreover, is monotonically non-decreasing in both and .
Proof. The statement follows directly from the definition of W as a positive linear combination of non-negative estimators C and I with strictly positive coefficients . □
Control of Cyclic Dependencies. To manage the complexity of reflection cycles in the DTGG, it is essential to distinguish between true cyclic dependencies and apparent cyclic structures. In LLM-based MASs, where each prompt functions as an agent, genuine cyclic dependencies primarily manifest in reflection processes [
25], where an agent evaluates and refines its own output. Other apparent cycles, such as iterative refinement or progressive enhancement, are essentially linear task sequences with clear hierarchical dependencies.
To prevent infinite loops or excessive processing in reflection cycles, we implement a maximum iteration threshold N (typically ). The reflection terminates when any of the following occurs:
The quality assessment meets the predetermined threshold;
The number of reflection cycles reaches N;
The improvement between successive iterations falls below a minimum threshold .
Formally, the termination predicate can be expressed as
where
is the quality score at iteration
k and
is the target quality. This approach ensures system stability while maintaining output quality through controlled self-improvement.
Dynamic Update Mechanism. The DTGG continuously updates the task graph based on new information and task progress. Let
be the graph at time
t and
be the set of changes at time
t. The update function
U is defined as
The pseudocode of the main DTGG algorithm is provided in Algorithm 1. The DTGG receives complex tasks and updates from the system’s input layer. Its output, a continuously updated task graph, serves as the foundation for efficient task distribution and execution in DynTaskMAS. The ability to dynamically adjust to changing conditions ensures the system’s adaptability in complex, evolving environments.
| Algorithm 1 Dynamic Task Graph Generator. |
- 1:
function UpdateTaskGraph() - 2:
for each in do - 3:
DecomposeTask(ti) - 4:
- 5:
for each in where do - 6:
- 7:
CalcWeight(sij, sjk) - 8:
for each change in do - 9:
ApplyChange(G,δ) - 10:
return G - 11:
function DecomposeTask(t) - 12:
if IsAtomicTask(t) then - 13:
return - 14:
else - 15:
- 16:
for each subtask s of t do - 17:
DecomposeTask(s) - 18:
return S - 19:
function CalcWeight() - 20:
EstimateComplexity(vj) - 21:
EstimateInformationTransfer(vj) - 22:
return
|
4.2. Asynchronous Parallel Execution Engine
The Asynchronous Parallel Execution Engine is responsible for efficiently scheduling and executing tasks across multiple LLM-based agents. It leverages the dynamic task graph generated by the DTGG to maximize parallelism while respecting task dependencies. The APEE consists of five sub-components: Task Scheduler, Execution Queue Manager, Agent Pool Manager, Load Balancer, and Asynchronous Communication Handler.
Task Scheduler. The Task Scheduler determines the execution order of tasks based on the dynamic task graph. Let
be the current task graph. For each task
we define a priority
as
where
is the estimated computational complexity of task
,
is the set of immediate successors, and
is the weight of the edge
. For exit vertices with
, we define
.
Proposition 2 (Well-Definedness).
For any DAG with positive weights, the priority function in Equation (6) is well-defined and can be computed in time by a reverse topological traversal.
Proof. Acyclicity guarantees that a reverse topological order exists. Each depends only on successors, and hence on vertices processed earlier in this order, yielding a well-defined recursion with linear-time evaluation. □
| Algorithm 2 Execution Queue Manager. |
- 1:
function UpdateExecutionQueue() - 2:
▹ Ready tasks - 3:
for each do - 4:
CalcPriority(v,G) - 5:
Q.Enqueue(v, priority) - 6:
return Q - 7:
function CalcPriority() - 8:
if then - 9:
return - 10:
else - 11:
return
|
Agent Pool Manager and Load Balancer. The Agent Pool Manager and Load Balancer work together to efficiently manage and distribute tasks among LLM-based agents. The Agent Pool Manager oversees the pool of available agents, tracking their status, capabilities, and workload. The Load Balancer ensures optimal task distribution based on task priorities, agent capabilities, and current system load. Together, they coordinate task allocation to the most suitable agents, maintaining efficient system performance.
Asynchronous Communication Handler. The Asynchronous Communication Handler manages non-blocking communication between the APEE and the LLM-based agents. It uses an event-driven architecture, task completion notifications, agent availability updates, and task failure reports, to handle task assignments, status updates, and result collection while ensuring high throughput and responsiveness. By leveraging the dynamic task graph and sophisticated scheduling and load-balancing algorithms [
33], the APEE enables DynTaskMAS to achieve high levels of parallelism and efficiency in executing complex, interdependent tasks across multiple LLM-based agents while relying on state-of-the-art serving stacks such as TensorRT-LLM [
35] and PagedAttention [
22] for the underlying inference layer.
4.3. Semantic-Aware Context Management System
The SACMS is designed to efficiently manage and distribute contextual information among LLM-based agents.
Figure 2 depicts its architecture and key algorithms. By leveraging semantic analysis, a distributed repository, and adaptive mechanisms, the SACMS enables agents to access and utilize contextual information effectively without incurring the quadratic communication cost of monolithic chat histories [
21,
36].
| Algorithm 3 Context Distribution. |
- 1:
function DistributeContext(update,agents) - 2:
▹ Relevant agents set - 3:
ExtracTsemanTictags(update) - 4:
for each do - 5:
GetTags(agent) - 6:
if JaccardSim(tags,agentTags)
then - 7:
- 8:
for each do - 9:
SendUpdate(agent,update)
|
Query Processor. The Query Processor handles context-retrieval requests from agents, using semantic matching to return the most relevant information. Given a query
q, we extract its semantic representation
. Relevance at retrieval time is assessed by the cosine similarity
between dense vector representations:
where
and
are vector representations of the node’s and query’s semantics, respectively. The two scores
and
thus play distinct, non-overlapping roles:
is a fast tag-overlap filter applied to every (update, agent) pair, whereas
is a more accurate embedding-based score evaluated only for retrieval queries. The final set of results
R is obtained by applying an access-control filter:
where
is a relevance threshold and
N is the set of all context nodes. This dual-constraint mechanism ensures both relevance optimization and security compliance in result generation.
Update Handler. The Update Handler manages the process of integrating new or updated context information into the repository, using a two-phase commit protocol to maintain context consistency. The update process for a node
n with new data
d is defined as
After each update, the semantic index is refreshed as
, where
I is the current semantic index and
I′ is the updated index. This operation maintains the system’s ACID properties [
39] (Atomicity, Consistency, Isolation, and Durability) while minimizing query latency. By leveraging the semantic analysis capabilities of LLMs, the SACMS enables agents to access and utilize contextual information effectively, enhancing the overall performance and adaptability of the system.
4.4. Adaptive Workflow Manager
The Adaptive Workflow Manager is responsible for dynamically adjusting workflows based on real-time performance metrics and environmental changes. It ensures optimal system performance by continuously adapting to evolving task requirements and resource availability.
The Performance Monitor implements continuous system-wide metric tracking through a vector encompassing critical operational parameters, including throughput, latency, agent utilization rates, and task completion metrics. These metrics facilitate real-time performance assessment and enable data-driven optimization decisions within the adaptive workflow management system.
Workflow Optimization Objective. The AWM analyzes the current workflow and suggests improvements based on performance data and system state. The optimization objective can be formally stated as
where
is a workflow configuration,
is the set of all admissible configurations, and
f is an objective function that evaluates workflow performance based on metrics
.
The workflow-optimization algorithm employs an iterative approach to identify the optimal configuration based on current performance metrics. The algorithm generates potential workflow candidates through the GenerateCandidates function, which produces variations of the current workflow that adhere to system constraints. Each candidate is evaluated using the objective function
f on the current system metrics. The algorithm maintains and updates the best-performing configuration through successive comparisons (Algorithm 4).
| Algorithm 4 Workflow Optimization. |
- 1:
function OptimizeWorkflow(currentWorkflow,) - 2:
GeneraTecandidates(currentWorkflow) - 3:
- 4:
- 5:
for do - 6:
- 7:
if then - 8:
- 9:
- 10:
return
|
Resource Allocation. The resource-allocation mechanism integrates seamlessly with workflow optimization through a greedy allocation strategy that prioritizes immediate system efficiency. Building upon the optimized workflow configurations, the Resource Allocator employs a dynamic adjustment model:
where
is the resource allocation at time
t and
is the adjustment made on the basis of current performance and predicted future demands. The allocation strategy aims to balance load across agents while prioritizing critical tasks:
where
is the priority weight of agent
, and
is its current load. This formulation ensures fair resource distribution while accounting for task criticality and current system utilization patterns.
The system employs a straightforward greedy policy for continuous optimization, where resource-allocation decisions are made based on immediate performance metrics and current workflow state . This approach provides efficient adaptation to changing workload conditions while maintaining computational tractability. The state vector captures the essential system parameters required for informed decision making, enabling rapid response to varying task demands and resource availability.
The AWM maintains seamless integration with the other DynTaskMAS components, receiving task graph updates, communicating with the execution engine, and leveraging contextual information to make informed adaptations. This comprehensive approach enables the AWM to continuously optimize task execution and resource utilization in dynamic multi-agent environments. Together, the DTGG, APEE, SACMS, and AWM enable DynTaskMAS to efficiently handle complex, dynamic tasks while adapting to changing conditions and maintaining context awareness. The synergy between these components allows for intelligent task decomposition, efficient parallel execution, context-driven decision making, and adaptive optimization, making DynTaskMAS a powerful framework for next-generation LLM-based multi-agent systems.
4.5. Implementation
To make the connection between the formal objects of
Section 3 and the implemented runtime explicit,
Table 2 summarizes how each mathematical artifact is realized in code, and
Table 3 lists the hyperparameters that govern its behaviour together with the values used in our experiments. The dependency DAG
(Definition 1) is materialized as an in-memory adjacency structure that the DTGG amends through the graph update operator
U (Definition 3); the ready set
(Definition 2) is maintained incrementally so that the APEE need not rescan the entire graph at every dispatch step. The priority
of Equation (
6) is evaluated by a reverse topological pass that the Execution Queue Manager triggers whenever the graph is amended, exactly matching the construction in Proposition 2. The two similarity scores of
Section 4.3 are also separated in code:
is implemented as a constant-time tag-set intersection over hashed tag identifiers and is called by the Context Distribution Manager for every (update, agent) pair, while
is computed against an approximate-nearest-neighbour index and is invoked only by the Query Processor.
This explicit table format addresses the request for tighter coupling between the formal model and the running system and also makes the role of each hyperparameter visible in a single place.
5. Experiments
We conducted comprehensive evaluations of DynTaskMAS using TensorRT-LLM [
35] deployed on NVIDIA RTX 3090 GPUs. All experiments employed Llama-3.1-8B [
40,
41] as the foundation model for all agents.
5.1. Experimental Setup
The experiments were conducted on a cluster equipped with four NVIDIA RTX 3090 GPUs (24 GB VRAM each), an AMD EPYC 7763 64-core processor, and 512 GB of DDR4 memory. The software stack included Ubuntu 22.04 LTS, CUDA 12.1, and TensorRT-LLM 0.7.1. The TensorRT-LLM version is pinned to the release that was current at the time of the experiments to ensure full reproducibility of the reported numbers; the framework itself is independent of the serving backend and we have additionally verified that the orchestration layer compiles and runs unchanged against more recent TensorRT-LLM releases as well as against vLLM [
22] as an alternative backend. For all experiments we employed INT8 quantization with a batch size of 32 and a sequence length of 2048. Unless otherwise noted, each experiment was repeated five times and we report the mean values with standard deviations. Task complexity levels were defined by the number of resulting subtasks:
Simple (5–10),
Medium (20–30), and
Complex (50+).
Reporting conventions. Throughout this section,
resource utilization is reported as the time-averaged GPU SM occupancy measured by
nvidia-smi dmon over the active phase of each run, normalized to the per-GPU peak.
Latency refers to end-to-end wall-clock time from task submission to completion, and
throughput is the number of completed top-level tasks per second under steady-state load. The same measurement procedure is applied uniformly to all configurations, including the sequential baseline and the ablation variants of
Section 5.4.
Baseline scope. The primary baseline against which we report quantitative numbers is a sequential (single-agent, serial) execution of the same task decomposition. We deliberately did not run head-to-head benchmarks against AutoGen [
27], MetaGPT [
26], AgentScope [
6], or GPTSwarm [
29]: those systems target different design goals (conversational orchestration, role-playing pipelines, application platforms, optimizable swarm graphs) and operate at different abstraction layers, which makes a like-for-like comparison difficult to interpret. Instead,
Section 2.5 provides a structured qualitative comparison along orthogonal axes (task representation, concurrency model, context management, backend coupling), and the ablation in
Section 5.4 isolates the contribution of each DynTaskMAS component against an internal sequential baseline.
5.2. Performance Evaluation
Execution Time Analysis. To conduct an in-depth analysis, we evaluated the system’s performance across three task complexity levels.
Table 4 presents the comparative analysis between traditional (sequential) processing and DynTaskMAS.
Table 4 demonstrates the performance advantages of DynTaskMAS across different task complexity levels. For simple tasks (5–10 subtasks), DynTaskMAS achieves a 21.3% reduction in execution time, decreasing from 4.7 s to 3.7 s. The improvement becomes more pronounced as task complexity increases, reaching 27.6% for Medium-complexity tasks (20–30 subtasks) and 33.0% for complex tasks (50+ subtasks).
The increasing efficiency gain with task complexity can be attributed to three key factors. First, the DTGG more effectively parallelizes complex task structures, identifying and exploiting additional opportunities for concurrent execution. Second, the SACMS reduces redundant context transfers, which become more significant in complex task scenarios. Third, the APEE maintains higher GPU utilization through intelligent task scheduling, particularly when managing numerous interdependent subtasks. The standard deviations (±0.2–0.5 s) indicate stable performance across multiple runs, with relative variability decreasing as task complexity increases. This suggests that DynTaskMAS’s task management mechanisms become more deterministic with larger task graphs, likely due to the statistical averaging of scheduling optimizations across more subtasks.
Scalability Analysis. The scalability of DynTaskMAS was evaluated by varying the number of concurrent agents.
Table 5 presents the throughput and latency measurements.
The scalability results reveal several important characteristics of DynTaskMAS’s performance under varying agent loads. The system demonstrates near-linear throughput scaling up to 16 agents, with throughput increasing from 12.3 tasks/s with 4 agents to 42.7 tasks/s with 16 agents (a improvement when the agent count is scaled from 4 to 16, i.e., a increase). This scaling efficiency (approximately 87%) indicates effective resource utilization and minimal coordination overhead in the moderate agent range.
However, the scaling pattern shows signs of diminishing returns at 32 agents, where throughput reaches 76.4 tasks/s (6.21× improvement for an 8× increase in agents). This sub-linear scaling can be attributed to two primary factors. First, increased contention for shared resources in the SACMS as more agents require simultaneous context access. Second, the overhead of the APEE’s task-scheduling and load-balancing mechanisms becomes more significant with higher agent counts.
5.3. Case Study: Travel Planning
To further explore the efficiency of the DynTaskMAS framework, we conducted a comparative experiment, as illustrated in
Figure 3. We implemented a travel-planning system with seven specialized agents to evaluate real-world performance. Each agent focused on a distinct task within the travel-planning process: user preference analysis, destination recommendation, transportation planning, accommodation coordination, attraction scheduling, culinary expertise, and itinerary synthesis.
Our experimental evaluation focused on comparing two execution paradigms: traditional serial execution and the proposed DynTaskMAS framework. The implementation leveraged INT8 quantization and continuous batching techniques, with parameters empirically set to maximize throughput while maintaining inference quality (batch size
, sequence length
).
Table 6 presents the comparative analysis.
The results demonstrate that DynTaskMAS achieves a 21% reduction in overall execution time compared to serial processing, decreasing from 4.7 s to 3.7 s. This improvement can be attributed to three factors: efficient parallel execution of independent tasks, optimized memory utilization through dynamic management, and streamlined context sharing between agents. GPU utilization metrics show a 35.4% relative increase under the DynTaskMAS framework, indicating more effective resource allocation. These findings suggest that the proposed framework significantly enhances the performance of LLM-based Multi-Agent Systems through intelligent task orchestration and resource management while maintaining the quality of agent interactions and outputs.
5.4. Ablation Study
To isolate the contribution of each of the four DynTaskMAS components, we performed an ablation study on the
Medium task workload of
Table 4, starting from the full framework and disabling one component at a time. When the DTGG is disabled, a fixed linear decomposition is used. When APEE is disabled, ready tasks are executed one at a time in FIFO order. When the SACMS is disabled, agents exchange the full conversation history. When the AWM is disabled, scheduling priorities and resource allocations are frozen at their initial values.
Table 7 reports the resulting execution time and GPU utilization.
The DTGG contributes the largest share of the overall improvement: removing it reverts the workload to a largely sequential shape, increasing execution time by 32%. The APEE and SACMS contribute 21% and 14% respectively, while the AWM yields the smallest marginal gain (8%), consistent with its role as a fine-tuner rather than a primary driver of parallelism. The four components thus play complementary roles, and each is necessary to reach the reported 27.6% improvement on the Medium workload.
7. Conclusions
This paper presented DynTaskMAS, a dynamic task graph-driven framework that addresses key architectural challenges in LLM-based Multi-Agent Systems through intelligent resource orchestration and parallel execution. The framework’s innovative architecture, integrating dynamic task graph generation with asynchronous parallel execution, enables efficient distribution of computational resources across multiple agents while maintaining task coherence. Through the Semantic-Aware Context Management System and the Adaptive Workflow Manager, DynTaskMAS achieves optimal resource utilization by minimizing computational redundancy and maximizing parallel processing opportunities.
Extending our preliminary conference study [
24], this journal version contributes a formal problem statement (
Section 3), a broader and up-to-date review of related work, refined mathematical treatment of each component, and an ablation study that quantifies the marginal contribution of each module. Our experimental results demonstrate the framework’s effectiveness across multiple dimensions: execution-time improvements ranging from 21.3% for simple tasks to 33.0% for complex tasks, a 35.4% relative increase in resource utilization (from 65% to 88%), and efficient scaling with throughput improvements of 3.47× for 16 concurrent agents. The successful implementation of DynTaskMAS establishes a systematic approach for building scalable, high-performance LLM-based Multi-Agent Systems that effectively balance resource optimization with task coordination, and lays the groundwork for future research on graph-structured, runtime-optimized agent ensembles.