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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

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

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

Download URL algovoi_otel_genai-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f5d2d8c3e07f166456edc5b65cab086fafd80ed8d16781b514adfc2106a1ea4
BLAKE2b-256 checksum
How to use checksums
e4e79b6d829413d6ec13044183bd41a88337003d8535e7bf31c219fc6f7f4895
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.1.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