I'm working on telemetry, but I got ModuleNotFound...
# ask-ai
n
I'm working on telemetry, but I got ModuleNotFoundError: No module named 'livekit.agents.telemetry', can you tell me from which version of livekit agents telemetry is available?
t
Thanks for reaching out, Shankar. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to share that telemetry in LiveKit Agents has been available since version 1.0.0! This update brought in support for OpenTelemetry integration, which helps you collect trace data and metrics for different agent activities. To make sure you can use these telemetry features smoothly, please check that you're running version 1.0.0 or later of the Python SDK. If you’re still seeing an error, don’t worry—just double-check that the module is properly installed and imported in your environment. If you need any more help, I’m here for you! Sources: Logs, metrics, and telemetry | LiveKit Docs | livekit-agents/livekit/agents/llm/chat_context.py | plugins/silero/CHANGELOG.md
n
can you give me the pip install commands for that?
t
To get you started with LiveKit Agents and make sure you have telemetry support, you can simply run this pip command:
Copy code
pip install "livekit-agents[openai,silero,deepgram,cartesia,turn-detector]~=1.0"
This will install the main agent framework along with some handy optional plugins for speech-to-text, language models, text-to-speech, and voice activity detection—all set up to work smoothly with telemetry features. If you have any questions or need a hand with enabling or configuring telemetry in your setup, just let me know—I’m here to help! Sources: livekit/livekit_composite | DeepWiki | livekit/livekit_composite | DeepWiki | Log collection | LiveKit Docs | Logs, metrics, and telemetry | LiveKit Docs | livekit-plugins/livekit-plugins-fal/README.md