Skip to main content

algovoi-keystone-autogen

Carry an AlgoVoi keystone decision into an AutoGen conversation. The decision's content-addressed execution_ref rides on a message's metadata under algovoi.keystone.* (never inside an AutoGen reserved field), so anyone reading the conversation recomputes it offline with only JCS (RFC 8785) and SHA-256 and confirms the action is consistent with the decision that authorized it.

from algovoi_keystone_autogen import stamp_message, verify_trace_execution_ref

stamp_message(
    message,
    decision_ref="sha256:2a444c62...", action_type="payment", scope="bilateral",
    outcome="COMMITTED", executed_at_ms=1716460800000,
)
verify_trace_execution_ref(message.metadata)   # True iff execution_ref recomputes

keystone_message_metadata(...) returns the dict if you prefer to merge it yourself. The package never imports AutoGen (it stamps any object with a metadata dict, or a dict message), so there is no version coupling. Apache-2.0.

Metadata

Release files for algovoi-keystone-autogen 0.4.1

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

Source distribution (sdist)

Source distribution for algovoi-keystone-autogen 0.4.1
File Size Uploaded Provenance Actions
algovoi_keystone_autogen-0.4.1.tar.gz 7.6 kB Without provenance Details for algovoi_keystone_autogen-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-keystone-autogen 0.4.1
File Interpreter ABI Platform Actions
algovoi_keystone_autogen-0.4.1-py3-none-any.whl Python 3 none any Details for algovoi_keystone_autogen-0.4.1-py3-none-any.whl

Total release size: 15.9 kB

Release files / algovoi_keystone_autogen-0.4.1.tar.gz

Download URL algovoi_keystone_autogen-0.4.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d06198ad5c027e9182986c6dfa253dea23dc246331805b03ee436340f70125b8
BLAKE2b-256 checksum
How to use checksums
aadf652586f2a8ed1aa5db41339f87ddb3df778a5a5954eaa0e27f77a06da767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / algovoi_keystone_autogen-0.4.1-py3-none-any.whl

Download URL algovoi_keystone_autogen-0.4.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
758556a65c872b73e885b9e6f14ff254354f62175052c1bc43146e9f6f71a8a7
BLAKE2b-256 checksum
How to use checksums
85e82c602783a5d93e970edf66b054241c86d5f14a9aa6eac263b372ca4e71c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for algovoi-keystone-autogen 0.4.1

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.

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