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

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / algovoi_otel_genai-0.4.1.tar.gz

Download URL algovoi_otel_genai-0.4.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
950567bdaf5c375ff2cbaa1bddf0f815b23e1ad5256cc44e219b27c3dcd26eb1
BLAKE2b-256 checksum
How to use checksums
ca8e31ba5c6335d9aa74977d3743e4617f3705b9f3898be488dd377cb98509f5
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.1-py3-none-any.whl

Download URL algovoi_otel_genai-0.4.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae0833ab69ed4349b816629530ea435f090f5db0a7977f253b9c294d33ab6df4
BLAKE2b-256 checksum
How to use checksums
0efaf6b886ff69bf27fd5d028e6e08c920f771db6fe6fdc97a2a2dd35eed9d20
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.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