
Ometeotl : A Python library to build complex multi-agent simulations, wargames, and AI-driven strategies
Create simulated worlds with competitive or cooperative entities using simple class instantiations. Define goals and strategies through clear, standard formats. Train AI agents to act, adapt, and compete in your world. Navigate through a natively built fog of war
Ometeotl is an experimental Python library for modeling multi-actor, multi-space, multi-metric strategic decision-making systems. Inspired by game theory, axiomatic systems, and neutral teleological modeling, it aims to simulate complex interactions across hierarchical actors, asymmetric temporalities, and perceptual imperfections.
The name Ometeotl draws from Aztec mythology, where Ōme means “two” or “dual” in Nahuatl, and teōtl translates to “divinity.” Ometeotl embodies the primordial duality—male (Ometecuhtli) and female (Omecihuatl)—as the supreme creator residing in Omeyocan, the “Place of Duality.” This concept of inherent duality and generative potential mirrors the library’s core philosophy: modeling conflict, cooperation, and emergence from opposing forces in decision spaces.
This project is actively under development. The current repository already implements a functional core for modeling, perception, projection, composite and abstract actors, strategy building, server-authoritative runtime control, and a dedicated validation layer. Generation, IO workflows, and end-to-end examples remain in progress.
component links, traversal helpers, and abstract-space support.observe_only, enforce_structure, enforce_domain), and diagnostics.src/ometeotl_core/generic/ for server-owned world mutation flows.317 collected tests.StrategyOutcomeBranch.All contributions are welcome! Whether it’s code refinements, axiom suggestions, documentation, testing, or cultural insights into the name’s resonance, your input will shape Ometeotl. Check the specs, README, or CONTRIBUTING.md to get started. Fork, PR, or open an issue—let’s build this together.
Start your first PR and become an Eagle Warrior !
The Path of the Serpent represents knowledge, depth, and commitment.
It is the path of those who learn, refine, and wage a quiet, relentless struggle against bad code—both in the system and within themselves.
![]() | Eagle WarriorRequirement In Nahua warrior tradition, the eagle symbolizes courage, ascent, and the honor of proving oneself in action. |
![]() | AchcauhtliRequirement Achcauhtli evokes a proven war leader, a contributor who has moved beyond initiation and begun to earn standing through repeated service. |
![]() | OtomiRequirement The Otomi warrior figure represents resilience and battlefield reputation, honoring contributors who have become dependable forces within the project. |
![]() | Shorn OneRequirement The Shorn Ones were elite warriors sworn not to retreat, making this rank a symbol of exceptional discipline, loyalty, and sustained achievement. |
![]() | EmperorRequirement The Emperor stands as the sovereign guardian of the Order, embodying stewardship, vision, and the sacred balance at the heart of Ometeotl. |
The Path of the Undying Sun represents clarity, guidance, and transmission.
It is the path of those who illuminate the way for others and sustain the living flame of knowledge.
![]() | Tlamacazqui - InitiateRequirement Those who begin to carry the light and make their presence felt. |
![]() | Tlenamacac - OfficiantRequirement Those who sustain the flame and help it grow beyond themselves. |
![]() | Quetzalcoatl PriestHigh priest of the Undying Sun Requirement Those whose actions shape the path of others and ensure the light endures. |
The Path of the Temple offering represents the material commitment to the project. It is the path of those who wish to sustain and amplify its development. Those who walk this this path will support :
Historical note: the Aztecs did not use metallic currency—value was expressed through goods, service, and offerings, a principle that inspires this path.
![]() | Tonalli SeedThose who spark the first motion, bringing initial energy into the system. |
![]() | Tlaxtli ContributorThose who give and sustain, turning intent into tangible support. |
![]() | Tlatquitl BackerThose who provide the substance that allows ideas to take form and endure. |
![]() | Tonalli FlowkeeperThose who maintain the flow, ensuring balance, continuity, and lasting momentum. |
![]() | Teyolia SourceThose who stand at the origin, empowering the whole system through their presence. |

A Python library to build complex multi-agent simulations, wargames, and AI-driven strategies