genblaze-langsmith
LangSmith tracer backend for genblaze — AI-pipeline observability for generative media, with every run, step, and asset traced alongside its SHA-256 provenance manifest.
genblaze-langsmith plugs a LangSmithTracer into genblaze's observability stack, forwarding pipeline spans, provider calls, and manifest events to a LangSmith project. Combine it with genblaze's existing OTelTracer, LoggingTracer, or CompositeTracer for multi-destination tracing across your generative AI workflows.
Why genblaze-langsmith
- End-to-end AI pipeline traces — every provider call (Sora, Veo, Runway, Flux, ElevenLabs, …) appears as a LangSmith span with prompt, model, params, cost, and manifest hash.
- Drop-in tracer — attach to
Pipeline(tracer=…); no code changes to providers or steps. - Composable — wrap with
CompositeTracerto send to LangSmith + OTel + logs simultaneously. - Project-aware — traces land in the LangSmith project of your choice via standard
LANGSMITH_*env vars. - Works offline — tracer no-ops if LangSmith isn't configured; no production risk.
Install
pip install genblaze-langsmith
Quickstart
pip install genblaze-core genblaze-langsmith
export LANGSMITH_API_KEY="..."
export LANGSMITH_PROJECT="genblaze-prod"
from genblaze_core import Modality, Pipeline
from genblaze_core.testing import MockVideoProvider
from genblaze_langsmith import LangSmithTracer
tracer = LangSmithTracer() # reads LANGSMITH_* env vars
run, manifest = (
Pipeline("traced-demo", tracer=tracer)
.step(MockVideoProvider(), model="mock-v1",
prompt="a drone shot over a city at dusk",
modality=Modality.VIDEO)
.run()
)
# Span with prompt, model, manifest hash, duration now appears in LangSmith
print(manifest.canonical_hash)
Compose with other tracers:
from genblaze_core import CompositeTracer, LoggingTracer, OTelTracer
from genblaze_langsmith import LangSmithTracer
tracer = CompositeTracer([LangSmithTracer(), OTelTracer(), LoggingTracer()])
# Pipeline("…", tracer=tracer)…
Credentials
| Env var | Notes |
|---|---|
LANGSMITH_API_KEY |
LangSmith API key |
LANGSMITH_PROJECT |
Target project (optional; defaults to LangSmith default) |
LANGSMITH_ENDPOINT |
Override the LangSmith endpoint (optional) |
Documentation
- Main repo: https://github.com/backblaze-labs/genblaze
- Observability docs: https://github.com/backblaze-labs/genblaze/tree/main/docs/features
Related packages
genblaze-core— the pipeline SDKgenblaze-s3— durable storage on Backblaze B2 and other S3-compatible backends
License
MIT
Metadata
Release files for genblaze-langsmith 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| genblaze_langsmith-0.3.2.tar.gz | 5.8 kB | With provenance | Details for genblaze_langsmith-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genblaze_langsmith-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for genblaze_langsmith-0.3.2-py3-none-any.whl |
Total release size: 11.3 kB
Release files / genblaze_langsmith-0.3.2.tar.gz
| Download URL | genblaze_langsmith-0.3.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb68a3dfd6835370372c333bb1b0fdcd72db9130b72cad283f73f3b4ade302ba
|
|
BLAKE2b-256 checksum How to use checksums |
df936b92a6272151c16ada1a861c3d3f9811f46c7e33934e3bb97938aaa6973e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logRelease files / genblaze_langsmith-0.3.2-py3-none-any.whl
| Download URL | genblaze_langsmith-0.3.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32959b5091625eb08d5cd92f1daa3e845da7cf26c7f05e51f137119be4834bdf
|
|
BLAKE2b-256 checksum How to use checksums |
cb097fe96c8d61032e05322d2b64015b5b7fe3e288589d97d1e60ea07f37ed6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logSecurity for genblaze-langsmith 0.3.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for genblaze_langsmith-0.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logA 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.