Python SDK Reference
Python SDK documentation and API reference for Parlot.
The Parlot Python SDK instruments production voice AI agents (LiveKit, Pipecat) and LangGraph / LangChain workflows, exporting OpenTelemetry telemetry to Parlot.
Full API Reference
Looking for class, function, and module signatures? See the interactive Python API Reference.
Key packages
parlot.core
Core telemetry primitives, session helpers, context propagation, and span lifecycle.
parlot.instrumentation.livekit
LiveKit Agents instrumentation: session/turns, pipeline spans, recording, and platform refs.
parlot.instrumentation.pipecat
Pipecat voice agents: Conversation Contract via OpenTelemetry remapping of native spans.
parlot.instrumentation.langgraph
LangGraph / LangChain instrumentation via global callbacks: Conversation Contract and GenAI spans.
Installation
Install the instrumentation package for your framework (or use the meta package extras):
# LiveKit Agents
uv add parlot-instrumentation-livekit
# or: uv add "parlot[livekit]"
# Pipecat
uv add parlot-instrumentation-pipecat
# or: uv add "parlot[pipecat]"
# LangGraph / LangChain
uv add parlot-instrumentation-langgraph
# or: uv add "parlot[langgraph]"
# All adapters
uv add "parlot[all]"The bare parlot meta package pulls in parlot-core only. Shared helpers and parlotize() options live in the Interactive API pages linked above; framework guides cover adapter-specific kwargs.
