Skip to main content

algovoi-journey-ref

Content-addressed journey references for the AlgoVoi substrate: bind a whole multi-agent task (its hops, the delegations between them, and a closed outcome) into one reference that recomputes from its own bytes.

journey_ref = "sha256:" + SHA-256(JCS(RFC 8785)({ delegations, hops, journey_outcome }))

hops and delegations are ordered lists of "sha256:"-prefixed refs; journey_outcome is one of COMPLETE, PARTIAL, ABORTED. Construction and tamper-detection only, fully offline: any change to the envelope changes the ref.

Install

pip install algovoi-journey-ref

Use

from algovoi_journey_ref import journey_ref, tamper_detected

ref = journey_ref({
    "hops": ["sha256:" + "a" * 64],
    "delegations": [],
    "journey_outcome": "COMPLETE",
})
assert not tamper_detected(ref, {"hops": ["sha256:" + "a" * 64],
                                 "delegations": [], "journey_outcome": "COMPLETE"})

Apache-2.0. Byte-identical to the TypeScript twin.

Metadata

Release files for algovoi-journey-ref 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 algovoi-journey-ref 0.1.0
File Size Uploaded
algovoi_journey_ref-0.1.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-journey-ref 0.1.0
File Interpreter ABI Platform
algovoi_journey_ref-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / algovoi_journey_ref-0.1.0.tar.gz

Download URL algovoi_journey_ref-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8144fac8e69884a9730eb5bc942413af9e78b249cbd869b948c715c8fdb51ce7
BLAKE2b-256 checksum
How to use checksums
41864df2fc3858664e8eae0b5b498d452330f5b08ace1b732babe7dedbeca22a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / algovoi_journey_ref-0.1.0-py3-none-any.whl

Download URL algovoi_journey_ref-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3594d6724c119a09342bdb064b52f3afcbaf940af3fcd4d276b1721d26492cd4
BLAKE2b-256 checksum
How to use checksums
ce8ff5304c2c9d7149fdb06e211fd2716f15bd8364b6ff9ddd606026bb566919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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