SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.01935 · ACL · 2025

MultiAgentBench : Evaluating the Collaboration and Competition of LLM agents

Zhe Wang, Jiaxuan You, Cheng Qian, Heng Ji, Zhenhailong Wang, Kunlun Zhu, Xiangru Tang, Zhaochen Hong, Hongyi Du, Xiaocheng Yang, Shuyin Guo

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures of our instrument; 2 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/2503.01935.json · badge: /api/ran/2503.01935.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
multiagentbench/marble canonical (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_to_str Ran
ran on a synthesized input
multiagentbench/marble/marble/agent/base_agent.py
code served (permissive licence) · get_code("94e920fa0cbbbec1")
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 json
from typing import Any, Dict, List, Optional, Tuple, TypeVar, Union

def convert_to_str(result: Any) -> str:
    if isinstance(result, bool):
        return str(result)
    elif isinstance(result, dict):
        return json.dumps(result)
    else:
        return str(result)


# Test with different types of inputs
ARGS = {
    "result": True
}

# Additional test cases to verify the function works with all branches
test_cases = [
    {"result": True},
    {"result": False},
    {"result": {"key": "value", "nested": {"data": 123}}},
    {"result": [1, 2, 3]},
    {"result": "hello world"},
    {"result": 42},
    {"result": 3.14},
    {"result": None},
]

# Use the first test case as the main ARGS
ARGS = test_cases[0]
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 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
json_parse Ran
ran on a synthesized input
multiagentbench/marble/marble/engine/engine_planner.py
code served (permissive licence) · get_code("acc8aa07fc7c897a")
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 dict. 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 json
import re
from typing import Any, Dict, List

# Construct test inputs for json_parse function

# Test case 1: String with JSON wrapped in markdown code block
input_str_1 = """Final Output:
json
{
  "tasks": {
    "agent1": "Lead the literature review.",
    "agent2": "Contribute to brainstorming potential research ideas.",
    "agent3": "Lead the summarization of collective ideas.",
    "agent4": "Formulate a new research idea in the '5q' format.",
    "agent5": "Contribute to brainstorming potential research ideas."
  },
  "chain_of_thought": "Assign tasks based on agents' expertise and backgrounds to ensure effective collaboration and utilization of diverse skill sets.",
  "continue": true
}
"""

# Test case 2: String with bare JSON (no markdown wrapper)
input_str_2 = """Some text before
{
  "name": "test",
  "value": 42,
  "active": false
}
Some text after"""

# Test case 3: String with only JSON, no extra text
input_str_3 = '{"key": "value", "nested": {"inner": 123}}'

# Map each parameter to test values
ARGS = {
    "input_str": input_str_1
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
split_sql_statements Ran
ran on a synthesized input
multiagentbench/marble/marble/environments/db_env.py
code served (permissive licence) · get_code("6a003ab5d7ec6159")
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
from typing import Any, Dict, List

def split_sql_statements(sql: str) -> List[str]:
    statements = re.split(';\\s*\n', sql)
    return [stmt.strip() for stmt in statements if stmt.strip()]

# Construct valid arguments for split_sql_statements
# The function takes a single parameter: sql (a string)
# It splits SQL statements by semicolon followed by whitespace and newline

sql_input = """SELECT * FROM users WHERE id = 1;
SELECT * FROM orders WHERE status = 'active';
SELECT COUNT(*) FROM products;
"""

ARGS = {
    "sql": sql_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
get_metric_data_for_last_10_minutes Not yet run
unverified (harvested, no recorded run)
multiagentbench/marble/marble/environments/db_env.py
code served (permissive licence) · get_code("3083c4f3f4fef9d1")
How it ran

no invocation recorded.

get_prometheus_metric_data Not yet run
unverified (harvested, no recorded run)
multiagentbench/marble/marble/environments/db_env.py
code served (permissive licence) · get_code("67197f7aa83cc644")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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.

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

Large Language Models (LLMs) have shown remarkable capabilities as autonomous agents; yet existing benchmarks either focus on singleagent tasks or are confined to narrow domains, failing to capture the dynamics of multi-agent coordination and competition. In this paper, we introduce MultiAgentBench, a comprehensive benchmark designed to evaluate LLMbased multi-agent systems across diverse, interactive scenarios. Our framework measures not only task completion but also the quality of collaboration and competition using novel, milestone-based key performance indicators. Moreover, we evaluate various coordination protocols (including star, chain, tree, and graph topologies) and innovative strategies such as group discussion and cognitive planning. Notably, gpt-4o-mini reaches the average highest task score, graph structure performs the best among coordination protocols in the research scenario,and cognitive planning improves milestone achievement rates by 3%. Code and datasets are publicavailable at https://github.com/ulab-uiuc/MARBLE.

For agents

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

get_harvested_code_for_paper("2503.01935")
get_code_for_paper("2503.01935")
have("2503.01935")

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

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

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

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

Connect an agent — have() is free.