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.1.1
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 | |
|---|---|---|---|---|
| parlot_instrumentation_langgraph-0.1.1.tar.gz | 11.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parlot_instrumentation_langgraph-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / parlot_instrumentation_langgraph-0.1.1.tar.gz
| Download URL | parlot_instrumentation_langgraph-0.1.1.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf746be19c2eb4803bfa3c8d1c05f7b92d0a7eea1570e976ac340c081046db02
|
|
BLAKE2b-256 checksum How to use checksums |
875cd4e7f4cec25bc09e46b6a506e0e8be56293caf4ea7686679f790ad06293d
|
| 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 Aug 26, 2026.
Transparency logRelease files / parlot_instrumentation_langgraph-0.1.1-py3-none-any.whl
| Download URL | parlot_instrumentation_langgraph-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8eb0008724831e9bb87c1c6986f87cdc1813a1d50ce31d15e756260180ba4ceb
|
|
BLAKE2b-256 checksum How to use checksums |
9c47bf41dfc9655ae7e5b1bf1d5b879c9b10587cdc99242188d850e37b2e57d9
|
| 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 Aug 26, 2026.
Transparency logSecurity for parlot-instrumentation-langgraph 0.1.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.
Attestation for parlot_instrumentation_langgraph-0.1.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 Aug 26, 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.