SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.27621 · 2026

Agents that Matter: Optimizing Multi-Agent LLMs via Removal-Based Attribution

Su-In Lee, Chris Lin, Mingyu Lu, Yushan Huang

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 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2605.27621.json · badge: /api/ran/2605.27621.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
ybkim95/agent-scaling canonical (classifier label)
classifier basis: census
3 ran · 2 no recorded run
FunctionStatusWhere it lives
serialize Ran
ran; our contract draft was wrong, not the code
ybkim95/agent-scaling/agent_scaling/logger.py
code served (permissive licence) · get_code("5bce9e2e8490b090")
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 collections import OrderedDict
from enum import Enum
from unittest.mock import Mock
from datetime import datetime

# Define a level enum similar to logging.Level
class LogLevel(Enum):
    INFO = "INFO"
    DEBUG = "DEBUG"
    ERROR = "ERROR"

# Create a mock file object with required attributes
mock_file = Mock()
mock_file.name = "test.py"
mock_file.path = "/path/to/test.py"

# Construct the record dictionary with all required keys
record = {
    'level': LogLevel.INFO,
    'message': 'This is a test log message',
    'time': datetime(2024, 1, 15, 10, 30, 45, 123456),
    'file': mock_file,
    'function': 'test_function',
    'line': 42,
    'extra': {'user_id': 123, 'request_id': 'abc-def-ghi'}
}

ARGS = {
    'record': record
}
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
serialize_extras Ran
ran; our contract draft was wrong, not the code
ybkim95/agent-scaling/agent_scaling/logger.py
code served (permissive licence) · get_code("0cc78509b6792f51")
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
import torch

torch.manual_seed(0)

# The function expects a dict with an 'extra' key that can be JSON serialized
record = {
    'extra': {
        'model_name': 'test_model',
        'accuracy': 0.95,
        'loss': 0.05,
        'metadata': ['item1', 'item2'],
        'config': {'lr': 0.001, 'epochs': 10}
    }
}

ARGS = {
    'record': record
}
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
write_yaml_str Ran
ran; our contract draft was wrong, not the code
ybkim95/agent-scaling/agent_scaling/logger.py
code served (permissive licence) · get_code("6b905948492d419d")
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 yaml

ARGS = {
    "data": {
        "name": "test_model",
        "version": 1,
        "learning_rate": 0.001234567,
        "loss": 0.987654321,
        "description": "This is a multiline\ndescription that spans\nmultiple lines",
        "nested": {
            "accuracy": 0.95555,
            "f1_score": 0.87123
        },
        "layers": [1, 2, 3],
        "enabled": True
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — 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
is_registered Not yet run
unverified (harvested, no recorded run)
ybkim95/agent-scaling/agent_scaling/agents/registry.py
code served (permissive licence) · get_code("580a73b1b0afa705")
How it ran

no invocation recorded.

register_agent Not yet run
unverified (harvested, no recorded run)
ybkim95/agent-scaling/agent_scaling/agents/registry.py
code served (permissive licence) · get_code("5d4f251c0080a0ac")
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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 3 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
serialize 2 other papers
2 dated earlier
2024.findings-emnlp.815 (2024 (year only))
BLADE: Benchmarking Language Model Agents for Data-Driven Science
2506.08249 (2025-06)
RADAR: Benchmarking Language Models on Imperfect Tabular Data
serialize_extras 2 other papers
2 dated earlier
2024.findings-emnlp.815 (2024 (year only))
BLADE: Benchmarking Language Model Agents for Data-Driven Science
2506.08249 (2025-06)
RADAR: Benchmarking Language Models on Imperfect Tabular Data

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

Repositories linked to this paper

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

Abstract

As multi-agent systems (MAS) become increasingly complex, identifying the contributions of individual agents is critical for system optimization. However, existing approaches lack a rigorous, unified framework for credit assignment. In this work, we formalize agent attribution as a cooperative game, parameterized by the coalition distribution, removal protocol, and target metric. Using this framework, we show that Leave-One-Out (LOO) identifies bottleneck agents as effectively as combinatorial methods, but at a fraction of the computational cost. We also demonstrate that removal protocols induce distinct games: Agent ablation isolates structural bottlenecks, whereas introspective LLM judges fail to faithfully approximate this behavior. Furthermore, to evaluate the utility of specific agent backbones, we introduce attribution via model replacement. By substituting underlying models of low-contribution agents, we improve task performance by up to 17% while reducing cost by up to 35% across three benchmarks. Finally, we apply our framework to audit a medical MAS, revealing that agent contributions to diagnostic accuracy and ethical behavior are often decoupled. By intervening on counterproductive roles, we observe an increase in ethics alignment while maintaining diagnostic accuracy. Overall, this work provides a principled approach for cost-effective MAS attribution and intervention.

For agents

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

get_harvested_code_for_paper("2605.27621")
get_code_for_paper("2605.27621")
have("2605.27621")

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

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

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

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

Connect an agent — have() is free.