Skip to main content

parlot-instrumentation-langgraph

MIT OpenTelemetry instrumentation for LangGraph / LangChain agents — the text/webchat path into Parlot.

Parlot’s lead product is production voice AI observability on LiveKit. Use this package when you already run voice and want the same debugger for LangGraph / LangChain sessions (same turn model — not a separate observability product). Prefer parlot-instrumentation-livekit for voice agents.

pip install parlot-instrumentation-langgraph
# or: uv add parlot-instrumentation-langgraph
# or: pip install "parlot[langgraph]"
from parlot.instrumentation.langgraph import configure

configure(agent_id="support-bot", version="0.1.0", channel="webchat")

# Normal LangGraph usage — no per-call callbacks required
graph.invoke(
    {"messages": [("user", "Hello")]},
    config={"configurable": {"thread_id": "demo-1"}},
)

If thread_id is not provided, Parlot mints one automatically (anon-…) so contract spans still attach to a session.

Pass channel (e.g. webchat, sms) when LangGraph owns the session so ingest does not assume voice. Optional modality overrides the default derived from channel (webchat/sms/whatsapp → text, voice → voice).

Set PARLOT_ENDPOINT and PARLOT_API_KEY. Generative AI content capture (message bodies / tool payloads; default on) is documented in Concepts. Override with configure(capture_genai_content=False).

Session application logs (Python logging, default on) follow Settings → Logs / configure(capture_logs=…, log_level=…). Not print(). Treat content like stdout for PII.

When used inside a LiveKit voice agent that already called parlot.instrumentation.livekit.configure(), this package nests GenAI operational spans under the active LiveKit session and does not emit duplicate parlot.session / parlot.turn spans — LiveKit owns channel and modality.

Docs: LangGraph guide · Concepts · parlot.ai

Metadata

Release files for parlot-instrumentation-langgraph 0.2.0

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

Source distribution (sdist)

Source distribution for parlot-instrumentation-langgraph 0.2.0
File Size Uploaded Provenance
parlot_instrumentation_langgraph-0.2.0.tar.gz 11.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for parlot-instrumentation-langgraph 0.2.0
File Interpreter ABI Platform
parlot_instrumentation_langgraph-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / parlot_instrumentation_langgraph-0.2.0.tar.gz

Download URL parlot_instrumentation_langgraph-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
54ad5ed27187414651ddf85455ab84d9a297af5e7418d0521e6c3151fca7c153
BLAKE2b-256 checksum
How to use checksums
ea4b2bc7fb773895c2aa3b23f50db182d0e9a823ea82e96663a8de13d23deb48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Release files / parlot_instrumentation_langgraph-0.2.0-py3-none-any.whl

Download URL parlot_instrumentation_langgraph-0.2.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac98c99034b353310e2989b64e252722b0f995bbf0df39e7c2988c914cf945a2
BLAKE2b-256 checksum
How to use checksums
c9e36418426ddaabaa2b80c292c3f5eebb8eabb0788465b419662e76dab8d37d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 3, 2026.

Transparency log

Security for parlot-instrumentation-langgraph 0.2.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.

Full provenance

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

Select from 2 files

Attestation for parlot_instrumentation_langgraph-0.2.0.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 Sep 3, 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