AgentSociety 2

AgentSociety 2 is a modern, LLM-native agent simulation and research-orchestration platform for computational social science. It provides a unified async framework for agents, environment modules, and research skills, with multiple entry points from the CLI and REST API to integrated research environments.

Start here

Research workspace

Two agent roles share one workspace: the AI Social Scientist coordinates literature, hypotheses, experiments and analysis; Silicon Participants produce behavioral data in configurable environments. Researchers define the question, review designs and interpret the evidence.

Work starts in TOPIC.md and produces hypotheses, executable configurations, run records and reports. The CLI, Python API and workbench share core simulation capabilities. See Architecture and Scalability for runtime details and Using Agents / Agent Skills for agents and skills. External paper-toolkit continues from analysis outputs to manuscript writing.

See Organize a research project for the complete process, Datasets and input data for input data preparation, and Replay, analysis, and reports for replay and research artifacts.


Features and documentation

Task

Features

Where to start

Use the research workbench

Configure models, manage literature and data, organize hypotheses and experiments, and share workspaces

AI Social Scientist User Guide

Configure participants and environments

Profiles, behavioral skills, environment tools, and custom modules

Using Agents, Environment Modules

Run and intervene in experiments

Python interaction, CLI execution, progress logs, and checkpoint recovery

Interacting with AgentSociety, Command Line Interface

Inspect data and results

Step-by-step replay, dataset access, analysis, charts, and reports

Storage and Result Access, Research Skills

Extend research capabilities

Research assistant skills, Agent skills, and custom environments

Agent Skills, Custom Modules

Integrate your own tools

Python interfaces, standalone backend, and configuration models

API Reference

Installation

pip install agentsociety2

See Installation for detailed installation instructions.

Quick Start

Interact with agents through the async API on AgentSociety (e.g. ask / intervene) using asyncio. See Quick Start for a minimal example.

Documentation

Citation

If you use AgentSociety 2 in your research, please cite:

@misc{piao2026agentsociety2,
  title        = {{AgentSociety} 2: An Integrated Research Environment for Executable Social Science},
  author       = {Jinghua Piao and Jun Zhang and Haoyu Huang and Keming Zhang and Jing Yi Wang and Xinran Zhao and Songwei Li and Boyuan Sun and Jiayi Chang and Fengli Xu and Chunyan Wang and Fang Zhang and Ke Rong and Jun Su and Tianguang Meng and Yi Liu and Qingguo Meng and Yu Wang and Yong Li},
  year         = {2026},
  eprint       = {2607.11895},
  archiveprefix= {arXiv},
  primaryclass = {cs.CY},
  doi          = {10.48550/arXiv.2607.11895},
  url          = {https://arxiv.org/abs/2607.11895},
}

Paper: https://arxiv.org/abs/2607.11895

Repository-wide citation files:

Links

Search