PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Agent Based Modeling Python Packages

Python packages with the GitHub topic agent-based-modeling. Sorted by monthly downloads, with stars and forks.
mesa
mesa

Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.

50K 4K 1K
transentis
bptk-py

System Dynamics and Agent-based Modeling in Python

11K 36 10
simoncoombes
tradefloor

A simulated stock market for testing trading strategies and AI agents. Orders move prices, any market can be forked, and every run reproduces exactly.

10K 0 0
tsinghua-fib-lab
agentsociety

AgentSociety 2 is a modern, LLM-native agent simulation platform designed for social science research and experimental design. It provides a flexible framework for creating and managing intelligent agents in simulated environments.

8K 1K 217
hfarruda
doces

DOCES (Dynamical Opinion Clusters Exploration Suite) is an experimental Python library to simulate opinion dynamics on adaptive complex networks. Its background is implemented in C for performance.

6K 6 2
gefgu
citybehavex

CityBehavEx is a scalable, empirically validated, LLM-assisted urban behavior simulation platform. It generates synthetic city-scale mobility trajectories and lets users inspect, replay, debug, and evaluate them against observed mobility, time-use, semantic, transport, and social-network patterns.

5K 4 0
starsimhub
starsim

Starsim disease modeling framework

5K 44 32
agent-based-information-flow-simulation
aasm

Just in time and ahead of time

4K 0 3
zombie-einstein
bourse

Rust Market Simulation Library with a Python API

4K 23 1
tsinghua-fib-lab
agentsociety2

AgentSociety 2 is a modern, LLM-native agent simulation platform designed for social science research and experimental design. It provides a flexible framework for creating and managing intelligent agents in simulated environments.

4K 1K 217
simtopia
verbs

Rust and Python Ethereum Agent Based Modelling Library

3K 26 3
mesa
mesa-geo

GIS Extension for Mesa Agent-Based Modeling

3K 234 83
superwise-ai
dsl-spa

Middleware for simplifying the design, development, and deployment of agents

2K 7 4
evilsocket
nerve-adk

The Simple Agent Development Kit.

2K 1K 114
mtomasini
pytheas-simulator

A software to simulate seafaring in the Bronze Age.

2K 0 0
chathika
nl4py

Bringing Your Turtles From NetLogo to Python 🐍🐢

2K 54 9
JoelForamitti
agentpy

AgentPy is an open-source framework for the development and analysis of agent-based models in Python.

2K 388 44
Met4FoF
agentmet4fof

Metrological Agent-based system (MET4FOF project)

2K 27 11
simoncoombes
pretium

A simulated stock market for testing trading strategies and AI agents. Orders move prices, any market can be forked, and every run reproduces exactly.

1K 0 0
ahmedaly0904-bit64
rasad-sim

Measure how much of a stochastic simulation's result is a property of the model and how much is the random seed.

1K 1 0
kedos-srl
kegal

Kedos Graph Agent for LLM

827 3 0
kganitis
bamengine

High-performance Python framework for the BAM agent-based macroeconomic model using ECS architecture and vectorized NumPy operations

789 1 3
KarlNaumann
macrostat

A Package providing multiple tools for the statistical analysis and treatment of macroeconomic simulation models, with a particular focus on Agent-based and Stock-Flow Consistent Models

757 5 2
mesa
mesa-llm

Extension to the Mesa repository to provide with the ability to plug LLM directly into your agents for more complex reasoning and inter-agent communication ! Make your own reasoning/memory/communication modules and plug them into the existing code or use the pre-built ones for fast building.⁦

644 75 92
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology