Concordia: A Library for Generative Social Simulation

A library for constructing and running generative agent-based models that simulate social interactions.

Stars
★ 1.9k
Last updated
5d ago v2.4.0
FARS reviewed
Nov 07, 2026
License
Apache-2.0
Primary language
Python

At a glance

How it runs
Library / SDKFramework
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
PythonLLM APINetwork access
Typical use
Social science researchers simulate group dynamics and social phenomena to test theories.
Not a fit if
  • Developers wanting a turnkey tool with no embedder setup
  • Researchers who need fully reproducible simulations
Maintenance
Commits in the last 30 dayslast commit 2026-11-27latest release v2.4.0 (2026-03-06)+3.1 ★/day over 7 days

What does this agent do, and when should you use it?

Concordia is a library developed by Google DeepMind for building and running generative agent-based models (ABMs) that simulate interactions among entities in physical, social, or digital environments. Its core innovation is the use of a 'Game Master' (GM) entity that simulates the environment, translating agents' natural language actions into appropriate outcomes. The library offers modular components and pre-built prefabs for agents and game masters, enabling complex behaviors to be assembled from simple reusable parts. Installation is straightforward via pip. The project includes tutorials and Colab notebooks for quick start. Concordia is designed for a range of applications including social science research, AI safety, economics, synthetic data generation, and evaluating real services through simulated usage.

Concordia is a Python library for creating and running generative agent-based simulations. It defines three core concepts: Entities (agents and game masters), Components (modular behavior units), and Engine (the simulation loop). The simulation loop asks entities for actions; agents express their intentions in natural language, and the Game Master uses a language model to translate these into outcomes that respect physical, social, or digital constraints. It requires access to an LLM API and optionally a text embedder for memory. Users can assemble simulations using prefabs and custom components.

  1. Social science researchers simulate group dynamics and social phenomena to test theories.
  2. AI safety researchers construct scenarios to evaluate the safety and ethical behavior of AI systems in complex social interactions.
  3. Economists model market interactions and decision-making processes to study economic models.
  4. UX teams generate synthetic interaction data for training personalization systems.
  5. Service providers simulate user behavior to assess the performance of real services.
  6. Cognitive neuroscientists build agent models inspired by neural processes to study cognition.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install gdm-concordia

How do you install or deploy this agent?

Run pip install gdm-concordia in your terminal. After installation, you can import concordia in your code. Requires Python.

How do you use this agent?

First, ensure you have installed gdm-concordia and have access to an LLM API (optionally specify a text embedder). Then, run the Colab tutorial ([examples/tutorial.ipynb](examples/tutorial.ipynb)) or refer to the examples in the repository. Building a simulation typically involves defining prefabs for agents and game masters, configuring a language model, and running the simulation loop. For detailed guidance, refer to the README and tutorials.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • The Game Master architecture provides an intuitive and powerful way to simulate environments.
  • Modular components and prefabs allow for easy customization and reuse.
  • Backed by Google DeepMind, with a comprehensive tech report and design pattern paper.
  • Colab tutorials and a cheat sheet lower the learning curve.
Limitations
  • Requires an external LLM API, with results dependent on model capability and potential costs.
  • Requires providing a text embedder, adding configuration complexity.
  • As a research library, documentation is academic-oriented, which may be a barrier for general developers.
  • Dependency on LLM stability and responses may affect simulation reproducibility.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Concordia: A Library for Generative Social Simulation This agent 62 · Some gaps Library / SDKFree + model costs ★ 1.9k 5d ago Python —
MiroFish Offline 40 · Major gaps Self-hosted serviceFree ★ 2.8k 8mo ago Python OpenAI API · Claude API
Sotopia 46 · Major gaps Library / SDKFree + model costs ★ 348 11mo ago Python OpenAI API
OASIS Social Simulation 48 · Major gaps Library / SDKFree + model costs ★ 5.5k 2d ago Python OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
62/ 100 5-point scale 3.1 / 5
Trust 13/29
Reliability 8/14
Adaptability 14/18
Convention 13/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The README says a standard LLM API is required, external applications and services are optional, and the GM processes entity actions, making the main data flow and external dependencies reasonably visible (2). The package materials do not explain data retention, sensitive-input handling, permission boundaries, or user confirmation; users provide API access, so sensitive-data handling and confirmation each score 1. No undo or rollback mechanism is shown (0). The dependency file pins versions with hashes, and the workflow uses read-only default permissions and pinned action commits, supporting a score of 2 for dependency security. The README includes a paper citation, supporting attribution (2).

