SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.06691 · ICML · 2025

Fleet of Agents: Coordinated Problem Solving with Large Language Models

Caglar Gulcehre, Robert West, Lars Klein, Nearchos Potamitis, Roland Aydin, Akhil Arora

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2405.06691.json · badge: /api/ran/2405.06691.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
au-clan/FoA canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
au-clan/foa canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
BatchingAPI Ran
ran on a synthesized input · constructed an object; no result was computed
au-clan/foa/async_engine/batched_api.py
code served (permissive licence) · get_code("c880e87e2a0bd246")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, BatchingAPI: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import asyncio
from collections import defaultdict


class MockAPI:
    def __init__(self):
        self.call_count = 0
        self._cost = 0
    
    async def request(self, prompt, namespaces, model=None, tab=None):
        """Mock API request that returns results for each namespace"""
        self.call_count += 1
        self._cost += len(namespaces) * 10
        # Return a list of results, one per namespace
        return [f"result_{i}" for i in range(len(namespaces))]
    
    def cost(self, actual_cost=False, tab=None, verbose=False):
        """Mock cost method"""
        return {"total_cost": self._cost, "calls": self.call_count}


class MockModel:
    """Minimal mock model that satisfies the function's usage"""
    def __init__(self):
        self.name = "test_model"


# Create instances
api = MockAPI()
batch_size = 2
model = MockModel()
tab = "default"
timeout = 30

