Observability Suite
PraisonAI provides a unified observability suite with support for 20+ observability providers. All integrations use lazy loading for zero performance impact when not in use.Quick Start
Init-Only Auto-Instrumentation (Recommended)
The simplest way to add observability - just callobs.init() once and all agent operations are automatically traced:
Auto-instrumentation patches
Agent.chat(), Agent.start(), Agent.run(), and Agents.start() to create spans automatically. No explicit obs.trace() wrappers needed!Explicit Provider Selection
Supported Providers
| Provider | Environment Variables | Install |
|---|---|---|
| AgentOps | AGENTOPS_API_KEY | pip install agentops |
| Langextract | – (local HTML) | pip install 'praisonai[langextract]' |
| Langfuse | LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY | pip install langfuse † |
| LangSmith | LANGSMITH_API_KEY | pip install opentelemetry-sdk opentelemetry-exporter-otlp |
| Traceloop | TRACELOOP_API_KEY | pip install traceloop-sdk |
| Arize Phoenix | PHOENIX_API_KEY | pip install arize-phoenix |
| OpenLIT | - | pip install openlit |
| Langtrace | LANGTRACE_API_KEY | pip install langtrace-python-sdk |
| LangWatch | LANGWATCH_API_KEY | pip install langwatch |
| Datadog | DD_API_KEY | pip install ddtrace |
| MLflow | MLFLOW_TRACKING_URI | pip install mlflow |
| Opik | OPIK_API_KEY | pip install opik |
| Portkey | PORTKEY_API_KEY | pip install portkey-ai |
| Braintrust | BRAINTRUST_API_KEY | pip install braintrust |
| Maxim | MAXIM_API_KEY | pip install maxim-py |
| Weave | WANDB_API_KEY | pip install weave |
| Neatlogs | NEATLOGS_API_KEY | - |
| LangDB | LANGDB_API_KEY | - |
| Atla | ATLA_API_KEY | pip install atla-insights |
| Patronus | PATRONUS_API_KEY | pip install patronus |
| TrueFoundry | TRUEFOUNDRY_API_KEY | - |
praisonai --observe langfuse as well as obs.langfuse().

