TL;DR
This paper introduces TaskWeave, a hierarchical multi-agent framework designed to simulate complex, long-horizon organizational dynamics using Large Language Models (LLMs). By framing organizational simulation as a memory-centered coordination problem, TaskWeave successfully maintains planning states and task dependencies over a simulated year-long corporate timeline. The framework demonstrates that structured simulation memory is crucial for preventing multi-agent systems from losing coherence over extended periods.
What Problem Does This Paper Address?
While LLM agents excel at short-term collaborative tasks or open-ended social interactions, simulating a structured organization over long horizons remains a major challenge. Organizations are not just collections of people talking; they rely on hierarchical authority, role-specific duties, strict task dependencies, and the accumulation of process artifacts over months or years.
Existing multi-agent frameworks suffer from a long-horizon organizational coherence problem. Agents might generate locally plausible actions in the short term, but they gradually lose track of role assignments, plan inheritance, and execution history over time. As a result, later decisions drift away from earlier plans and accumulated evidence, rendering the simulation unrealistic for enterprise modeling.
Methods
The authors propose TaskWeave, which models an organization using three core components:
- Organizational Prior Instantiation: Instead of treating agents as interchangeable workers, TaskWeave builds a role-structured population based on organizational metadata. Each agent receives specific personal attributes and functional role descriptions. Relationships are mapped onto an explicit delegation graph ($H$) defining valid coordination paths.
- Hierarchical Intent Propagation (FPDA Cycle): High-level goals are recursively refined across temporal levels (year $\rightarrow$ quarter $\rightarrow$ month $\rightarrow$ week) using a Formulate–Partition–Diagnose–Align (FPDA) cycle. This cycle propagates intent downward into task bundles and aggregates execution feedback upward to dynamically adjust plans.
- Dependency-Aware Operational Execution: Composite tasks are broken into atomic subtasks with explicit dependency queries. Agents resolve context from a global "result pool" (acting as traceable process memory) and external tools before executing. Tasks are dispatched to agents based on semantic role compatibility.
Datasets
The framework is evaluated primarily using a year-long simulation of a software-as-a-service (SaaS) company (Company A) featuring 15 agents across 3 hierarchical tiers and 3 departments (Technology, Marketing, and Strategy).
To test transferability, the authors introduce three additional organizational metadata configurations:
- A financial company (Fin: 15 agents, 3 tiers)
- A manufacturing plant (Manu: ~50 agents, 4 tiers)
- A government agency (Gov: ~100 agents, 5 tiers)
For downstream evaluation, they introduce Organizational Sensitive Span Detection (OSSD), a novel enterprise NLP benchmark designed to detect context-dependent, privacy-sensitive data spans and their rationales within the generated corporate artifacts.
Key Insights and Ideas
- Structure vs. Capacity: Having an organizational chart isn't enough. While the delegation topology guides the simulation, the underlying LLM's capacity determines if roles are actually utilized. Weaker models tend to over-activate a few roles and ignore others, while stronger models (like Gemini or Deepseek) achieve a balanced, realistic workload distribution.
- Intent Preservation is the Real Bottleneck: The hardest part of long-horizon simulation isn't generating a plausible list of tasks; it's preserving the original intent as plans are decomposed and delayed over time.
- The Reality of "Spillover": The paper highlights a gap between "Timely" and "Finalized" task completion, capturing how real-world organizations experience temporal spillover—tasks miss deadlines but remain recoverable in later cycles.
- Artifacts as Memory: Generated outputs shouldn't just be passive text logs. In TaskWeave, outputs serve as a structured, traceable process memory that later tasks actively query to maintain continuity.
Key Results
- Role Distribution: Stronger backbones significantly reduced KL divergence against an expert-designed reference role prior (Gemini KL = 0.144, Deepseek KL = 0.130 vs. GLM KL = 0.502).
- Plan Propagation: Under monthly evaluation, Gemini achieved an 81.92% timely completion rate and a 92.66% finalized completion rate. Weaker models failed to maintain structured plans for stable evaluation.
- Ablation Impact: Removing the status summaries and execution context from the documentation caused an empirical completion-rate drop of approximately 50%, proving that comprehensive context is vital.
- Responsiveness: When external shocks (e.g., regulatory tightening or macro economic downturns) were injected, TaskWeave agents dynamically shifted workloads (e.g., increasing strategic or compliance tasks), demonstrating realistic bidirectional environment interaction.
Limitations and Future Work
The authors note that their simulated environments are still simplified abstractions of real-world corporate entities. Future work will focus on introducing richer institutional rules, dynamic market signals, more complex communication channels, and human-in-the-loop calibration. Additionally, they plan to incorporate more standardized measures of behavioral and economic validity to better evaluate the realism of the simulations.
Summary updated