Skip to main content

reflexmesh

For actual user files, run reflexmesh workflow recipe.json --workspace /absolute/directory, or start the local workbench with --workspace. The workspace workflow contract covers registered processes, dependency verification, previews, cancellation and native receipts.

Released trained checkpoints are separate downloadable assets: reflexmesh fetch-models --destination models/checkpoints --version v0.01.000 verifies the archive and every model digest before replacing files. Use only project release artifacts: some trained framework formats require trusted model files. The scientific pipeline remains available to rebuild the checkpoints from owned data.

An event-driven software controller with a Rust authority core, Python tool adapters, learned policies and asynchronous language-model coordination. The library is the engine behind Neuraxis.

The controller maintains exact capabilities and resource versions separately from learned recurrent state. A policy proposes a bounded action or requests deliberation. The executor revalidates authority and state before dispatch, records effects durably, and preserves unknown outcomes for reconciliation. Model confidence never grants permission.

Install and execute

Python 3.11+ is required. Source builds require Rust and platform C/C++ build tools. Training and the local workbench server are optional dependencies.

python -m pip install '.[train,server,dev]'
reflexmesh doctor
mkdir workspace
reflexmesh workflow examples/verified-workflow.json --workspace workspace

The example performs a real file write and checks its SHA-256 postcondition through the native broker. It does not call an LLM. Use the Runtime SDK to register files, fixed process templates, explicit HTTP endpoints and application-specific tools. Use Controller to submit dependent goals, subscribe to events and coordinate a slow planner.

from pathlib import Path
from reflexmesh.effectors import WorkspaceFiles
from reflexmesh.runtime import Runtime

root = Path('workspace')
root.mkdir(exist_ok=True)
with Runtime(root, ('file.read', 'file.write')) as runtime:
    WorkspaceFiles(root).register(runtime)
    candidate = runtime.candidate('file.write', {'path': 'answer.txt', 'content': '42'})
    receipt = runtime.execute_candidate(candidate)
    print(receipt['status'])

Scientific pipeline

The owned workload suite contains 20 independent software-effect families, six fault variants and disjoint train/validation/calibration/test environments. It executes disposable real files, local HTTP services and child processes with independent postcondition checks. Twelve policy methods cover FSM, behavior tree, calibrated logistic/XGBoost scoring, GRU behavior cloning, LinUCB, masked PPO, learned-transition lookahead, direct LLM, asynchronous FSM+LLM, learned deferral and recurrent metacontrol.

python -m reflexmesh.pipeline collect --artifacts artifacts
python -m reflexmesh.pipeline train --artifacts artifacts
python -m reflexmesh.pipeline ppo --artifacts artifacts
python -m reflexmesh.pipeline gates --artifacts artifacts --model qwen3.5:4b
python -m reflexmesh.pipeline evaluate --artifacts artifacts --seeds 10

Model-dependent methods require a real configured local Ollama model. No unavailable planner is silently replaced with a rule policy. Raw traces, fitted checkpoints, lineage digests and aggregate statistics remain separate. External benchmarks have independent code/model/data license and environment provenance. Scores on designed workloads do not establish production or AGI performance.

Workbench service

reflexmesh serve --checkpoints artifacts/checkpoints --artifacts artifacts/evaluation --model qwen3.5:4b

The service binds loopback and prints a session token. Every executable endpoint requires that token and the same origin. The service executes registered disposable workloads; public static replays have no host-tool authority.

Evidence and limits

Fast/slow routing, recurrent policies, predictive control and learned deferral are prior art. The research hypothesis concerns outcome-grounded deliberation allocation under asynchronous state change, resource-versioned proposals and persistent effect residuals. It requires matched held-out comparisons and component ablations. Implementation alone does not establish novelty or superiority.

This is a process-level coordination library, not an operating-system sandbox or a hard real-time system. A cancelled request does not imply rollback or cancellation of a remote provider. Hostile native executables require independent isolation. See runtime contracts, native architecture, contributing and security.

Authored source is Apache-2.0. External models, data and benchmarks retain their own licenses.

