SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.11581 · 2024

OASIS: Open Agent Social Interaction Simulations with One Million Agents

arXiv · PDF · Open in the Atlas

Code that ran

2 of 3 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; 2 failures of our instrument; 1 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/2411.11581.json · badge: /api/ran/2411.11581.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
camel-ai/oasis canonical (classifier label)
classifier basis: census
2 ran · 1 no recorded run
FunctionStatusWhere it lives
fetch_rec_table_as_matrix Ran
ran; our contract draft was wrong, not the code
camel-ai/oasis/oasis/social_platform/database.py
code served (permissive licence) · get_code("681867b3e2008785")
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. 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 sqlite3
import tempfile
import os

# Create a temporary SQLite database with the necessary schema and data
temp_db = tempfile.NamedTemporaryFile(delete=False, suffix='.db')
temp_db_path = temp_db.name
temp_db.close()

connection = sqlite3.connect(temp_db_path)
cursor = connection.cursor()

# Create the user table
cursor.execute('''
    CREATE TABLE user (
        user_id INTEGER PRIMARY KEY
    )
''')

# Create the rec table
cursor.execute('''
    CREATE TABLE rec (
        user_id INTEGER,
        post_id INTEGER
    )
''')

# Insert sample data
cursor.execute('INSERT INTO user (user_id) VALUES (1)')
cursor.execute('INSERT INTO user (user_id) VALUES (2)')
cursor.execute('INSERT INTO user (user_id) VALUES (3)')

cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (1, 10)')
cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (1, 20)')
cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (2, 15)')
cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (3, 25)')
cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (3, 35)')
cursor.execute('INSERT INTO rec (user_id, post_id) VALUES (3, 45)')

connection.commit()

# Get a fresh cursor for the function
cursor = connection.cursor()

ARGS = {
    'cursor': cursor
}

# Clean up will happen after function execution
# Note: temp database file at temp_db_path will persist until manually deleted
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 — a list output has no array shape of its own; none is 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
fetch_table_from_db Ran
ran; our contract draft was wrong, not the code
camel-ai/oasis/oasis/social_platform/database.py
code served (permissive licence) · get_code("51db347771f17f99")
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 sqlite3
import tempfile
import os

# Create a temporary in-memory database with a test table
db_fd, db_path = tempfile.mkstemp(suffix='.db')
os.close(db_fd)

conn = sqlite3.connect(db_path)
cursor = conn.cursor()

# Create a test table
cursor.execute('''
    CREATE TABLE test_table (
        id INTEGER PRIMARY KEY,
        name TEXT,
        value REAL
    )
''')

# Insert some test data
cursor.execute("INSERT INTO test_table (name, value) VALUES ('Alice', 10.5)")
cursor.execute("INSERT INTO test_table (name, value) VALUES ('Bob', 20.3)")
cursor.execute("INSERT INTO test_table (name, value) VALUES ('Charlie', 15.7)")

conn.commit()

# Create a fresh cursor for the function call
cursor = conn.cursor()

ARGS = {
    'cursor': cursor,
    'table_name': 'test_table'
}
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
create_db Not yet run
unverified (harvested, no recorded run)
camel-ai/oasis/oasis/social_platform/database.py
code served (permissive licence) · get_code("348a9e54feaa4285")
How it ran

no invocation recorded.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 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.

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

There has been a growing interest in enhancing rule-based agent-based models (ABMs) for social media platforms (i.e., X, Reddit) with more realistic large language model (LLM) agents, thereby allowing for a more nuanced study of complex systems. As a result, several LLM-based ABMs have been proposed in the past year. While they hold promise, each simulator is specifically designed to study a particular scenario, making it time-consuming and resource-intensive to explore other phenomena using the same ABM. Additionally, these models simulate only a limited number of agents, whereas real-world social media platforms involve millions of users. To this end, we propose OASIS, a generalizable and scalable social media simulator. OASIS is designed based on real-world social media platforms, incorporating dynamically updated environments (i.e., dynamic social networks and post information), diverse action spaces (i.e., following, commenting), and recommendation systems (i.e., interest-based and hot-score-based). Additionally, OASIS supports large-scale user simulations, capable of modeling up to one million users. With these features, OASIS can be easily extended to different social media platforms to study large-scale group phenomena and behaviors. We replicate various social phenomena, including information spreading, group polarization, and herd effects across X and Reddit platforms. Moreover, we provide observations of social phenomena at different agent group scales. We observe that the larger agent group scale leads to more enhanced group dynamics and more diverse and helpful agents' opinions. These findings demonstrate OASIS's potential as a powerful tool for studying complex systems in digital environments.

For agents

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

get_harvested_code_for_paper("2411.11581")
get_code_for_paper("2411.11581")
have("2411.11581")

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

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

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

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

Connect an agent — have() is free.