parlot-instrumentation-langgraph
OpenTelemetry instrumentation for LangGraph / LangChain agents.
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parlot_instrumentation_langgraph-0.1.0.tar.gz.
File metadata
- Download URL: parlot_instrumentation_langgraph-0.1.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6b051ff60af2b449ac4ebe18434c0e4345c7b47e5a868bb756591e848634018
|
|
| MD5 |
f8cc81b93397d93ccf8eaeac94521637
|
|
| BLAKE2b-256 |
aa47c8d63fddaf547ffb5899a9d4c16df5f7cf721cf9589c2abe351a4eac0167
|
Provenance
The following attestation bundles were made for parlot_instrumentation_langgraph-0.1.0.tar.gz:
Publisher:
publish.yml on parlot-ai/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parlot_instrumentation_langgraph-0.1.0.tar.gz -
Subject digest:
e6b051ff60af2b449ac4ebe18434c0e4345c7b47e5a868bb756591e848634018 - Sigstore transparency entry: 2553104542
- Sigstore integration time:
-
Permalink:
parlot-ai/sdk@2189c5475a7a63a91d516439992ce791e3f3d375 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/parlot-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2189c5475a7a63a91d516439992ce791e3f3d375 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parlot_instrumentation_langgraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: parlot_instrumentation_langgraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e116859a74710554c7a364696fad4acea52186e7e0f14a14f0a010ed6e1afb9
|
|
| MD5 |
6db65bf59ae92ceb7fac18988f23bdd4
|
|
| BLAKE2b-256 |
677caee1b9626af787e4d283b961a815a1807b50c1cfe0e2d1fb1cad251f67e7
|
Provenance
The following attestation bundles were made for parlot_instrumentation_langgraph-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on parlot-ai/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parlot_instrumentation_langgraph-0.1.0-py3-none-any.whl -
Subject digest:
7e116859a74710554c7a364696fad4acea52186e7e0f14a14f0a010ed6e1afb9 - Sigstore transparency entry: 2553104611
- Sigstore integration time:
-
Permalink:
parlot-ai/sdk@2189c5475a7a63a91d516439992ce791e3f3d375 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/parlot-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2189c5475a7a63a91d516439992ce791e3f3d375 -
Trigger Event:
workflow_dispatch
-
Statement type: