matrx-runtime
The durable-execution substrate for the Matrx platform.
Every unit of work — a utility call, a workflow run, an agent session — is one
row on a single global_execution spine that can nest inside any other. The
substrate owns the concerns all three flavors share, so they compose freely and
share one lifecycle, one nesting tree, one cost ledger, and one enforced state
machine:
- run identity + lineage (
parent_execution_id, denormalizedroot_execution_id) - the lifecycle state machine (
transition()— the only legal way to change status) - the cost ledger + tree-wide budget and quantity limits
- cancellation, deadlines, and down-tree propagation
- generalized checkpoints, leases, recovery, and lifecycle events
- pluggable durable stores (
InMemoryExecutionStoreandOrmExecutionStore) - immutable per-execution context snapshots with explicit inheritance modes
ContextMode.INHERIT deep-copies the parent's snapshot, SCOPE overlays
explicit narrower values, and destructive REPLACE requires a complete
replacement context. Omitting that replacement raises
MissingReplacementContext both at the engine spawn boundary and in
ExecutionContext.derive; silent context erasure is not a valid operation.
Executors plug in as strategies and are NOT owned here: the agent loop
(matrx-ai), the superstep DAG (matrx-graph), utility implementations
(matrx-scraper).
Status: active. The decision core, durable ORM store, context propagation, metering, budget/cancel/deadline gates, leases, recovery, checkpoints, and request/execution lifecycle are implemented. aidream adopts them through its host integration; domain payloads and entity lookup remain host-owned so this package stays independent and payload-blind.
Design + phased plan: docs/runtime/EXECUTION_SPINE.md.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matrx_runtime-0.0.24.tar.gz.
File metadata
- Download URL: matrx_runtime-0.0.24.tar.gz
- Upload date:
- Size: 83.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1176c2f53ec1c11d085b4e4d40663cbef2f0a6814869bbf72b00e961a7984fc5
|
|
| MD5 |
aaec72f3c515ee798aca64882ac49e35
|
|
| BLAKE2b-256 |
e954cf99e913d0632f01ed4ba2a86ef74345f161d16e3b5c046833f94c6e35bb
|
Provenance
The following attestation bundles were made for matrx_runtime-0.0.24.tar.gz:
Publisher:
publish-package.yml on AI-Matrix-Engine/aidream
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matrx_runtime-0.0.24.tar.gz -
Subject digest:
1176c2f53ec1c11d085b4e4d40663cbef2f0a6814869bbf72b00e961a7984fc5 - Sigstore transparency entry: 2458873991
- Sigstore integration time:
-
Permalink:
AI-Matrix-Engine/aidream@e7060df44331d3a16e087cd0f24021701da35608 -
Branch / Tag:
refs/tags/matrx-runtime/v0.0.24 - Owner: https://github.com/AI-Matrix-Engine
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e7060df44331d3a16e087cd0f24021701da35608 -
Trigger Event:
push
-
Statement type:
File details
Details for the file matrx_runtime-0.0.24-py3-none-any.whl.
File metadata
- Download URL: matrx_runtime-0.0.24-py3-none-any.whl
- Upload date:
- Size: 57.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
404be9f50e01107e86d7ca808907677329d25040ad41a6ab53a519f4e174a869
|
|
| MD5 |
46e39e69ab0cde71cdb4c35d91096f33
|
|
| BLAKE2b-256 |
cfa2b4a2e3a4257109be53b2153353c289905b1fb18117e036d7ecc6efbee3f3
|
Provenance
The following attestation bundles were made for matrx_runtime-0.0.24-py3-none-any.whl:
Publisher:
publish-package.yml on AI-Matrix-Engine/aidream
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matrx_runtime-0.0.24-py3-none-any.whl -
Subject digest:
404be9f50e01107e86d7ca808907677329d25040ad41a6ab53a519f4e174a869 - Sigstore transparency entry: 2458874031
- Sigstore integration time:
-
Permalink:
AI-Matrix-Engine/aidream@e7060df44331d3a16e087cd0f24021701da35608 -
Branch / Tag:
refs/tags/matrx-runtime/v0.0.24 - Owner: https://github.com/AI-Matrix-Engine
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@e7060df44331d3a16e087cd0f24021701da35608 -
Trigger Event:
push
-
Statement type: