Skip to content

llmsim

Parallel discrete-event simulation for Python 3.14+.

llmsim pairs a fully typed, __slots__-based sequential simulation core with parallelism that comes from a share-nothing architecture — independent work across cores, never locks on the sequential engine.

Project status

llmsim is approaching its 1.0 API freeze. The sequential core, parallel replications, single-run PDES sharding, compute offload, and real-time mode are implemented and gated by same-seed determinism tests; the 1.0 tag and PyPI publish follow the Phase 5 example gallery. See the roadmap.

Install

llmsim is not on PyPI yet (the 1.0 publish is gated on Phase 5). Install the current source directly with pip:

pip install git+https://github.com/nobelk/llmsim

Once 1.0 is published, installation is simply pip install llmsim. Zero required runtime dependencies; Python 3.14+ on both GIL and free-threaded builds. See Getting started for your first model.

Where to start

Reference and design