Skip to content
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.
RemiPelloux
modelly-abm

Agent-based modeling (ABM) framework for Python: typed scenarios, seeded reproducible runs, numpy-backed agents, grids, networks and continuous space, discrete-event time, pandas data collection, browser visualization. Fast by construction. A codemod path from Mesa.

70K 0 0
mesa
mesa

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

59K 4K 1K
starsimhub
starsim

Starsim disease modeling framework

19K 45 35
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.

7K 1K 227
transentis
bptk-py

System Dynamics and Agent-based Modeling in Python

7K 40 12
agent-based-information-flow-simulation
aasm

Just in time and ahead of time

5K 0 3
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.

5K 1K 227
zombie-einstein
bourse

Rust Market Simulation Library with a Python API

4K 23 1
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.

3K 3 0
TheMattHub
nagasim

Naga: a SimPy-based simulation engine for discrete-event, system-dynamics and agent-based models

3K 0 0
mesa
mesa-geo

GIS Extension for Mesa Agent-Based Modeling

2K 238 85
Met4FoF
agentmet4fof

Metrological Agent-based system (MET4FOF project)

2K 27 11
simtopia
verbs

Rust and Python Ethereum Agent Based Modelling Library

2K 26 3
SimulaMet
verdi-agents

Auditable testbed for value drift, governance and institutional recovery in societies of LLM agents. Reproducible runs, sweeps across models, one-click HTML reports.

2K 0 1
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.

2K 6 2
chathika
nl4py

Bringing Your Turtles From NetLogo to Python 🐍🐢

2K 54 9
superwise-ai
dsl-spa

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

2K 7 4
JoelForamitti
agentpy

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

1K 389 44
lukasturcani
xecs

A Python library (written in Rust!) for a performant entity component system (ECS).

1K 3 0
alexanderkell
elecsim

Agent-based Model for Electricity Markets

1K 61 13
gefgu
citybehavex

Scalable, empirically validated, LLM-assisted urban behavior simulation platform.

1K 5 0
mtomasini
pytheas-simulator

A software to simulate seafaring in the Bronze Age.

1K 0 0
niklasf
agentspeak

A Python-based interpreter for the agent-oriented programming language JASON

1K 55 26
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 3 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology