Skip to main content

pytracer-langgraph

pyTracer adapter for LangGraph and LangChain. It auto-instruments an agent through LangChain's callback system, so you do not add @op by hand: model calls, tool calls, and graph nodes are captured as pyTracer spans automatically.

import pytracer_sdk as pytracer
from pytracer_langgraph import PyTracerCallbackHandler

pytracer.configure(
    pytracer.HTTPTransport("https://gateway.internal", api_key="YOUR_KEY"),
    service_name="my-agent", branch="main", commit="abc123",
)

handler = PyTracerCallbackHandler()
app.invoke(inputs, config={"callbacks": [handler]})   # spans captured for this run

on_chat_model_start / on_llm_start become LLM spans, on_tool_start become tool spans, and LangGraph nodes become agent spans, all linked into one trace by the run tree.

Replay

This adapter captures runs. Replaying a captured run currently requires @op instrumentation, because the replay engine intercepts @op calls; replay through the adapter itself is on the roadmap. Attempting to replay an adapter-only trace is flagged (the run has recordings but hits no @op seam) rather than silently running live. See the main README for the replay workflow.

Metadata

Release files for pytracer-langgraph 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 pytracer-langgraph 0.1.2
File Size Uploaded Provenance
pytracer_langgraph-0.1.2.tar.gz 7.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytracer-langgraph 0.1.2
File Interpreter ABI Platform
pytracer_langgraph-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / pytracer_langgraph-0.1.2.tar.gz

Download URL pytracer_langgraph-0.1.2.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e818395ee08853c651e420a9ea38b6edb786ecab283d4937ae2b4f36bf343ed7
BLAKE2b-256 checksum
How to use checksums
af5a04b2361fe002ebfa4e82926ce89ab548f1f569cc2b3c327b0b3b0f62a156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

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

Download URL pytracer_langgraph-0.1.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0de4985a1c4389120e2c1b259a5198acee2cb9512215252ca61a7227f8625522
BLAKE2b-256 checksum
How to use checksums
25d7f2649e73d4551e57850e4f78858d46a64781c2e79bb7d86bf8ae452a44b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 21, 2026.

Transparency log

Security for pytracer-langgraph 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytracer_langgraph-0.1.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 Oct 21, 2026.

Transparency log

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