Install
0.6.0. Upgrade an existing environment with:
Optional Dependencies
Install extras for framework auto-tracking:agno, bedrock, gemini, llamaindex, pydantic-ai, and semantic-kernel. See the Agno, Bedrock, Gemini, LlamaIndex, Pydantic AI, and Semantic Kernel guides for setup details.
Install the tracer extra for OpenTelemetry sessions, spans, and the optional
GenAI input-emission API introduced in 0.6.0:
Recent releases
For
0.5.0, an explicitly self-hosted or localhost base_url keeps telemetry
on that deployment. Set ingest_url when you need a separate collector
endpoint. This routing behavior continues in 0.6.0.
Requirements
- Python 3.10+
- An API key from app.meshai.dev
Configuration
The SDK can be configured via constructor arguments, environment variables, or a combination of both.Environment Variables
Constructor vs Environment
Constructor arguments take precedence over environment variables:Verify Installation
Next Steps
Client Reference
All constructor parameters and configuration options
Framework Guides
Auto-tracking for OpenAI, Anthropic, CrewAI, LangChain, AutoGen

