#106106th of 242 in Agent frameworks and SDKs

agentsociety

Python framework for simulating LLM agent societies in social science research

Stars
1.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+458
6 May 2026: 966 stars13 May 2026: 977 stars20 May 2026: 988 stars27 May 2026: 1,001 stars3 Jun 2026: 1,010 stars10 Jun 2026: 1,026 stars17 Jun 2026: 1,052 stars24 Jun 2026: 1,073 stars1 Jul 2026: 1,101 stars8 Jul 2026: 1,114 stars15 Jul 2026: 1,135 stars22 Jul 2026: 1,154 stars29 Jul 2026: 1,165 stars5 Aug 2026: 1,173 stars12 Aug 2026: 1,192 stars19 Aug 2026: 1,210 stars26 Aug 2026: 1,237 stars2 Sept 2026: 1,252 stars9 Sept 2026: 1,272 stars16 Sept 2026: 1,293 stars23 Sept 2026: 1,310 stars30 Sept 2026: 1,321 stars7 Oct 2026: 1,331 stars14 Oct 2026: 1,350 stars21 Oct 2026: 1,367 stars28 Oct 2026: 1,381 stars4 Nov 2026: 1,395 stars11 Nov 2026: 1,404 stars18 Nov 2026: 1,416 stars25 Nov 2026: 1,424 stars

966 on 6 May 20261,424 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

AgentSociety is a Python framework for running social science experiments with LLM-driven agents. Version 2 runs agents as stateless records on Ray, with pluggable environment modules, several reasoning routers (CodeGen, ReAct, Plan-Execute) and DuckDB-backed experiment replay. A VS Code extension provides a research assistant for configuring and running experiments, and the legacy 1.x package covers city-scale simulation.

Who it is for: Social science and multi-agent simulation researchers

Strengths

  • Ray-based runtime for running many simulated agents in parallel
  • Five reasoning routers: CodeGen, ReAct, Plan-Execute, Two-Tier and Search
  • JSONL experiment replay with DuckDB reads and distributed tracing
  • Works with any litellm-supported provider, plus MCP tool integration

Weaknesses

  • Two parallel packages (v1 and v2) with different APIs add confusion
  • React web console keeps older API contracts; v2 workbench needs VS Code
  • Aimed at social science research, not general-purpose agent apps
  • The v1 `commercial` folder is excluded from the Apache-2.0 license

What it needs

  • no GPU
  • Docker
  • Needs Ray, DuckDB, LLM API key (OpenAI, Anthropic or litellm provider), VS Code (for the extension)
  • Models: OpenAI, Anthropic, litellm-supported providers

What changed

  1. agentsociety2-v2.12.0 ↗ (opens in a new tab)BreakingSecurity fix

    “Daily Mobility 看板限制可访问的文件,并对 HTML 属性进行转义。生成的人物配置仅允许当前用户读写。CodeQL 扫描覆盖示例、SDK 维护脚本和扩展文档工具。”

  2. “agentsociety2 / security:完整 Python 与 NumPy 函数调用可显式选择带硬执行期限和地址空间限制的 Linux 工作进程;拒绝执行帧、代码对象及生成器/协程 frame/code 内省。”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
#104nemo-agent-toolkitPython toolkit for profiling, evaluating and tuning agents built on any framework2.7k starsApache-2.068 out of 100
#105spectrum-tsTypeScript SDK for connecting agents to iMessage, Slack, Telegram and WhatsApp2.2k starsApache-2.068 out of 100
#107dexterTerminal agent that plans and runs financial research using live market data28k starsno license67 out of 100
#108pinchtabHTTP server and CLI that lets AI agents drive Chrome with compact snapshots10.6k stars+168 (+1.6%) in 30 daysMITknown advisory in latest version67 out of 100
#109koogKotlin framework for building tool-calling AI agents on JVM and multiplatform4.7k starsApache-2.067 out of 100