Language Agents as Optimizable Graphs
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Various human-designed prompt engineering techniques have been proposed to improve problem solvers based on Large Language Models (LLMs), yielding many disparate code bases. We unify these approaches by describing LLM-based agents as computational graphs. The nodes implement functions to process multimodal data or query LLMs, and the edges describe the information flow between operations. Graphs can be recursively combined into larger composite graphs representing hierarchies of inter-agent collaboration (where edges connect operations of different agents). Our novel automatic graph optimizers (1) refine node-level LLM prompts (node optimization) and (2) improve agent orchestration by changing graph connectivity (edge optimization). Experiments demonstrate that our framework can be used to efficiently develop, integrate, and automatically improve various LLM agents. The code can be found at https://github.com/metauto-ai/gptswarm.
Key facts. Cited by 81 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 39 of its 55 references that are in the map. First posted on arXiv 26 Feb 2024.
Builds on
39 of 55 references.
Closest ancestors · 7
Same direction, newest first
- 2023OpenAgents: An Open Platform for Language Agents in the Wild16 Oct
- 2023A Dynamic LLM-Powered Agent Network for Task-Oriented Agent Collaboration3 Oct
- 2023AutoAgents: A Framework for Automatic Agent Generation29 Sep
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey14 Sep
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors21 Aug
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework1 Aug
Other references · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
20 more
- 2023GAIA: a benchmark for General AI Assistantscited by 1,084
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2023Large Language Models as Optimizerscited by 830
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2014Deep Learning in Neural Networks: An Overviewcited by 765
- 2020Aligning AI With Shared Human Valuescited by 706
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2021D'ya like DAGs? A Survey on Structure Learning and Causal Discoverycited by 209
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 128
- 2023Mindstorms in Natural Language-Based Societies of Mindcited by 105
- 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 102
- 2023Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Modelscited by 92
- 2023Exchange-of-Thought: Enhancing Large Language Model Capabilities through Cross-Model Communicationcited by 78
- 2020Meta Learning Backpropagation And Improving Itcited by 49
- 2022A Modern Self-Referential Weight Matrix That Learns to Modify Itselfcited by 40
- 2022Eliminating Meta Optimization Through Self-Referential Meta Learningcited by 12
- 2013Hierarchical self-organization of non-cooperating individualscited by 1
Built on by
Citing papers per year: 2024: 11; 2025: 23; 2026: 47.
81 papers.
Sort:
By area:
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 235
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 222
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 108
- 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2026Self-Harness: Harnesses That Improve Themselvescited by 79
- 2025Latent Collaboration in Multi-Agent Systemscited by 67
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 62
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
38 more
- 2024Project Sid: Many-agent simulations toward AI civilizationcited by 46
- 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
- 2025Flow: Modularized Agentic Workflow Automationcited by 31
- 2025ReSo: A Reward-driven Self-organizing LLM-based Multi-Agent System for Reasoning Taskscited by 30
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 28
- 2025MAS-ZERO: Designing Multi-Agent Systems with Zero Supervisioncited by 26
- 2025OptimAI: Optimization from Natural Language Using LLM-Powered AI Agentscited by 22
- 2024REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimizationcited by 20
- 2026CooperBench: Why Coding Agents Cannot be Your Teammates Yetcited by 20
- 2025Graph World Modelcited by 14
- 2025Dynamic Generation of Multi-LLM Agents Communication Topologies with Graph Diffusion Modelscited by 11
- 2026The Five Ws of Multi-Agent Communication: Who Talks to Whom, When, What, and Why -- A Survey from MARL to Emergent Language and LLMscited by 10
- 2026GraphPlanner: Graph Memory-Augmented Agentic Routing for Multi-Agent LLMscited by 10
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 9
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 8
- 2026TeamBench: Evaluating Agent Coordination under Enforced Role Separationcited by 8
- 2026AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systemscited by 8
- 2026AutoScientists: Self-Organizing Agent Teams for Long-Running Scientific Experimentationcited by 7
- 2025Toward a Safe Internet of Agentscited by 6
- 2025SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoningcited by 5
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvementcited by 5
- 2026Mitigating Conversational Inertia in Multi-Turn Agentscited by 5
- 2026Harnessing the Collective Intelligence of AI Agents in the Wild for New Discoveriescited by 5
- 2025The Society of HiveMind: Multi-Agent Optimization of Foundation Model Swarms to Unlock the Potential of Collective Intelligencecited by 4
- 2026El Agente Gr'afico: A Semantic Execution Runtime for Scientific Agentscited by 4
- 2024Memory-Augmented Agent Training for Business Document Understandingcited by 3
- 2025Agent WARPP: Workflow Adherence via Runtime Parallel Personalizationcited by 3
- 2025Reducing Cognitive Overhead in Tool Use via Multi-Small-Agent Reinforcement Learningcited by 3
- 2025Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimizationcited by 3
- 2025LoopBench: Discovering Emergent Symmetry Breaking Strategies with LLM Swarmscited by 3
- 2026Architecting Trust in Artificial Epistemic Agentscited by 3
- 2026Swarm Skills: A Portable, Self-Evolving Multi-Agent System Specification for Coordination Engineeringcited by 3
- 2025JudgeBoard: Benchmarking and Enhancing Small Language Models for Reasoning Evaluationcited by 2
- 2026JudgeFlow: Agentic Workflow Optimization via Block Judgecited by 2
- 2026Agent Q-Mix: Selecting the Right Action for LLM Multi-Agent Systems through Reinforcement Learningcited by 2
- 2026Learning to Interrupt in Language-based Multi-agent Communicationcited by 2
- 2026Characterizing Performance-Energy Trade-offs of Large Language Models in Multi-Request Workflowscited by 2
50 most cited of 81 All 81 (JSON)
- 2026Recursive Self-Improvement through Multi-Agent Self-Supervision8 Oct 2026
- 2026Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Tasks1 Oct 2026
- 2026It Takes Workflows to Evolve Better Workflows1 Oct 2026
- 2026Pay for the Fault, Not the Flow: Label-Free In-Flow Multi-Agent Workflow Optimization1 Oct 2026
- 2026EvoSteer: Online Self-Evolving Graph Orchestration via Reference-Anchored Credit Assignment29 Sep 2026
- 2026From Solo to Social Learning: Characterizing Recursive Social Improvement in LLMs29 Sep 2026
- 2026Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning29 Sep 2026
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memory29 Sep 2026
- 2026Waggle: Learning One Anonymous Local Law for Self-Organizing LLM Swarms28 Sep 2026
- 2026Beyond Solo and Consistency: Vindicating Multi-Agent Debate via Conditional Progressive Pruning27 Sep 2026
- 2026R2 Flow: Recursive Self-Improvement via Recursive Skill Evolution27 Sep 2026
- 2026DEALS: Decentralized Expertise-Aware Load Serving for Multi-Agent LLM Systems27 Sep 2026
38 more
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Game25 Sep 2026
- 2026MACE: Memory-Agent Co-Evolution with Adaptive Memory Graphs for Multi-Agent Systems18 Sep 2026
- 2026OpenMAS-GCom. A Diagnostic Benchmark for Graph-enhanced Multi-Agent Systems18 Sep 2026
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026LG-VLN: A Zero-Shot Vision-and-Language Navigation Framework with LangGraph State Orchestration14 Sep 2026
- 2026Rethinking the Evaluation of Efficiency Methods for Multi-Agent Systems5 Sep 2026
- 2026Belief-Calibrated Optimization: An Explicit World Model for Agentic Optimization1 Sep 2026
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimization31 Aug 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps30 Aug 2026
- 2026Sigma-Mem: An Online Reliability Memory for LLM-based Multi-Agent Systems30 Jul 2026
- 2026Decision Protocols in Multi-Agent Large Language Model Conversations6 Jul 2026
- 2026Harnessing the Collective Intelligence of AI Agents in the Wild for New Discoveries9 Jun 2026
- 2026Self-Harness: Harnesses That Improve Themselves8 Jun 2026
- 2026Multi-Agent Computer Use1 Jun 2026
- 2026AutoScientists: Self-Organizing Agent Teams for Long-Running Scientific Experimentation27 May 2026
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows19 May 2026
- 2026Beyond Scaling: Agents Are Heading to the Edge18 May 2026
- 2026Swarm Skills: A Portable, Self-Evolving Multi-Agent System Specification for Coordination Engineering11 May 2026
- 2026AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systems9 May 2026
- 2026TeamBench: Evaluating Agent Coordination under Enforced Role Separation8 May 2026
- 2026GraphPlanner: Graph Memory-Augmented Agentic Routing for Multi-Agent LLMs26 Apr 2026
- 2026Learning to Communicate: Toward End-to-End Optimization of Multi-Agent Language Systems23 Apr 2026
- 2026Learning to Interrupt in Language-based Multi-agent Communication7 Apr 2026
- 2026Agent Q-Mix: Selecting the Right Action for LLM Multi-Agent Systems through Reinforcement Learning1 Apr 2026
- 2026EpochX: Building the Infrastructure for an Emergent Agent Civilization28 Mar 2026
- 2026Characterizing Performance-Energy Trade-offs of Large Language Models in Multi-Request Workflows12 Mar 2026
- 2026Architecting Trust in Artificial Epistemic Agents3 Mar 2026
- 2026El Agente Gr'afico: A Semantic Execution Runtime for Scientific Agents19 Feb 2026
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systems17 Feb 2026
- 2026The Five Ws of Multi-Agent Communication: Who Talks to Whom, When, What, and Why -- A Survey from MARL to Emergent Language and LLMs12 Feb 2026
- 2026Mitigating Conversational Inertia in Multi-Turn Agents3 Feb 2026
- 2026MonoScale: Scaling Multi-Agent System with Monotonic Improvement30 Jan 2026
- 2026CooperBench: Why Coding Agents Cannot be Your Teammates Yet19 Jan 2026
- 2026JudgeFlow: Agentic Workflow Optimization via Block Judge12 Jan 2026
- 2025LoopBench: Discovering Emergent Symmetry Breaking Strategies with LLM Swarms7 Dec 2025
- 2025Toward a Safe Internet of Agents29 Nov 2025
- 2025Latent Collaboration in Multi-Agent Systems25 Nov 2025
50 newest of 81 All 81 (JSON)
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 235
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 222
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 85
- 2026Self-Harness: Harnesses That Improve Themselvescited by 79
- 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
- 2025Flow: Modularized Agentic Workflow Automationcited by 31
- 2025MAS-ZERO: Designing Multi-Agent Systems with Zero Supervisioncited by 26
- 2025OptimAI: Optimization from Natural Language Using LLM-Powered AI Agentscited by 22
- 2026CooperBench: Why Coding Agents Cannot be Your Teammates Yetcited by 20
12 most cited of 44 All 44 (JSON)
- 2026Pay for the Fault, Not the Flow: Label-Free In-Flow Multi-Agent Workflow Optimization1 Oct 2026
- 2026EvoSteer: Online Self-Evolving Graph Orchestration via Reference-Anchored Credit Assignment29 Sep 2026
- 2026From Solo to Social Learning: Characterizing Recursive Social Improvement in LLMs29 Sep 2026
- 2026Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning29 Sep 2026
- 2026Waggle: Learning One Anonymous Local Law for Self-Organizing LLM Swarms28 Sep 2026
- 2026R2 Flow: Recursive Self-Improvement via Recursive Skill Evolution27 Sep 2026
- 2026DEALS: Decentralized Expertise-Aware Load Serving for Multi-Agent LLM Systems27 Sep 2026
- 2026MACE: Memory-Agent Co-Evolution with Adaptive Memory Graphs for Multi-Agent Systems18 Sep 2026
- 2026OpenMAS-GCom. A Diagnostic Benchmark for Graph-enhanced Multi-Agent Systems18 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026Sigma-Mem: An Online Reliability Memory for LLM-based Multi-Agent Systems30 Jul 2026
- 2026Decision Protocols in Multi-Agent Large Language Model Conversations6 Jul 2026
12 newest of 44 All 44 (JSON)
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 108
- 2025Latent Collaboration in Multi-Agent Systemscited by 67
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2025ReSo: A Reward-driven Self-organizing LLM-based Multi-Agent System for Reasoning Taskscited by 30
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 28
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systemscited by 8
- 2025SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoningcited by 5
- 2025JudgeBoard: Benchmarking and Enhancing Small Language Models for Reasoning Evaluationcited by 2
- 2025Think, Act, Learn: A Framework for Autonomous Robotic Agents using Closed-Loop Large Language Modelscited by 1
- 2026Rethinking the Evaluation of Efficiency Methods for Multi-Agent Systemscited by 1
- 2026Rethinking Multi-Agent Collaboration: When More Is Lesscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Beyond Solo and Consistency: Vindicating Multi-Agent Debate via Conditional Progressive Pruning27 Sep 2026
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026Rethinking the Evaluation of Efficiency Methods for Multi-Agent Systems5 Sep 2026
- 2026The Vision Wormhole: Latent-Space Communication in Heterogeneous Multi-Agent Systems17 Feb 2026
- 2025Latent Collaboration in Multi-Agent Systems25 Nov 2025
- 2025JudgeBoard: Benchmarking and Enhancing Small Language Models for Reasoning Evaluation20 Nov 2025
- 2025SwarmSys: Decentralized Swarm-Inspired Agents for Scalable and Adaptive Reasoning11 Oct 2025
- 2025Think, Act, Learn: A Framework for Autonomous Robotic Agents using Closed-Loop Large Language Models26 Jul 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025Learning Adaptive Parallel Reasoning with Language Models21 Apr 2025
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems12 Apr 2025
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Code10 Mar 2025
12 newest of 13 All 13 (JSON)
- 2024Project Sid: Many-agent simulations toward AI civilizationcited by 46
- 2025Graph World Modelcited by 14
- 2026Belief-Calibrated Optimization: An Explicit World Model for Agentic Optimizationcited by 1
- 2026Belief-Calibrated Optimization: An Explicit World Model for Agentic Optimization1 Sep 2026
- 2025Graph World Model14 Jul 2025
- 2024Project Sid: Many-agent simulations toward AI civilization31 Oct 2024
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 62
- 2024REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimizationcited by 20
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 9
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2026TeamBench: Evaluating Agent Coordination under Enforced Role Separationcited by 8
- 2026AutoScientists: Self-Organizing Agent Teams for Long-Running Scientific Experimentationcited by 7
- 2026Harnessing the Collective Intelligence of AI Agents in the Wild for New Discoveriescited by 5
- 2025Reducing Cognitive Overhead in Tool Use via Multi-Small-Agent Reinforcement Learningcited by 3
- 2025Beyond Relational: Semantic-Aware Multi-Modal Analytics with LLM-Native Query Optimizationcited by 3
- 2025LoopBench: Discovering Emergent Symmetry Breaking Strategies with LLM Swarmscited by 3
- 2026Swarm Skills: A Portable, Self-Evolving Multi-Agent System Specification for Coordination Engineeringcited by 3
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflowscited by 0
12 most cited of 19 All 19 (JSON)
- 2026Recursive Self-Improvement through Multi-Agent Self-Supervision8 Oct 2026
- 2026Mingbird: A Local-First Agent Harness Enabling Small Open Models to Complete Real Tasks1 Oct 2026
- 2026It Takes Workflows to Evolve Better Workflows1 Oct 2026
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memory29 Sep 2026
- 2026Communication between Frozen Large Language Models via Prompt Optimization in a Referential Game25 Sep 2026
- 2026LG-VLN: A Zero-Shot Vision-and-Language Navigation Framework with LangGraph State Orchestration14 Sep 2026
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimization31 Aug 2026
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps30 Aug 2026
- 2026Harnessing the Collective Intelligence of AI Agents in the Wild for New Discoveries9 Jun 2026
- 2026AutoScientists: Self-Organizing Agent Teams for Long-Running Scientific Experimentation27 May 2026
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows19 May 2026
- 2026Swarm Skills: A Portable, Self-Evolving Multi-Agent System Specification for Coordination Engineering11 May 2026
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Graph-of-Agents: A Graph-based Framework for Multi-Agent LLM Collaboration
- 2025Graph-Augmented Large Language Model Agents: Current Progress and Future Prospects
- 2025A Survey on the Optimization of Large Language Model-based Agents
- 2025AMAS: Adaptively Determining Communication Topology for LLM-based Multi-Agent System
- 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challenges
- 2024Input Conditioned Graph Generation for Language Agents
- 2025Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Development