SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.06153 · 2024

AgentSquare: Automatic LLM Agent Search in Modular Design Space

arXiv · PDF · Open in the Atlas

Code that ran

None of the 4 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.06153.json · badge: /api/ran/2410.06153.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
tsinghua-fib-lab/agentsquare canonical (classifier label)
classifier basis: census
0 ran · 4 no recorded run
FunctionStatusWhere it lives
get_prompt_memory Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/agentsquare/module_evolution/prompt_memory.py
pointer only (licence: NONE); the stored copy get_code serves, from tsinghua-fib-lab/AgentSquare, is pointer only (licence: NONE) · get_code("b6ee8ce4f463d87e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/agentsquare when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_prompt_planning Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/agentsquare/module_evolution/prompt_planning.py
pointer only (licence: NONE); the stored copy get_code serves, from tsinghua-fib-lab/AgentSquare, is pointer only (licence: NONE) · get_code("536bd0213afd6b66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/agentsquare when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_prompt_reasoning Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/agentsquare/module_evolution/prompt_reasoning.py
pointer only (licence: NONE); the stored copy get_code serves, from tsinghua-fib-lab/AgentSquare, is pointer only (licence: NONE) · get_code("72a558fbb675cc91")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/agentsquare when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_prompt_tooluse Not yet run
unverified (harvested, no recorded run)
tsinghua-fib-lab/agentsquare/module_evolution/prompt_tooluse.py
pointer only (licence: NONE); the stored copy get_code serves, from tsinghua-fib-lab/AgentSquare, is pointer only (licence: NONE) · get_code("e56531059f4368b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, tsinghua-fib-lab/agentsquare when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_prompt_memory 1 other paper
1 later
2605.09907 (2026-05)
RADAR: Redundancy-Aware Diffusion for Multi-Agent Communication Structure Generation
get_prompt_planning 1 other paper
1 later
2605.09907 (2026-05)
RADAR: Redundancy-Aware Diffusion for Multi-Agent Communication Structure Generation
get_prompt_reasoning 1 other paper
1 later
2605.09907 (2026-05)
RADAR: Redundancy-Aware Diffusion for Multi-Agent Communication Structure Generation
get_prompt_tooluse 1 other paper
1 later
2605.09907 (2026-05)
RADAR: Redundancy-Aware Diffusion for Multi-Agent Communication Structure Generation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advancements in Large Language Models (LLMs) have led to a rapid growth of agentic systems capable of handling a wide range of complex tasks. However, current research largely relies on manual, task-specific design, limiting their adaptability to novel tasks. In this paper, we introduce a new research problem: Modularized LLM Agent Search (MoLAS). We propose a modular design space that abstracts existing LLM agent designs into four fundamental modules with uniform IO interface: Planning, Reasoning, Tool Use, and Memory. Building on this design space, we present a novel LLM agent search framework called AgentSquare, which introduces two core mechanisms, i.e., module evolution and recombination, to efficiently search for optimized LLM agents. To further accelerate the process, we design a performance predictor that uses in-context surrogate models to skip unpromising agent designs. Extensive experiments across six benchmarks, covering the diverse scenarios of web, embodied, tool use and game applications, show that AgentSquare substantially outperforms hand-crafted agents, achieving an average performance gain of 17.2% against best-known human designs. Moreover, AgentSquare can generate interpretable design insights, enabling a deeper understanding of agentic architecture and its impact on task performance. We believe that the modular design space and AgentSquare search framework offer a platform for fully exploiting the potential of prior successful designs and consolidating the collective efforts of research community. Code repo is available at https://github.com/tsinghua-fib-lab/AgentSquare.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.06153")
get_code_for_paper("2410.06153")
have("2410.06153")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.06153.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.06153.svg)](https://syntology.ai/paper/2410.06153)

Connect an agent — have() is free.