SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.02507 · 2026

What LLM Agents Say When No One Is Watching: Social Structure and Latent Objective Emergence in Multi-Agent Debates

Shahriar Noroozizadeh, Arman Ghaffarizadeh

arXiv · PDF

Code that ran

7 of 9 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; 7 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2607.02507.json · badge: /api/ran/2607.02507.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
danmohad/LLMAgora canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
build_emotion_style Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/plotting.py
code served (permissive licence) · get_code("c2ac30a440d10e78")
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 matplotlib
import matplotlib.pyplot as plt

# Construct field_results_list parameter
# Based on the function body, it expects a list of dicts where:
# - Each dict has agent identifiers as keys
# - Each value is a dict with at least an 'emotions' key
# - The 'emotions' value is a dict with emotion labels as keys

field_results_list = [
    {
        'agent_1': {
            'emotions': {
                'happy': 0.8,
                'sad': 0.2,
            }
        },
        'agent_2': {
            'emotions': {
                'angry': 0.6,
                'happy': 0.4,
            }
        }
    },
    {
        'agent_3': {
            'emotions': {
                'neutral': 0.5,
                'sad': 0.5,
            }
        },
        'agent_4': {
            'emotions': {
                'surprised': 0.9,
                'angry': 0.1,
            }
        }
    }
]

ARGS = {
    'field_results_list': field_results_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib — 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
build_system_prompt Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/agent.py
code served (permissive licence) · get_code("3cf054bb0eba5895")
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
import numpy as np
from typing import Dict, List, Any

# Test case 1: Using system_prompt (raw string takes precedence)
config_1 = {
    'system_prompt': 'You are a helpful assistant.',
    'self_role': 'Should be ignored'
}

# Test case 2: Using self_role without perceived_nonself_roles (single agent)
config_2 = {
    'system_prompt': '',
    'self_role': 'Team lead'
}

# Test case 3: Using self_role with perceived_nonself_roles (multiple agents)
config_3 = {
    'system_prompt': '',
    'self_role': 'Manager',
    'perceived_nonself_roles': [
        {'name': 'Alice', 'role': 'Developer'},
        {'name': 'Bob', 'role': 'Designer'}
    ]
}

# For the function signature: build_system_prompt(config: Dict[str, Any], *, total_agents: int)
# We need to provide:
# - config: Dict[str, Any]
# - total_agents: int (keyword-only argument)

# Choose one of the configs for testing
ARGS = {
    'config': config_3,
    'total_agents': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
get_structured_debate_history Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/debate_history.py
code served (permissive licence) · get_code("c5d559f0a666010f")
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 torch
import numpy as np

# Construct a valid structured_history dict matching the canonical Agora format
structured_history = {
    'turns': [
        {
            'turn_num': 1,
            'Alpha': {
                'public_utterance': 'Alpha public statement turn 1',
                'private_utterance': 'Alpha private reflection turn 1'
            },
            'Beta': {
                'public_utterance': 'Beta public statement turn 1',
                'private_utterance': 'Beta private reflection turn 1'
            }
        },
        {
            'turn_num': 2,
            'Alpha': {
                'public_utterance': 'Alpha public statement turn 2',
                'private_utterance': 'Alpha private reflection turn 2'
            },
            'Beta': {
                'public_utterance': 'Beta public statement turn 2',
                'private_utterance': 'Beta private reflection turn 2'
            }
        }
    ],
    'pre_interviews': {
        'Alpha': {
            'response': 'Alpha pre-interview response'
        },
        'Beta': {
            'response': 'Beta pre-interview response'
        }
    },
    'post_interviews': {
        'Alpha': {
            'response': 'Alpha post-interview response'
        },
        'Beta': {
            'response': 'Beta post-interview response'
        }
    }
}

ARGS = {
    'structured_history': structured_history
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — 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
plot_persona_adherence Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/plotting.py
code served (permissive licence) · get_code("f485f2b3f023c240")
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 Figure. 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 matplotlib.pyplot as plt

ARGS = {
    'eval_dict': {
        'alpha': {
            'public_per_turn_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.5, 3.7, 4.0, 4.2],
                    'se': [0.2, 0.15, 0.1, 0.12]
                }
            },
            'private_per_turn_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.2, 3.4, 3.8, 4.0],
                    'se': [0.25, 0.2, 0.15, 0.13]
                }
            },
            'public_cumulative_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.5, 3.6, 3.8, 4.0],
                    'se': [0.2, 0.15, 0.12, 0.1]
                }
            },
            'private_cumulative_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.2, 3.3, 3.55, 3.7],
                    'se': [0.25, 0.2, 0.18, 0.15]
                }
            },
            'full_debate_public_score': {
                'mean': 4.1,
                'se': 0.1
            },
            'full_debate_private_score': {
                'mean': 3.8,
                'se': 0.12
            }
        },
        'beta': {
            'public_per_turn_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.3, 3.5, 3.7, 3.9],
                    'se': [0.22, 0.18, 0.14, 0.11]
                }
            },
            'private_per_turn_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.0, 3.2, 3.5, 3.7],
                    'se': [0.26, 0.22, 0.18, 0.14]
                }
            },
            'public_cumulative_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.3, 3.4, 3.55, 3.7],
                    'se': [0.22, 0.18, 0.15, 0.12]
                }
            },
            'private_cumulative_scores': {
                'turns': [1, 2, 3, 4],
                'scores': {
                    'mean': [3.0, 3.1, 3.3, 3.5],
                    'se': [0.26, 0.22, 0.2, 0.16]
                }
            },
            'full_debate_public_score': {
                'mean': 3.9,
                'se': 0.13
            },
            'full_debate_private_score': {
                'mean': 3.6,
                'se': 0.15
            }
        }
    },
    'alpha_persona_name': 'Alice',
    'beta_persona_name': 'Bob',
    'save_path': None,
    'show_plot': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
