SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.12923 · 2025

The Traitors: Deception and Trust in Multi-Agent Language Model Simulations

arXiv · PDF · Open in the Atlas

Code that ran

5 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 5 have no contract verdict; 0 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/2505.12923.json · badge: /api/ran/2505.12923.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
pedrocurvo/thetraitors canonical (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_traitors_game_metrics Ran
ran on a synthesized input
pedrocurvo/thetraitors/src/utils/metrics.py
code served (permissive licence) · get_code("9be378eafce350e8")
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 pandas as pd
import numpy as np

# Create a sample DataFrame with The Traitors game voting data
data = {
    'Player_ID': [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4],
    'Role': ['Traitor', 'Traitor', 'Faithful', 'Faithful', 'Traitor', 'Traitor', 'Faithful', 'Faithful', 'Traitor', 'Traitor', 'Faithful', 'Faithful'],
    'Vote_Type': ['Traitor', 'Traitor', 'General', 'General', 'Traitor', 'Traitor', 'General', 'General', 'Traitor', 'Traitor', 'General', 'General'],
    'Vote_Target': [3, 3, 1, 2, 4, 4, 1, 1, 3, 4, 2, 2],
    'Round': [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3],
    'Eliminated': [False, False, 3, False, False, False, 4, False, False, False, 2, False]
}

df = pd.DataFrame(data)

ARGS = {
    'csv_file': None,
    'df': df
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
compute_traitors_game_metrics Ran
ran on a synthesized input
pedrocurvo/thetraitors/utils/metrics.py
code served (permissive licence) · get_code("fb4ca4848ddac9ce")
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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with sample voting data for The Traitors game
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, 'traitors_voting_data.csv')

# Generate sample data
data = {
    'Player_ID': [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4],
    'Role': ['Traitor', 'Faithful', 'Faithful', 'Faithful', 'Traitor', 'Faithful', 'Faithful', 'Faithful', 
             'Traitor', 'Faithful', 'Faithful', 'Faithful', 'Traitor', 'Faithful', 'Faithful', 'Faithful'],
    'Vote_Type': ['Traitor', 'General', 'General', 'General', 'Traitor', 'General', 'General', 'General',
                  'Traitor', 'General', 'General', 'General', 'Traitor', 'General', 'General', 'General'],
    'Vote_Target': [3, 1, 1, 1, 3, 1, 1, 4, 3, 1, 1, 4, 2, 2, 2, 3],
    'Round': [1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4],
    'Eliminated': [3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1]
}

df = pd.DataFrame(data)
df.to_csv(csv_path, index=False)

ARGS = {
    'csv_file': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
get_agent_config Ran
ran on a synthesized input
pedrocurvo/thetraitors/utils/config.py
code served (permissive licence) · get_code("3897c0ded21512a2")
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
from typing import Any, Dict, Optional

torch.manual_seed(0)

# Construct a minimal config dictionary that matches what get_agent_config expects
config = {
    'llm': {
        'model_name': 'gpt-3.5-turbo',
        'temperature': 0.7,
        'max_tokens': 256,
        'top_p': 0.9,
    },
    'agents': {
        '0': {
            'temperature': 0.5,
            'max_tokens': 512,
        },
        '1': {
            'temperature': 0.8,
        },
    }
}

agent_id = 0

ARGS = {
    'config': config,
    'agent_id': agent_id,
}
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
load_config Ran
ran on a synthesized input
pedrocurvo/thetraitors/utils/config.py
code served (permissive licence) · get_code("ea61155c17f5ba1c")
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 tempfile
import os
import yaml

# Create a temporary YAML config file with valid configuration
temp_dir = tempfile.mkdtemp()
config_path = os.path.join(temp_dir, 'test_config.yaml')

# Create a valid configuration
config_data = {
    'game': {
        'agent_count': 5,
        'traitor_count': 2
    },
    'llm': {
        'model': 'gpt-3.5-turbo',
        'client_type': 'openai'
    },
    'agents': {
        '0': {
            'model': 'gpt-3.5-turbo',
            'client_type': 'hf'
        },
        '1': {
            'model': 'llama-7b',
            'client_type': 'mlx'
        }
    }
}

# Write the config to the temporary file
with open(config_path, 'w') as f:
    yaml.dump(config_data, f)

ARGS = {
    'config_path': config_path
}
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 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
merge_config_with_args Ran
ran on a synthesized input
pedrocurvo/thetraitors/utils/config.py
code served (permissive licence) · get_code("0445bcf10e62963f")
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
from typing import Any, Dict, Optional

torch.manual_seed(0)

# Create a config dictionary with nested structure
config = {
    'game': {
        'agent_count': 4,
        'traitor_count': 1,
        'seed': 42,
        'experiment_name': 'baseline_exp'
    },
    'llm': {
        'model': 'gpt-3.5-turbo',
        'client_type': 'openai',
        'provider': 'openai'
    },
    'other_section': {
        'some_param': 'value'
    }
}

# Create a mock args object with attributes
class MockArgs:
    def __init__(self):
        self.agents = 8
        self.traitors = 2
        self.model = 'gpt-4'
        self.client = 'custom_client'
        self.provider = 'custom_provider'
        self.seed = 123
        self.experiment_name = 'custom_exp'

args = MockArgs()

ARGS = {
    'config': config,
    'args': args
}
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

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

As AI systems increasingly assume roles where trust and alignment with human values are essential, understanding when and why they engage in deception has become a critical research priority. We introduce The Traitors, a multi-agent simulation framework inspired by social deduction games, designed to probe deception, trust formation, and strategic communication among large language model (LLM) agents under asymmetric information. A minority of agents the traitors seek to mislead the majority, while the faithful must infer hidden identities through dialogue and reasoning. Our contributions are: (1) we ground the environment in formal frameworks from game theory, behavioral economics, and social cognition; (2) we develop a suite of evaluation metrics capturing deception success, trust dynamics, and collective inference quality; (3) we implement a fully autonomous simulation platform where LLMs reason over persistent memory and evolving social dynamics, with support for heterogeneous agent populations, specialized traits, and adaptive behaviors. Our initial experiments across DeepSeek-V3, GPT-4o-mini, and GPT-4o (10 runs per model) reveal a notable asymmetry: advanced models like GPT-4o demonstrate superior deceptive capabilities yet exhibit disproportionate vulnerability to others' falsehoods. This suggests deception skills may scale faster than detection abilities. Overall, The Traitors provides a focused, configurable testbed for investigating LLM behavior in socially nuanced interactions. We position this work as a contribution toward more rigorous research on deception mechanisms, alignment challenges, and the broader social reliability of AI systems.

For agents

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

get_harvested_code_for_paper("2505.12923")
get_code_for_paper("2505.12923")
have("2505.12923")

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

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

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

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

Connect an agent — have() is free.