Skip to main content

The durable-execution substrate: one global_execution spine, one lifecycle state machine, one cost ledger, that every matrx-* executor (agent loop, workflow superstep, utilities) plugs into.

Project description

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, denormalized root_execution_id)
  • the lifecycle state machine (transition() — the only legal way to change status)
  • the cost ledger + tree-wide budget (forthcoming)
  • cancellation signal + down-tree propagation (forthcoming)
  • generalized checkpoint + lifecycle-event primitives (forthcoming)
  • the hardened write coordinator (moving in from matrx-ai)
  • the typed runtime context (forthcoming)

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: pre-alpha. The pure decision core (lifecycle + spine models) is in place; the persistence/coordinator/context drops follow. Built behind a /v2 route; the legacy cx_* / wf_* paths are untouched until cutover.

Design + phased plan: docs/runtime/EXECUTION_SPINE.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matrx_runtime-0.0.1.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matrx_runtime-0.0.1-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file matrx_runtime-0.0.1.tar.gz.

File metadata

  • Download URL: matrx_runtime-0.0.1.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matrx_runtime-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1a4b779aa510d9f30930a01981fec1992a19e517ccf09053cee21b1e4feafecd
MD5 7c726fb7a681d22d51104066eb57986e
BLAKE2b-256 bb4743be60ac2ce3c28e2370ac9efabbd7aafc4437eba3f01f4c30cb00a26e86

See more details on using hashes here.

Provenance

The following attestation bundles were made for matrx_runtime-0.0.1.tar.gz:

Publisher: publish-package.yml on AI-Matrix-Engine/aidream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file matrx_runtime-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: matrx_runtime-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for matrx_runtime-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bbbf8d5c4b3bfee4d85af46290778dbf84b0e4af2408d4d5dde95157c2e1f12f
MD5 886eaeb6234cfac0a49ec934157123f1
BLAKE2b-256 24d110127f6a224fdec9abf8149f6234a914e2c3d0d0137ae0d6aebfea7a4f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for matrx_runtime-0.0.1-py3-none-any.whl:

Publisher: publish-package.yml on AI-Matrix-Engine/aidream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page