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.⁦

64
/ 100
Established

This project helps researchers and modelers build sophisticated agent-based simulations where the individual agents can make complex decisions, communicate, and negotiate using natural language. You provide the simulation rules and define the agents' roles, and the system outputs scenarios where agents interact and evolve based on large language models. It's ideal for anyone designing social simulations or complex adaptive systems.

Available on PyPI.

Use this if you need to simulate systems where agents' behaviors are driven by complex reasoning, communication, and decision-making capabilities, powered by large language models.

Not ideal if your simulation agents have simple, rule-based behaviors that don't require natural language understanding or generation.

social-simulation agent-based-modeling complex-systems organizational-modeling behavioral-economics
Maintenance 10 / 25
Adoption 8 / 25
Maturity 24 / 25
Community 22 / 25

How are scores calculated?

Stars

48

Forks

52

Language

Python

License

Apache-2.0

Last pushed

Mar 10, 2026

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mesa/mesa-llm"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.