Culsma is the public reference implementation of the current Culsma language and execution stack. The public release is distributed as a Python-based CLI.
This repository intentionally contains only the executable core:
src/culsma/parser/src/culsma/pipeline/src/culsma/runtime/src/culsma/driver/src/culsma/stdlib/tests/
It intentionally leaves out manuscript sources, MCP tooling, editor integrations, and internal design-workspace documents.
Install
For the current public release, install from PyPI:
python -m pip install culsma
You can also install directly from the v1.0.4 tag:
python -m pip install "culsma @ git+https://github.com/culsma/culsma.git@v1.0.4"
Release notes are in CHANGELOG.md.
The public language reference is maintained in the companion
culsma-reference repository/worktree.
Repository Layout
src/culsma/parser/ grammar, AST, and source loading
src/culsma/pipeline/ compile, validate, typecheck, and plan lowering
src/culsma/runtime/ execution state, events, and material compute
src/culsma/driver/ backend boundary and concrete drivers
src/culsma/stdlib/ bundled standard-library source
tests/ regression and runtime tests
Quick Run
Create a small protocol file:
cat > /tmp/culsma-smoke.culs <<'CULSMA'
protocol CliSmoke {
let sample = tube(label = "AcquisitionSample", capacity = 2000uL, load = [content(kind = "biosample", code = "S1", type = "cell_sample"):1000uL]);
return sample;
}
CULSMA
Then run it:
culsma /tmp/culsma-smoke.culs
This prints a compact terminal result, including the returned tube/container state.
The explicit run form is equivalent:
culsma run /tmp/culsma-smoke.culs
If you want the machine-readable run output on stdout:
culsma run /tmp/culsma-smoke.culs --json
The run output separates the protocol return from the generated lab report:
returns is the program output, while report is the execution/reporting
summary.
If you want to save the machine-readable run output explicitly:
culsma run /tmp/culsma-smoke.culs --output tmp/result.json
If you want intermediate and debug artifacts as well:
culsma run \
/tmp/culsma-smoke.culs \
--artifacts-dir tmp/run
If you are running from a source checkout without the console entrypoint on
PATH, use:
python -m culsma /tmp/culsma-smoke.culs
You can also replay a saved run artifact:
culsma replay --run-json tmp/run/run.json --out tmp/replayed_state.json
Run Tests
python -m pytest -q
More
- Documentation: culsma.dev
- Paper and citation: Culsma: A Formal Language for Laboratory Protocols (bioRxiv preprint)
- Software DOI: 10.5281/zenodo.20059616
- Reference DOI: 10.5281/zenodo.20059696
- Latest GitHub release: github.com/culsma/culsma/releases/latest
- Changelog: CHANGELOG.md
- Release process: RELEASE.md
- Support policy: SUPPORT.md
Release Boundary
- This repository is the public code boundary for Culsma v1.0.x.
- Public smoke validation uses generated protocol source rather than bundled example files.
- This repository is licensed under Apache-2.0. See
LICENSE.
Support and Maintenance Policy
Culsma is a public open-source reference implementation of the Culsma language and execution stack.
The repository is published as-is. Maintainer review is limited to narrowly scoped, reproducible defects in the current public baseline. General support, custom integration help, roadmap requests, and broad feature requests are out of scope for the public issue tracker.
Metadata
Release files for culsma 1.0.5
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 |
|---|---|---|---|---|
| culsma-1.0.5.tar.gz | 249.3 kB | With provenance | Details for culsma-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| culsma-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for culsma-1.0.5-py3-none-any.whl |
Total release size: 468.8 kB
Release files / culsma-1.0.5.tar.gz
| Download URL | culsma-1.0.5.tar.gz |
|---|---|
| Size | 249.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37a496a4a28ca0ff02608248d27001a3fad65926775ca5f0f84e0fce0c82face
|
|
BLAKE2b-256 checksum How to use checksums |
084a0e9d92e7c5722fd314d8116ff6d855c8bf9fb70b1f8f94dc3f39c214b378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 1, 2026.
Transparency logRelease files / culsma-1.0.5-py3-none-any.whl
| Download URL | culsma-1.0.5-py3-none-any.whl |
|---|---|
| Size | 219.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
771b1260556cdbbf549a90b45d08f51a87824933070fde411ca5a9cee9e2e33d
|
|
BLAKE2b-256 checksum How to use checksums |
766f301f4fd37d42da7644033d433704abe14fcac95572ea942e09de8eee39d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 1, 2026.
Transparency logSecurity for culsma 1.0.5
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 culsma-1.0.5.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 Aug 1, 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.