This release is a pre-release and may not be stable for production use.
Paracosm
Deterministic simulated worlds with optional model-neutral habitat minds. Python 3.14+. Uses Thoughtform contracts without a mandatory model or harness.
from thoughtform import Being
from paracosm import Habitat, Resident, Snapshot, World
world = World(Snapshot('pluralopia', (Habitat('woods', 'The Woods'),),
(Resident(Being('alice', 'Alice'), 'woods'),
Resident(Being('bob', 'Bob'), 'woods'))))
result = world.step({}) # Missing policies propose wait; one deterministic tick.
assert result.snapshot.tick == 1
A policy implements decide(Observation) -> Action. Actor IDs determine call
order, and every observation comes from the same immutable pre-step snapshot.
Validate all proposals before committing any state. Unknown actors, identity
spoofing, unsupported actions and invalid targets preserve the entire step.
Trusted policy code is ordinary Python, not a sandbox. Reentrant steps fail.
Initial actions are wait, resident move, text say, and habitat-mind
condition. A mind is an explicit Habitat(..., mind=Being(...)); its policy
can propose condition changes only for that habitat. Role labels alone do not
grant authority. A model's text cannot rewrite the authoritative world.
Step returns the next immutable snapshot and accepted actions. This initial
in-memory foundation does not persist history or claim model inference replay.
Backpack snapshot/event storage, rule/version compatibility, learned minds and
experience exports have separate owning tasks. There are at most 32 habitats
and 128 total actors; observation/action text is explicitly bounded.
Run uv sync, uv run paracosm for the offline two-being example, and
PYTHONPATH=src python -m unittest discover -s tests for deterministic/atomicity
checks. CI qualifies wheel/source installations on Linux, macOS and Windows.
Metadata
Release files for paracosm 0.1.0a1
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 |
|---|---|---|---|---|
| paracosm-0.1.0a1.tar.gz | 9.0 kB | With provenance | Details for paracosm-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paracosm-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for paracosm-0.1.0a1-py3-none-any.whl |
Total release size: 15.0 kB
Release files / paracosm-0.1.0a1.tar.gz
| Download URL | paracosm-0.1.0a1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2d9c0a92c22ba20a319f86eb49dfaecdee3b03d7cf256d1ca0670dd152f39dc
|
|
BLAKE2b-256 checksum How to use checksums |
6afac07b3134b0d8c69a1d5e16b26679845ce2be6607265e92ebe74584e84e97
|
| 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 24, 2026.
Transparency logRelease files / paracosm-0.1.0a1-py3-none-any.whl
| Download URL | paracosm-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c475482e0ea9295d9e812c4839c21d145e1c136db1bc7163a39c427a2eb6f75b
|
|
BLAKE2b-256 checksum How to use checksums |
2d20cf0cbb8a4808a48b58800ec32e325fce2f5e4a6ba6cc0ce805600744024d
|
| 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 24, 2026.
Transparency logSecurity for paracosm 0.1.0a1
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 paracosm-0.1.0a1.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 24, 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.