🐍 Python Client SDK
Python Client SDK
Official Python SDK for comprehensive ML and LLM observability - monitor traditional ML models and LLM applications. Key Features:- Model onboarding and schema definition
- Production event publishing (batch and streaming)
- Baseline dataset management
- Alert configuration
- Custom metrics and segments
- ML model monitoring (drift, performance, data quality)
- Production data ingestion
- Creating monitoring dashboards
- Configuring alerts for model issues
🎯 Agentic AI SDKs
SDKs for monitoring, evaluating, and testing LLM applications and AI agents.Fiddler Evals SDK
Evaluate and test LLM outputs with built-in and custom metrics. Key Features:- Pre-built evaluators (faithfulness, toxicity, coherence, etc.)
- Custom evaluation functions
- Experiment tracking and comparison
- Dataset management for test sets
- LLM output quality assessment
- A/B testing prompts and models
- Regression testing for LLM changes
- Custom evaluation metrics
Fiddler OTel SDK
Framework-agnostic OpenTelemetry instrumentation for any Python LLM or agent application. This is the foundation the LangChain, LangGraph, and Strands SDKs build on, and the canonical source for Fiddler’s span attributes and conversation tracking. Key Features:- Framework-agnostic tracing for any Python LLM or agent code
@tracedecorator and manual span wrappers (chain, generation, tool)- Conversation and session attribute tracking
- Canonical Fiddler span attributes and span types
- Custom span processor and JSONL capture for offline analysis
- Instrumenting apps not built on LangChain, LangGraph, or Strands
- Adding spans around arbitrary functions and workflows
- Shared tracing primitives across Fiddler’s framework SDKs
Fiddler LangGraph SDK
- Automatic LangGraph instrumentation
- Distributed tracing for agent workflows
- Span attributes for nodes and edges
- Conversation and session tracking
- Debugging multi-step agent workflows
- Performance analysis of agent chains
- Monitoring production LangGraph applications
- Understanding agent decision paths
Fiddler LangChain SDK
Instrument LangChain V1 agents (thecreate_agent API and middleware pattern) and export OpenTelemetry traces to Fiddler.
Key Features:
- Automatic instrumentation of LangChain V1 agents
- Drop-in agent middleware emitting LLM, tool, and chain spans
- Retrieval context attachment via
set_llm_context - Span and session attribute helpers
- Monitoring production LangChain agents
- Debugging multi-step chains and tool calls
- Tracking retrieval context on LLM spans
Fiddler Strands SDK
- Strands Agent instrumentation
- Session and conversation tracking
- Span attributes for agent actions
- Integration with Fiddler platform
- Monitoring Strands production agents
- Debugging Strands Agent workflows
- Tracking agent performance metrics
- Session-based analysis
Fiddler OTel JS SDK
OpenTelemetry instrumentation for Fiddler AI observability in TypeScript and JavaScript applications. Captures LLM traces, conversation context, and span attributes. Key Features:- OpenTelemetry tracing for TypeScript and JavaScript apps
- Isolated tracer provider with OTLP HTTP export to Fiddler
- Manual span helpers (agent, generation, tool)
- Span attribute and token-usage conventions
- Instrumenting Node.js LLM and agent applications
- Capturing traces from non-LangChain TypeScript code
- Adding spans around arbitrary functions and workflows
Fiddler LangGraph JS SDK
OpenTelemetry-based instrumentation for LangGraph JS applications. Mirrors the Pythonfiddler-langgraph SDK API for agentic workflows.
Key Features:
- Automatic instrumentation of LangGraph JS via the callback manager
- Trace capture for agentic workflows
- Conversation and session attribute tracking
- LLM context helpers
- Monitoring production LangGraph JS agents
- Debugging agent workflows in Node.js
- Conversation- and session-level analysis
Fiddler LangChain JS SDK
LangChain JS instrumentation for Fiddler AI observability. Re-exports the callback handler and instrumentor from@fiddler-ai/langgraph under a LangChain-branded API, with no code changes to existing chains.
Key Features:
- Automatic trace capture for LangChain JS applications
- No changes to existing chains
- Conversation and session attribute tracking
- LLM context helpers
- Monitoring production LangChain JS applications
- Adding observability to existing chains
- Conversation- and session-level analysis
🌐 REST API
REST API Reference
Complete HTTP API documentation for programmatic access to the Fiddler platform. Use Cases:- Non-Python integrations (Java, Go, JavaScript, etc.)
- Custom CI/CD pipelines
- Integration with existing monitoring systems
- Webhook-based automation
- Environments - Environment management
- Jobs - Async job tracking
- Model API - Model management
- Custom Metrics - Metric definitions
- Explainability - SHAP explanations
- File Upload - Baseline and artifact uploads
- Projects - Project management
- Baselines - Baseline datasets
- Alert Rules - Alert configuration
- Segments - Segment management
- Events - Event publishing
Guardrails API Reference
API endpoints for Fiddler Trust Service guardrails.🚀 Getting Started
Choose Your SDK
| Your Use Case | Recommended SDK |
|---|---|
| Monitor ML/LLM models and platform admin | Python Client SDK |
| Evaluate and test LLM outputs | Fiddler Evals SDK |
| Instrument any Python LLM/agent app | Fiddler OTel SDK |
| Monitor LangGraph (Python) agents | Fiddler LangGraph SDK |
| Monitor LangChain (Python) agents | Fiddler LangChain SDK |
| Monitor Strands agents | Fiddler Strands SDK |
| Instrument any TypeScript/JS app | Fiddler OTel JS SDK |
| Monitor LangGraph JS apps | Fiddler LangGraph JS SDK |
| Monitor LangChain JS apps | Fiddler LangChain JS SDK |
| Language-agnostic HTTP integration | REST API |
Installation
Python SDKs:📚 Related Documentation
- Developer Guides - Quick starts and tutorials
- Integrations - Connect with your ML stack
- Product Documentation - Platform features and concepts
💡 Common Workflows
ML Model & LLM App Monitoring Workflow
- Install Python Client SDK
- Define model schema
- Upload baseline dataset
- Publish production events
- Configure alerts
LLM Experiments Workflow
- Install Fiddler Evals SDK
- Create a test dataset with the Dataset API
- Define evaluators (built-in or custom)
- Run experiments and analyze results
Agent Monitoring Workflow
- Install the SDK for your framework — LangGraph, LangChain, Strands, or a JavaScript SDK (OTel JS, LangGraph JS, LangChain JS)
- Instrument your agent application
- Deploy to production
- View traces and analytics in the Fiddler platform
📖 Additional Resources
- GitHub Examples - Sample code and notebooks
- SDK Changelog - Latest SDK updates
- Support Portal - Enterprise support
- Community - Join our Slack community