GitHub
FreeMulti-agent simulation library in Python
About GitHub
Westworld is a multi-agent simulation library written in Python, inspired by Unity ML Agents. It enables simulation of environments for logistics, retail, and epidemiology with pre-coded spatial environments, agent communication, and optimization via heuristics or reinforcement learning. The library is currently experimental and in alpha-release, with features including easy creation of grid and non-grid environments, predefined object types (agents, obstacles, collectibles, triggers), subclassing for custom objects, random object spawning, basic rigid body physics, simple agent behaviors (pathfinding, wandering, fleeing, vision), automatic maze generation, and simulation visualization/export (GIF or video).
Key Features
Pros & Cons
- Open source with MIT license
- Easy to install via pip
- Provides pre-built environments and agent behaviors
- Supports visualization and export of simulations
- Allows customization through subclassing and custom objects
- Potential for RL integration with Stable Baselines
- Extremely experimental and in alpha-phase; not production-ready
- Documentation may not be up-to-date
- Not all features are fully tested
- Limited to Python; no official web interface without external tools
- Pathfinding and behaviors are described as 'simple'