ARGS = {
    "api": api,
    "batch_size": batch_size,
    "model": model,
    "tab": tab,
    "timeout": timeout,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BatchingAPI — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BatchingAPI output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compare_json_files Ran
ran, violated the contract we drafted
au-clan/FoA/utils.py
code served (permissive licence) · get_code("43698c933f241b5d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create temporary JSON files for testing
temp_dir = tempfile.mkdtemp()

# Create first JSON file
file_path1 = os.path.join(temp_dir, "test1.json")
with open(file_path1, 'w') as f:
    json.dump({"key": "value", "number": 42}, f)

# Create second JSON file with same content
file_path2 = os.path.join(temp_dir, "test2.json")
with open(file_path2, 'w') as f:
    json.dump({"key": "value", "number": 42}, f)

ARGS = {
    "file_path1": file_path1,
    "file_path2": file_path2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_box Ran
ran; our contract draft was wrong, not the code
au-clan/FoA/utils.py
code served (permissive licence) · get_code("878c931ae4dfbd78")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "input_string": "Hello\nWorld\nTest"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_line Ran
ran; our contract draft was wrong, not the code
au-clan/FoA/src/agents/crosswords.py
code served (permissive licence) · get_code("b82c84ffb95b7fdc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def parse_line(input_str):
    pattern = '^([hv][1-5])\\. ([a-zA-Z]{5,5}) \\((certain|high|medium|low)\\).*$'
    match = re.match(pattern, input_str)
    if match:
        parts = [match.group(1), match.group(2), match.group(3)]
        return parts
    else:
        return None

# Construct valid arguments for parse_line
# The function expects a string that matches the pattern:
# - Starts with h or v followed by 1-5
# - Followed by a period and space
# - Followed by exactly 5 alphabetic characters
# - Followed by space and one of (certain|high|medium|low) in parentheses
# - Can have anything after that

valid_input = "h1. hello (certain) some extra text"

ARGS = {
    "input_str": valid_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_response Ran
ran; our contract draft was wrong, not the code
au-clan/FoA/src/agents/crosswords.py
code served (permissive licence) · get_code("da3bdfa23d2582f6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def parse_line(input_str):
    pattern = '^([hv][1-5])\\. ([a-zA-Z]{5,5}) \\((certain|high|medium|low)\\).*$'
    match = re.match(pattern, input_str)
    if match:
        parts = [match.group(1), match.group(2), match.group(3)]
        return parts
    else:
        return None

def parse_response(response):
    confidence_to_value = {'certain': 1, 'high': 0.5, 'medium': 0.2, 'low': 0.1}
    lines = response.split('\n')
    parsed_lines = [parse_line(line) for line in lines]
    parsed_lines = [(line[0].lower() + '. ' + line[1].lower(), confidence_to_value.get(line[2], 0)) for line in parsed_lines if line is not None]
    return parsed_lines if len(parsed_lines) >= 1 else None

# Setup valid arguments
response_str = """h1. hello (certain) some extra text
v2. world (high) more content
h3. happy (medium)
v4. zebra (low) trailing info"""

ARGS = {
    'response': response_str
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
provokes_change Ran
ran, violated the contract we drafted
au-clan/FoA/src/agents/crosswords.py
code served (permissive licence) · get_code("54ff0afdb730716b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

class State:
    def __init__(self):
        # board is a list/array that can be copied and indexed with slicing
        self.board = ['_'] * 25  # 5x5 board represented as flat list
    
    def copy(self):
        new_state = State()
        new_state.board = self.board.copy()
        return new_state

# Test case 1: horizontal action that changes the board
state1 = State()
state1.board = ['_'] * 25

# Test case 2: action string with newlines and periods
action1 = "Some reasoning here\nh1. HELLO"

ARGS = {
    "state": state1,
    "action": action1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
au-clan/FoA/run/webshop.py
code served (permissive licence) · get_code("e3689507bf336a7d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import random
import numpy as np

class MockAgent:
    def __init__(self, agent_id, random_seed, values, env_sessions=None):
        self.id = agent_id
        self.random_seed = random_seed
        self.values = values
        self.env = MockEnv(sessions=env_sessions or {})
    
    def clone(self, random_seed, id):
        new_agent = MockAgent(
            agent_id=id,
            random_seed=random_seed,
            values=self.values.copy(),
            env_sessions={"session_1": "data"}
        )
        return new_agent

class MockEnv:
    def __init__(self, sessions=None):
        self.sessions = sessions or {}

# Create mock agent records: list of (agent, step) tuples
agent_records = [
    (MockAgent(agent_id=0, random_seed=42, values=np.array([1.0, 2.0, 3.5]), env_sessions={"session_1": "data"}), 0),
    (MockAgent(agent_id=1, random_seed=43, values=np.array([1.0, 2.0, 2.8]), env_sessions={"session_1": "data"}), 1),
    (MockAgent(agent_id=2, random_seed=44, values=np.array([1.0, 2.0, 4.2]), env_sessions={"session_1": "data"}), 2),
]

n = 3
agent_ids = [10, 11, 12]
current_step = 5

ARGS = {
    'agent_records': agent_records,
    'n': n,
    'agent_ids': agent_ids,
    'current_step': current_step,
    'gamma': 0.5,
    'method': 'linear'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sigmoid Ran
ran, honoured the contract we drafted
au-clan/FoA/utils.py
code served (permissive licence) · get_code("dc3fde22457a5dee")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

def sigmoid(x):
    """Sigmoid function"""
    return 1 / (1 + np.exp(-x))

# Create a small numpy array as input
x = np.array([[1.0, 2.0, -1.0], [0.5, -0.5, 1.5]])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
value_outputs_unwrap Ran
ran, honoured the contract we drafted
au-clan/FoA/src/agents/ws.py
code served (permissive licence) · get_code("fc228a4985a13303")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes a single parameter: evaluate_prompt (a string)
# It checks if various digit strings ('10', '9', '8', etc.) are in the prompt
# and returns corresponding float values

ARGS = {
    'evaluate_prompt': 'This evaluation scores 8 out of 10'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 8 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
sigmoid 51 other papers
42 dated earlier, 1 the same month, 8 later · 2 only as an assembly brick
1505.05770 (2015-05)
Variational Inference with Normalizing Flows
1804.00779 (2018-04)
Neural Autoregressive Flows
1809.10765 (2018-09)
Auto-Encoding Knockoff Generator for FDR Controlled Variable Selection
and 48 more not named here

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-23.

Repositories linked to this paper

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

Abstract

While numerous frameworks have been developed to enhance the reasoning abilities of large language models (LLMs), there is a scarcity of methods that effectively balance the trade-off between cost and quality. In this paper, we introduce FLEET OF AGENTS (FOA), a novel and intuitive yet principled framework utilizing LLMs as agents to navigate through dynamic tree searches, employing a genetic-type particle filtering approach. FOA spawns a multitude of agents, each exploring the search space autonomously, followed by a selection phase where resampling based on a heuristic value function optimizes the balance between exploration and exploitation. This mechanism enables dynamic branching, adapting the exploration strategy based on discovered solutions. We conduct extensive experiments on three benchmark tasks, "Game of 24"

For agents

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

get_harvested_code_for_paper("2405.06691")
get_code_for_paper("2405.06691")
have("2405.06691")

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

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

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

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

Connect an agent — have() is free.