Release files for reflexmesh 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reflexmesh 0.1.0
File Size Uploaded
reflexmesh-0.1.0.tar.gz 154.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for reflexmesh 0.1.0
File
reflexmesh-0.1.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
reflexmesh-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
reflexmesh-0.1.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
reflexmesh-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
reflexmesh-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
reflexmesh-0.1.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
reflexmesh-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
reflexmesh-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
reflexmesh-0.1.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 5.9 MB

Release files / reflexmesh-0.1.0.tar.gz

Download URL reflexmesh-0.1.0.tar.gz
Size 154.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2964c5cd92df0b66613cc11530d1a3dfa8e97fd4bd0aa43b5303bfe0dc744049
BLAKE2b-256 checksum
How to use checksums
044b4c767e49741ef393a4999224ea95641dbf65b4cd5e0af23956ad3b2aec81
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp313-cp313-win_amd64.whl

Download URL reflexmesh-0.1.0-cp313-cp313-win_amd64.whl
Size 581.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0a51b48d364a2d616099bea34dd247fd50897c33b08403159baabfa3f45fd1c2
BLAKE2b-256 checksum
How to use checksums
88382aef21d660e2a6f19e5aa4fcc3c298c63bfd18d5843ee901301b2b3cd566
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL reflexmesh-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 703.6 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dbe51dcf2bd15b25741fd847f916934550dc741e396e5154ef4236ffd0088480
BLAKE2b-256 checksum
How to use checksums
468b5799af0557017ab71a80158f791c031b7b38b81f7b937e91e2b6fe9ad3be
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL reflexmesh-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Size 634.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
70c6c9972f29fcd1ce4fa149a23bed299c3ce4336135f9cb4d536b0805119081
BLAKE2b-256 checksum
How to use checksums
230bec39e99a7287eaed85a149c7cf691482be375d5d9a9fd45b6a9d7572eba4
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp312-cp312-win_amd64.whl

Download URL reflexmesh-0.1.0-cp312-cp312-win_amd64.whl
Size 581.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a31015af7540902b87c50800a7d0108d88c729789801698eda2abbad7225119c
BLAKE2b-256 checksum
How to use checksums
c4491317265a43a954621c682e49eb2e72038f5c8def24c8df24487844f877eb
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL reflexmesh-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 703.6 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cf6bc0a0566ee3f4d9c4034716706d5f14cd7cf3ead6f0e1078552d5b72d0842
BLAKE2b-256 checksum
How to use checksums
157fce9d803a63d796149baeffc37ceb9d96a8c971a51d599d132d4f0973fd63
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL reflexmesh-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Size 634.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ca4352ac284860577e5da3992debb2397c55e320824921eef2d445dbd44b437e
BLAKE2b-256 checksum
How to use checksums
ceb34f94d4b009aa5a1dbf89258d76bc5ff7831639030fa8cf06f218f398f7ec
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp311-cp311-win_amd64.whl

Download URL reflexmesh-0.1.0-cp311-cp311-win_amd64.whl
Size 581.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
70689fbfd54c14c1eb22927702ced354404288bf71df1b3c877d89b5dbe2cd75
BLAKE2b-256 checksum
How to use checksums
3ed619fa1bd6e3c863b7cb3cb356f46936e1149b8270b2be3649849efc6ba401
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL reflexmesh-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 703.6 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
12ae4256126ca9d0e6a088415e9a402180678081507cdd3a2d1df84dcd416893
BLAKE2b-256 checksum
How to use checksums
6af63c47fa0c4fa2dbbc407ed9ceb764ee255994bbff08b352fe2199673f42d8
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 Sep 24, 2026.

Transparency log

Release files / reflexmesh-0.1.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL reflexmesh-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Size 634.8 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0658b06c01fb37af57a1c9048a6a7f5342bd39e6d1004e5cf12c329d0196ee1d
BLAKE2b-256 checksum
How to use checksums
11d64e10f5ae32f086a6de6b560f4feea9ede534d8e3a9afbc7757a09e0caa01
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 Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

10 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page