Skip to main content

Compute a content-addressed journey_ref over an A2A task run (hops + outcome, open tier); byte-compatible with the AlgoVoi commercial journey tier (Apache-2.0)

Project description

algovoi-a2a-journey

Keystone Enabled

Compute a content-addressed journey_ref over an A2A multi-agent task run — the ordered hops plus the outcome — and detect tampering. Open tier, Apache-2.0. Python and TypeScript byte-for-byte identical, and byte-compatible with the AlgoVoi commercial journey tier.

Keystone Enabled — discovered by the AlgoVoi keystone control panel. Verify it yourself: pip install algovoi-keystone-control && keystone-verify algovoi-a2a-journeyPASS.

journey_ref = "sha256:" + SHA-256(JCS({
    "delegations": [],          # always empty in the open tier (moat boundary)
    "hops":        [execution_ref, ...],
    "journey_outcome": "COMPLETE" | "PARTIAL" | "ABORTED",
}))
from algovoi_a2a_journey import journey_ref, tamper_detected

ref = journey_ref(
    hops=["sha256:" + "a" * 64, "sha256:" + "b" * 64],   # one execution_ref per agent hop
    outcome="COMPLETE",
)

# anyone can recompute and detect tampering with no AlgoVoi service:
tamper_detected(ref, ["sha256:" + "a" * 64, "sha256:" + "b" * 64], "COMPLETE")  # -> False

What the open tier does and does not do

Open tier (this package) Commercial tier
Content-addressed journey_ref yes yes
Tamper detection (recompute) yes yes
Delegation-chain proofs (scope not widened, no hop omitted, no revoked grant) yes
PQC-signed journey evidence + CCC ingest yes

The open tier lets you hash a task run, not prove it. delegations is always [] — proving the chain's properties is the commercial Orchestrator. Upgrading requires no migration: the open journey_ref is byte-identical to the commercial one called with delegations=[].

Keystone control panel

This package registers a journey_a2a source under the algovoi.keystone.steps entry-point group, so the AlgoVoi keystone control panel auto-detects it as a journey-stage source.

License

Apache-2.0. Copyright AlgoVoi.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

algovoi_a2a_journey-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file algovoi_a2a_journey-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for algovoi_a2a_journey-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 815d84f5dc6abc6747438b9d29f7942d1c27b77c01937bbb85dc62e7e7529b1e
MD5 48f30eaf23bb0f54276a3234c2ad2992
BLAKE2b-256 6cdb39e7bfaf333849608a25f09ee107ac1dc055f01035401f435653e8f39397

See more details on using hashes here.

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