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

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.1
File Size Uploaded Provenance
parlot_instrumentation_langgraph-0.2.1.tar.gz 11.9 kB With provenance Details

Built distribution (wheel)

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

Total release size: 26.7 kB

Release files / parlot_instrumentation_langgraph-0.2.1.tar.gz

Download URL parlot_instrumentation_langgraph-0.2.1.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
650817c94abaa5097ad2db6a11d04f79f27ca9d6d26c1db25e0c94977aefe8fc
BLAKE2b-256 checksum
How to use checksums
e9cda783ff7cb8b87a89bbb1a9ddc4e85f1e4369d9f43aa9249d30f4fdf10669
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 7, 2026.

Transparency log

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

Download URL parlot_instrumentation_langgraph-0.2.1-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22a4849208022203d278ca8d15c36f06c23b53e87754278997ff3ddad6553e58
BLAKE2b-256 checksum
How to use checksums
dad39beb460edc53dbcf9beb7705ec1dc3b7a63ef78164fa1006d6835e45b0af
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 7, 2026.

Transparency log

Security for parlot-instrumentation-langgraph 0.2.1

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.1.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 7, 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