Skip to main content

algovoi-otel-genai

Map an AlgoVoi keystone decision to OpenTelemetry gen_ai.agent.* attributes (open-telemetry/semantic-conventions-genai), and attach algovoi.keystone.execution_ref as an open, recomputable cross-producer key.

The standard gen_ai.agent.* trust/drift/scan attributes are producer-emitted and opaque. This adapter emits them from a keystone decision and adds execution_ref = "sha256:" + SHA-256(JCS({decision_ref, action_type, scope, outcome, executed_at_ms})), which any consumer recomputes from the span alone with only JCS (RFC 8785) + SHA-256. It binds the action to the authorizing decision_ref (consistency, not just correlation).

from algovoi_otel_genai import to_gen_ai_attributes, verify_gen_ai_execution_ref
attrs = to_gen_ai_attributes(decision_ref=dr, action_type="payment", scope="payments/transfer",
                             outcome="COMMITTED", executed_at_ms=1716460800000,
                             public_key_algorithm="ml-dsa-65",
                             trust={"score": 0.92, "method": "atb-v2"})
assert verify_gen_ai_execution_ref(attrs)   # recomputes execution_ref from the span, offline

Apache-2.0.

Metadata

Release files for algovoi-otel-genai 0.4.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-otel-genai 0.4.0
File Size Uploaded Provenance Actions
algovoi_otel_genai-0.4.0.tar.gz 9.1 kB Without provenance Details for algovoi_otel_genai-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-otel-genai 0.4.0
File Interpreter ABI Platform Actions
algovoi_otel_genai-0.4.0-py3-none-any.whl Python 3 none any Details for algovoi_otel_genai-0.4.0-py3-none-any.whl

Total release size: 18.1 kB

Release files / algovoi_otel_genai-0.4.0.tar.gz

Download URL algovoi_otel_genai-0.4.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e4127edc9943366d3f0048bc3cc5b983b2e3e378b9966d4487aa851e7b407973
BLAKE2b-256 checksum
How to use checksums
c7e92ce2a384e3a2ce729eadc2d6eb6fd845fa1a40ff7356254ab35b8fb317a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / algovoi_otel_genai-0.4.0-py3-none-any.whl

Download URL algovoi_otel_genai-0.4.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efbb708cdfb95065329f4c40b732454f55a570b35c725b3796b68b19f4ff8833
BLAKE2b-256 checksum
How to use checksums
a53250b57ae472dc2b836f48a6a4705a1e079ef3e43295698071340c98135e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for algovoi-otel-genai 0.4.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.

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