Skip to main content

memultra

The memory gate, model-free tier. A RecallResult verification gate with a frozen output contract (v1.0.0): canonical bytes in, deterministic routing verdict out. Zero models, zero API keys, zero network — the entire package runs inside an empty network namespace.

Quickstart (under 5 minutes, no cloud)

# 1. install (pipx from PyPI, or from a local wheel - both work offline-first)
pipx install memultra
#   offline/local:  pipx install ./memultra-1.0.0-py3-none-any.whl

# 2. write a RecallResult (canonical form; see `memultra route` docs)
cat > result.json <<'EOF'
{"schema_version": "1.0.0", "confidence_score": 0.72,
 "calibration_provenance": "k_of_c", "band": "HIGH",
 "gate_decision": "pass", "prescribed_action": "engineering_loop_with_sanity_check",
 "speculative_tainted": false, "speculative_node_count": 0,
 "provenance": [{"node_id": "node-1", "source_path": "src/gate.py",
   "content_hash": "sha256:9f2c4e71a0b3d58f", "verified": true,
   "verified_at": "2026-11-27T18:03:12Z", "speculative": false}],
 "provenance_total": 1, "provenance_truncated": false,
 "candidates": ["src/gate.py"], "degraded_modes": [],
 "loop_state": "unrouted"}
EOF

# 3. verify + route - fully offline
memultra verify            # conformance suite: 41 tests, PASS
memultra route result.json # deterministic verdict JSON

# 4. prove it cannot phone home
memultra offline --verify -- memultra verify   # PASS: 0 network syscalls

MCP stdio server (zero network, zero keys):

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}
{"jsonrpc":"2.0","id":3,"method":"tools/call",
 "params":{"name":"memultra_route","arguments":{"payload":{...}}}}
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | memultra serve

What's inside

piece what it is
memultra.contract the frozen contract engine: schema.json (v1.0.0), canonical byte encoder, reference consumer/route()
memultra.conformance the conformance suite (41 tests) + golden fixtures + the mutation suite
memultra.mcp MCP stdio server: memultra_verify, memultra_route, memultra_schema
memultra.offline network-enforcement wrapper (unshare -n / bwrap --unshare-net + strace evidence)

Runtime dependencies: none. Test dependency: pytest only.

Contract

Output contract hippocampus/epistemic-gate v1.0.0, version-locked: the package asserts on import that its schema matches the frozen contract version. Any threshold, band or semantic change is a major bump.

License

Apache-2.0 (see LICENSE). Verification tooling and evidence bundles also Apache-2.0; nothing phones home anywhere — asserted in CI.

Metadata

Release files for memultra 1.0.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 memultra 1.0.0
File Size Uploaded Provenance Actions
memultra-1.0.0.tar.gz 59.2 kB Without provenance Details for memultra-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memultra 1.0.0
File Interpreter ABI Platform Actions
memultra-1.0.0-py3-none-any.whl Python 3 none any Details for memultra-1.0.0-py3-none-any.whl

Total release size: 155.4 kB

Release files / memultra-1.0.0.tar.gz

Download URL memultra-1.0.0.tar.gz
Size 59.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce96e849e7990d50a8fc8d31f86fcaf1ed6a2a136cc7ddcb98b208936f59a13d
BLAKE2b-256 checksum
How to use checksums
557a9fca9248cecacfa6aca052bfd11b543b8eb8508762debbf6be67ddcadfe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / memultra-1.0.0-py3-none-any.whl

Download URL memultra-1.0.0-py3-none-any.whl
Size 96.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c30a6a1723ecf338c4f87a50bc21251ac6604c98e73e89f813979f9ffd3cb941
BLAKE2b-256 checksum
How to use checksums
5be7bf5582b34470e1e2ae05f66eb0719a03a5df23fc78f16a4c943e9b9c6797
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for memultra 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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