FLUX Simulation Engine
Describe your customers and what they do in YAML, and this engine turns that into synthetic rows that follow a FLUID data contract: the same rows every time, with a report that says plainly what the run does not show.
Documentation: https://agenticstiger.github.io/flux/engine/
Try it
You need uv.
uvx --from flux-sim-engine fluxsim init demo && cd demo && uvx --from flux-sim-engine fluxsim run . --verify --ship -o out
That writes a small project, runs a 500-customer simulation, checks the result and packs an evidence archive into out/, in a few seconds. With the command installed (uv tool install flux-sim-engine, or pip install flux-sim-engine in a virtual environment), the same two steps print this:
$ fluxsim init demo
created demo with a small FLUX bundle and its FLUID contract (10 files):
...
$ cd demo
$ fluxsim run . --verify --ship -o out
...
emitted payment_recovery_moment: 154 rows (scenario)
reproducible: not checked | validity: not asserted
...
shipped out/demo.flux.tgz
run 8dec55892096169f complete; shipped to out
Open .flux/runs/<runId>/EVIDENCE.md first: its last section, "What Was Not Proven", lists what the run does not show. The tutorial goes through each step.
What it is
- Repeatable. The same bundle and the same seed give the same bytes on every system the project's CI checks (Linux and macOS, Python 3.11 to 3.13).
fluxsim replayruns a recorded plan again and refuses unless it reaches the digest you give it. - Declarative. A bundle is YAML documents for the world, the personas, the signals, the journeys and the treatments. It refers to a FLUID contract and never restates it, so the rows have the shape the contract expects.
- Six steps, one command each.
validate,plan,apply,run,verify,ship.shippacks the bundle, the run and a manifest into one archive, writes two unsigned in-toto statements beside it, and the report inside always ends in a section called "What Was Not Proven".
What it is not
- Not evidence about the real world. The engine reproduces the scenario you describe. Whether the scenario matches reality is a separate question, and in this release the report answers it
validity: not asserted. - Not a privacy or fairness tool. The rows are made from the numbers you declare. The pack makes no claim about privacy, fairness or any model trained on the rows.
- Not finished. The agentic tier, the sweep executor for
fidelity: stochastic, calibration withpyabc, synthesis withsynthcityand an OpenLineage transport are absent, and the engine says so instead of degrading quietly.fluxsim describe --selfsays whether the libraries behind four of them (agentic,calibrate_abc,synth,lineage_transport) are installed, and a bundle that asks forfidelity: stochasticis refused with an error.
Where to go next
- Tutorial: your first evidence pack in five minutes.
- How-to guides: model customers, add a journey, use the FLUID seam, calibrate from aggregates, ship with evidence.
- Explanation: the six-step loop, determinism and the seed tree, the seam, and what an evidence pack does not claim.
- Reference: every command, every error code, the Python API and the schemas.
- The FLUX specification: Agenticstiger/flux.
Develop
See CONTRIBUTING.md. The short version:
uv sync --extra dev
make check
make check runs the static checks and the fast tests; make ci-local runs every check in .github/workflows/ci.yml. make docs-test runs every page of the documentation as a test, and make docs-gen rewrites the generated reference pages. The decisions behind the design are in docs/adr/.
License
Apache License 2.0. See LICENSE and NOTICE. Third-party components are listed in THIRD_PARTY_LICENSES.md.
Metadata
Release files for flux-sim-engine 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flux_sim_engine-0.2.1.tar.gz | 614.4 kB | With provenance | Details for flux_sim_engine-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flux_sim_engine-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for flux_sim_engine-0.2.1-py3-none-any.whl |
Total release size: 1.3 MB
Release files / flux_sim_engine-0.2.1.tar.gz
| Download URL | flux_sim_engine-0.2.1.tar.gz |
|---|---|
| Size | 614.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e454d344c61ba0d82f28aa8cc6df46e8d5fa3cac8adac0646813e5f24cd193c
|
|
BLAKE2b-256 checksum How to use checksums |
06acb35b5d6d13ecc9a3627d6d30c4a65a86599e00571d5c08131d03de12c285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / flux_sim_engine-0.2.1-py3-none-any.whl
| Download URL | flux_sim_engine-0.2.1-py3-none-any.whl |
|---|---|
| Size | 683.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a93b814a8e3ab5486328ef5f4aac9215976cce770dfe1130aa33f9d9304fa17d
|
|
BLAKE2b-256 checksum How to use checksums |
96539fefe61bc13f8d2760c0b463541ff08376b9f7d2dd58a7ec9a8eff11a2b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for flux-sim-engine 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flux_sim_engine-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.