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.5.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.5.0
File Size Uploaded Provenance Actions
algovoi_otel_genai-0.5.0.tar.gz 9.1 kB Without provenance Details for algovoi_otel_genai-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / algovoi_otel_genai-0.5.0.tar.gz

Download URL algovoi_otel_genai-0.5.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8709b35baa37ce2eac0ed73f7c63a3df36507d3b6433b98ee9bf732c7114702e
BLAKE2b-256 checksum
How to use checksums
45f5e4e116605dbdd06ffbd02c77db14a70f8a108e6c2bcd45ec426741cc03ec
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.5.0-py3-none-any.whl

Download URL algovoi_otel_genai-0.5.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d3b0940d07750a5a55f0a526a128b7607f737c99081d821d38ac77d97866cd7
BLAKE2b-256 checksum
How to use checksums
28ac9f560ab66b6f40e770d78ea88ffc41dff5bb4838381beae060b0a79a4c94
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.5.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