
Westworld simulation
Overview
Multi-agent simulation library designed to simulate and optimize systems with multiple interacting agents. Features easy creation of grid and non-grid environments, custom objects through subclassing, spawner for random object generation, rigid body physics, agent behaviors including pathfinding, wandering, and vision range, automatic maze generation, layer integration to convert images to obstacles, and visualization with replay and export capabilities.
Details
Inspired by Unity and Unity ML Agents, adapted for Python. Based on Stanford and Google research simulating 25 Gen AI agents with human-like behavior in interactive sandbox environments. Available on PyPi via pip install, with a JavaScript version in development. Supports classic simulations with sample agents.