resolve_experiment_payload_paths Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/experiment.py
code served (permissive licence) · get_code("a722f3bd76bf3fd0")
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.

from pathlib import Path

ARGS = {
    "payload": {
        "outputs_root": Path("outputs"),
        "index_csv": Path("data/index.csv"),
        "load_dir": None,
        "output_dir": Path("results/exp1"),
        "catalog_path": Path("catalog.json"),
        "prompts_path": Path("prompts.txt"),
        "other_field": "should_not_be_resolved",
    },
    "base_dir": Path("/home/user/project"),
}
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
strip_transcript_label_prefix Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/memory.py
code served (permissive licence) · get_code("95538ac2c90daccb")
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 re

CURRENT_INSTRUCTION_LABEL = 'Current instruction'

_TRANSCRIPT_LABELS = (CURRENT_INSTRUCTION_LABEL, 'Other speaker | public statement', 'Other speaker | public survey response', 'You | public statement', 'You | private note', 'You | public survey response', 'You | private survey response', 'You | pre-interview note', 'You | post-interview note')

def strip_transcript_label_prefix(text: str) -> str:
    """Remove any leading transcript metadata label echoed by a model."""
    if not text:
        return text
    label_pattern = '|'.join((re.escape(label) for label in sorted(_TRANSCRIPT_LABELS, key=len, reverse=True)))
    prefix_pattern = re.compile(f'^\\s*\\[(?:{label_pattern})\\]\\s*(?:\\r?\\n|\\s*[:\\-]\\s*)?')
    stripped = text
    while True:
        updated = prefix_pattern.sub('', stripped, count=1).lstrip()
        if updated == stripped:
            return stripped
        stripped = updated

# Test cases with various transcript label prefixes
ARGS = {
    "text": "[You | public statement]\nHello world"
}
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
write_experiment_analysis_records Ran
ran; our contract draft was wrong, not the code
danmohad/LLMAgora/src/agora/eval_aggregate.py
code served (permissive licence) · get_code("e4411ee2bd2fdb0e")
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 PosixPath. 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
import json
from pathlib import Path
import tempfile

torch.manual_seed(0)

# Create a temporary directory for output
temp_dir = tempfile.mkdtemp()

# Create sample records with various types that need JSON serialization
records = [
    {
        "experiment_id": "exp_001",
        "loss": torch.tensor(0.5),  # Will use .item() method
        "accuracy": torch.tensor(0.95),
        "path": Path("/some/model/path"),
        "config": {
            "learning_rate": 0.001,
            "batch_size": 32,
            "nested_tensor": torch.tensor(42),
        }
    },
    {
        "experiment_id": "exp_002",
        "loss": torch.tensor(0.3),
        "accuracy": torch.tensor(0.97),
        "path": Path("/another/path"),
        "metrics": [torch.tensor(1.0), torch.tensor(2.0)],
    }
]

output_path = Path(temp_dir) / "results.json"

ARGS = {
    "records": records,
    "output_path": output_path,
}
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 PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath 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
build_experiment_config Not yet run
unverified (harvested, no recorded run)
danmohad/LLMAgora/src/agora/experiment.py
code served (permissive licence) · get_code("8016ea0d83074d31")
How it ran

no invocation recorded.

plot_group_nli Not yet run
unverified (harvested, no recorded run)
danmohad/LLMAgora/src/agora/plotting.py
code served (permissive licence) · get_code("ea55065227e0b1da")
How it ran

no invocation recorded.

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, 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 9 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

LLM agents will increasingly act in socially structured settings where role, audience, and relational context can shape what is advantageous or costly to say. We study whether such social structure, without any explicit objective in the prompt, changes what an agent expresses publicly relative to an off-the-record (OTR) channel elicited under the same condition. We introduce a dual-channel debate framework in which agents produce public utterances that enter the shared history alongside OTR responses that are recorded but never shown to the other participant. Across 10 models, 3 scenarios, and 5 variations within each scenario, alignmentinducing settings produce systematic public-OTR divergence in the targeted agent, with its decision divergence rising from a ∼3% baseline to roughly 40%. The effect is consistent across four aggregate analyses: stance, semantic similarity, natural language inference, and survey responses. In some cases the OTR response explicitly attributes public accommodation to relational pressures, such as career risk or sponsorship obligation. The findings suggest that agent evaluation should extend beyond explicit goals and detect emergent objectives. We present a dual-channel evaluation framework and complementary behavioral measures that operationalize this assessment. 1 * Corresponding authors and equal contribution. † Equal contribution. 1 Code and reproducibility details are available at: https://github.com/danmohad/LLMAgora.

For agents

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

get_harvested_code_for_paper("2607.02507")
get_code_for_paper("2607.02507")
have("2607.02507")

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

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

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

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

Connect an agent — have() is free.