SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.08251 · IJCAI · 2024

Emergence of Social Norms in Generative Agent Societies: Principles and Architecture

Zhen Wang, Shuyue Hu, Siyue Ren, Zhiyao Cui, Ruiqi Song, Sender Conflict!

arXiv · PDF · Open in the Atlas

Code that ran

11 of 23 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, 2 violated it and 1 has no contract verdict; 8 failures of our instrument; 12 no recorded run), measured 2026-11-22; 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/2403.08251.json · badge: /api/ran/2403.08251.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
sxswz213/crsec canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
sxswz213/CRSEC community
Papers with Code archive
2 ran · 12 no recorded run
FunctionStatusWhere it lives
ChatGPT_request Ran
ran; our contract draft was wrong, not the code
sxswz213/crsec/reverie/backend_server/compress_sim_storage_norm.py
pointer only (licence: NONE) · get_code("45fafb0ec690b54e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ChatGPT_safe_generate_response_OLD Ran
ran; our contract draft was wrong, not the code
sxswz213/crsec/reverie/backend_server/compress_sim_storage_norm.py
pointer only (licence: NONE) · get_code("474e8c246a35f38e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_folder_if_not_there Ran
ran, violated the contract we drafted
sxswz213/crsec/reverie/global_methods.py
pointer only (licence: NONE) · get_code("04d3df25d420010e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_prompt Ran
ran; our contract draft was wrong, not the code
sxswz213/crsec/reverie/backend_server/compress_sim_storage_norm.py
pointer only (licence: NONE) · get_code("3f8b35c22b491c2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

name_check Ran
ran, violated the contract we drafted
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("3c26d303183efc71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

norm_long_term_synthesis_check Ran
ran; our contract draft was wrong, not the code
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("4cb1d9200f7d3127")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

path_finder Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sxswz213/crsec/reverie/backend_server/path_finder.py
pointer only (licence: NONE) · get_code("2d8a2baa4214bd38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

path_finder_v1 Ran
ran on a synthesized input
sxswz213/crsec/reverie/backend_server/path_finder.py
pointer only (licence: NONE) · get_code("41d9257b130b50d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

path_finder_v2 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sxswz213/crsec/reverie/backend_server/path_finder.py
pointer only (licence: NONE) · get_code("983c0f1caf6a2bd2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_file_to_list Ran
ran; our contract draft was wrong, not the code
sxswz213/crsec/reverie/global_methods.py
pointer only (licence: NONE) · get_code("48476b17bdfd0043")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_file_to_set Ran
ran; our contract draft was wrong, not the code
sxswz213/crsec/reverie/global_methods.py
pointer only (licence: NONE) · get_code("219bfa7864169c24")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/crsec when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_active_norms_classfication Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("bcf50a0111260284")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_long_term_norm_utility Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("5b7c82e4be68664b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_norm_duplicate_check Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("ee91108e964255bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_norm_duplicate_check_for_long_term Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("1cbeabed9dd0e919")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_norm_fact_consistency_check Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("2656d7ced6b8c289")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_norm_long_term_synthesis Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("fcbc7fb6dcc4ea8e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_normal_norm_utility Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("9687c0df3536d1b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_recognize_conflict_check Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("96a6a4df73d608b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

generate_seeds_type_check_v2 Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("7fd5f4422ef11e1d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

norm_evaluate_check Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("f7c3a3125ef52f78")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

run_long_term_norm_evaluate Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("a8a755efccd5872c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

specific_norm_deactive Not yet run
unverified (harvested, no recorded run)
sxswz213/CRSEC/reverie/backend_server/norm/norm_evaluate.py
pointer only (licence: NONE) · get_code("f73a616c336b1209")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sxswz213/CRSEC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 20 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
create_folder_if_not_there 1 other paper
1 dated earlier
2304.03442 (2023-04)
Generative Agents: Interactive Simulacra of Human Behavior
read_file_to_list 1 other paper
1 dated earlier
2304.03442 (2023-04)
Generative Agents: Interactive Simulacra of Human Behavior
read_file_to_set 1 other paper
1 dated earlier
2304.03442 (2023-04)
Generative Agents: Interactive Simulacra of Human Behavior

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

Repositories linked to this paper

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

Abstract

Social norms play a crucial role in guiding agents towards understanding and adhering to standards of behavior, thus reducing social conflicts within multi-agent systems (MASs). However, current LLM-based (or generative) MASs lack the capability to be normative. In this paper, we propose a novel architecture, named CRSEC, to empower the emergence of social norms within generative MASs. Our architecture consists of four modules: Creation & Representation, Spreading, Evaluation, and Compliance. This addresses several important aspects of the emergent processes all in one: (i) where social norms come from, (ii) how they are formally represented, (iii) how they spread through agents' communications and observations, (iv) how they are examined with a sanity check and synthesized in the long term, and (v) how they are incorporated into agents' planning and actions. Our experiments deployed in the Smallville sandbox game environment demonstrate the capability of our architecture to establish social norms and reduce social conflicts within generative MASs. The positive outcomes of our human evaluation, conducted with 30 evaluators, further affirm the effectiveness of our approach. Our project can be accessed via the following link: https://github.com/sxswz213/CRSEC.

For agents

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

get_harvested_code_for_paper("2403.08251")
get_code_for_paper("2403.08251")
have("2403.08251")

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

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

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

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

Connect an agent — have() is free.