Skip to main content

Kindred Tracing (Python)

OpenTelemetry-backed tracing SDK with Lemma-style trace contract.

import os
from kindred_tracing import kindred_trace, async_trace

kindred_trace.init(
    service_name="my-agent",
    # Defaults to https://api.usekindred.dev/v1/traces when KINDRED_API_KEY is set
    api_key=os.environ["KINDRED_API_KEY"],
    agent_id=os.environ.get("KINDRED_AGENT_ID"),
)

await async_trace(
    {"name": "support-agent", "input": user_message, "thread_id": session_id},
    run,  # async def run(trace): ...
)

# Flush once on shutdown (do not open a dummy root span)
kindred_trace.flush()
# or: kindred_trace.shutdown()

See the Kindred repo docs under docs/tracing/otel/ for full setup and the replay endpoint contract.

Metadata

Release files for kindred-tracing 0.1.2

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

Source distribution (sdist)

Source distribution for kindred-tracing 0.1.2
File Size Uploaded Provenance Actions
kindred_tracing-0.1.2.tar.gz 9.6 kB Without provenance Details for kindred_tracing-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kindred-tracing 0.1.2
File Interpreter ABI Platform Actions
kindred_tracing-0.1.2-py3-none-any.whl Python 3 none any Details for kindred_tracing-0.1.2-py3-none-any.whl

Total release size: 21.5 kB

Release files / kindred_tracing-0.1.2.tar.gz

Download URL kindred_tracing-0.1.2.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
76e0a6920aac4f1a39525a49f92295dc913319dbb06550c6925ed50f797087f3
BLAKE2b-256 checksum
How to use checksums
b64f18a1e05398a8cbe15a26d7899312fab5bee3b34171083536726df44a97ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / kindred_tracing-0.1.2-py3-none-any.whl

Download URL kindred_tracing-0.1.2-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6a43aa0ebdaf8b13fd52a9b7597edcbeeaf78f72300d9bae7c2f18cb6e61767
BLAKE2b-256 checksum
How to use checksums
881dcd93faa7257a254bbb68ac6a31952879f5855a68194ea709ce8839f1a195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for kindred-tracing 0.1.2

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