Reliability8 / 14 · 2.9/5

The README, directory descriptions, installation steps, and configuration are broadly consistent about the library's purpose. The dependency file pins versions and hashes to support ordinary installation, though the README notes some underlying dependencies may not support a user's environment. The provided material does not show concrete error handling or troubleshooting guidance, so failure messages score 1.

Adaptability14 / 18 · 3.9/5

The README names social science, AI safety and ethics, cognitive neuroscience, economics, synthetic data, and service evaluation, giving strong evidence of intended audiences and scenarios (3). It describes entities, components, prefabs, the engine, and LLM/embedder requirements, but does not clearly bound the validity of simulation results or their use in real-world decisions (2). The GUI/CLI guide, tutorials, examples, and choice of LLM help users adapt the framework; specific triggers are mostly determined by how callers build a simulation (2).

Convention13 / 18 · 3.6/5

The README organizes directories by function and points to tutorials, installation, examples, and citation guidance (3). PyPI installation and manual development setup for Python 3.12+ are fairly clear, but extra LLM dependencies require user management (2). Core terms are explained, but the material does not show API compatibility or migration policy (2). Tutorials, GUI/CLI guidance, and examples help, though no dedicated FAQ is shown (2). The README identifies the LLM API requirement and notes that some dependency environments may be unsupported (2). The Apache-2.0 terms are explicit in LICENSE (3). No changelog or version history is included in the packet (1). A security reporting path and response target are stated, but general maintenance ownership and support channels are limited (2).

Effectiveness9 / 13 · 3.5/5

The entity/component/engine pattern, prefabs, and examples support building simulations whose generated actions and observations can be used for research or evaluation (2). A modular framework for generative social simulation offers clear additional value for that use (3). The framework requires an LLM API and embedder and may connect to external services; the materials give no cost, latency, or resource estimates (1).

Verifiability5 / 8 · 3.1/5

Claims about purpose, architecture, installation, and citation are described concretely in the README, with some corroboration from pyproject, dependency pins, security guidance, and release/scanning workflows (2 for traceability and 2 for cross-source corroboration). The README identifies simulations as generative models, names external dependencies, and states the product is not officially supported; however, the packet provides no empirical validation for example outcomes or applicability claims (2 for separating fact from inference).

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Running simulations requires API access to an external LLM and may involve external applications or services; the materials do not explain data retention, sensitive-input safeguards, or spending limits.
  • The documentation describes a simulation framework; generated behavior alone should not be treated as evidence of real population behavior or as a basis for high-impact decisions.
  • This assessment uses only the supplied static materials; code was not run and example results were not verified.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision 4e4aec94b76b New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/concordia.svg)](https://followagents.com/en/agents/concordia)
<a href="https://followagents.com/en/agents/concordia"><img src="https://followagents.com/badge/concordia.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.4.0
    Release notes excerpt
    [2.4.0] - 2026-03-06 Changed - Use InteractiveDocument RNG for diversified answers - NextActingActiveEntity returns the current player for async threads - Make more basic entity parameters configurable and give them more sensible default values. Remove the relevant memories component since it does not really help here, and it can confuse, especially in simulations that don't have a concrete concept of time. - Make LastNObservations component give a more sensible error message if the user passes a wrong type history length. …
    View on GitHub ↗
  2. v2.3.1
    Release notes excerpt
    [2.3.1] - 2026-02-04 Fixed - Remove a flaky profiler test.
    View on GitHub ↗
  3. v2.3.0
    Release notes excerpt
    [2.3.0] - 2026-02-04 Changed - Deleted all deprecated files. - Support overriding the default language model either for agents or game masters in the generic simulation prefab. - tests for event resolution filtering - Replace print() statements with absl.logging - Add analyze-logs skill - Add option on generic simulation.play to produce new style structured logs. No change to default behavior. New log style is off by default (for now). - Improve the new structured logging library and remove functions used only for comparison to the old format. …
    View on GitHub ↗

FAQ

What are the runtime requirements for Concordia?
Requires Python and an LLM API (any API that supports sampling text) and a text embedder for associative memory.
Is Concordia free to use?
The library is open-source under Apache-2.0, but using an LLM API may incur costs depending on your provider.
How can I integrate my business logic into a Concordia simulation?
You can create custom components or use prefabs to encapsulate business logic as entity behaviors.
Are simulation results reproducible?
Due to dependencies on LLMs, identical settings may produce different outcomes. You can improve reproducibility by fixing random seeds, though this is not explicitly documented.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts