Skip to main content
Complete SDK documentation and REST API reference for Fiddler AI Observability Platform.

🐍 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
Use Cases:
  • ML model monitoring (drift, performance, data quality)
  • Production data ingestion
  • Creating monitoring dashboards
  • Configuring alerts for model issues
View Full Documentation → View Usage Guides →

🎯 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
Use Cases:
  • LLM output quality assessment
  • A/B testing prompts and models
  • Regression testing for LLM changes
  • Custom evaluation metrics
Quick Start:
import fiddler as fdl

# Initialize evaluator
evaluator = fdl.AnswerRelevance()

# Run evaluation
result = evaluator.evaluate(
    question="What is Fiddler?",
    answer="Fiddler is an AI observability platform."
)
View Full Documentation →

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
  • @trace decorator 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
Use Cases:
  • Instrumenting apps not built on LangChain, LangGraph, or Strands
  • Adding spans around arbitrary functions and workflows
  • Shared tracing primitives across Fiddler’s framework SDKs
Quick Start:
from fiddler_otel import FiddlerClient, trace

# Initialize once at startup (see FiddlerClient reference for options)
client = FiddlerClient()

# Capture a Fiddler span around any function
@trace
def generate_answer(question: str) -> str:
    return call_llm(question)
View Full Documentation →

Fiddler LangGraph SDK

PyPI Monitor LangGraph agents with distributed tracing and observability. Key Features:
  • Automatic LangGraph instrumentation
  • Distributed tracing for agent workflows
  • Span attributes for nodes and edges
  • Conversation and session tracking
Use Cases:
  • Debugging multi-step agent workflows
  • Performance analysis of agent chains
  • Monitoring production LangGraph applications
  • Understanding agent decision paths
Quick Start:
from fiddler.langchain import LangGraphInstrumentor

# Instrument your LangGraph app
instrumentor = LangGraphInstrumentor()
instrumentor.instrument()

# Your LangGraph code runs normally
# Traces are automatically sent to Fiddler
View Full Documentation →

Fiddler LangChain SDK

Instrument LangChain V1 agents (the create_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
Use Cases:
  • Monitoring production LangChain agents
  • Debugging multi-step chains and tool calls
  • Tracking retrieval context on LLM spans
Quick Start:
from fiddler_langchain import FiddlerLangChainInstrumentor

# Call once before creating your agents
FiddlerLangChainInstrumentor().instrument()

# Agents created with langchain.agents.create_agent are now traced
View Full Documentation →

Fiddler Strands SDK

PyPI Monitor Strands Agents with native instrumentation. Key Features:
  • Strands Agent instrumentation
  • Session and conversation tracking
  • Span attributes for agent actions
  • Integration with Fiddler platform
Use Cases:
  • Monitoring Strands production agents
  • Debugging Strands Agent workflows
  • Tracking agent performance metrics
  • Session-based analysis
Quick Start:
from fiddler.strands import StrandsAgentInstrumentor

# Instrument Strands Agent
instrumentor = StrandsAgentInstrumentor(
    model_id="my-strands-agent"
)
instrumentor.instrument()
View Full Documentation →

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
Use Cases:
  • Instrumenting Node.js LLM and agent applications
  • Capturing traces from non-LangChain TypeScript code
  • Adding spans around arbitrary functions and workflows
Quick Start:
import { FiddlerClient } from '@fiddler-ai/otel';

// Initialize once at startup (see FiddlerClient reference for options)
const client = new FiddlerClient();
View Full Documentation →

Fiddler LangGraph JS SDK

OpenTelemetry-based instrumentation for LangGraph JS applications. Mirrors the Python fiddler-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
Use Cases:
  • Monitoring production LangGraph JS agents
  • Debugging agent workflows in Node.js
  • Conversation- and session-level analysis
Quick Start:
import { LangGraphInstrumentor } from '@fiddler-ai/langgraph';

// Instrument once at startup; LangGraph runs export to Fiddler
new LangGraphInstrumentor().instrument();
View Full Documentation →

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
Use Cases:
  • Monitoring production LangChain JS applications
  • Adding observability to existing chains
  • Conversation- and session-level analysis
Quick Start:
import { LangChainInstrumentor } from '@fiddler-ai/langchain';

// Instrument once; existing chains are traced with no further changes
new LangChainInstrumentor().instrument();
View Full Documentation →

🌐 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
Quick Start (cURL):
# Publish events to Fiddler
curl -X POST https://app.fiddler.ai/api/v1/events 
  -H "Authorization: Bearer fid_..." 
  -H "Content-Type: application/json" 
  -d '{
    "project": "fraud-detection",
    "model": "fraud_model_v1",
    "events": [...]
  }'
View Full REST API Documentation → API Guides:

Guardrails API Reference

API endpoints for Fiddler Trust Service guardrails.

🚀 Getting Started

Choose Your SDK

Your Use CaseRecommended SDK
Monitor ML/LLM models and platform adminPython Client SDK
Evaluate and test LLM outputsFiddler Evals SDK
Instrument any Python LLM/agent appFiddler OTel SDK
Monitor LangGraph (Python) agentsFiddler LangGraph SDK
Monitor LangChain (Python) agentsFiddler LangChain SDK
Monitor Strands agentsFiddler Strands SDK
Instrument any TypeScript/JS appFiddler OTel JS SDK
Monitor LangGraph JS appsFiddler LangGraph JS SDK
Monitor LangChain JS appsFiddler LangChain JS SDK
Language-agnostic HTTP integrationREST API

Installation

Python SDKs:
# Python Client SDK
pip install fiddler-client

# Evals SDK
pip install fiddler-evals

# OTel SDK (framework-agnostic instrumentation)
pip install fiddler-otel

# LangGraph SDK
pip install fiddler-langgraph

# LangChain SDK
pip install fiddler-langchain

# Strands SDK
pip install fiddler-strands
JavaScript / TypeScript SDKs:
# OTel JS SDK
npm install @fiddler-ai/otel

# LangGraph JS SDK
npm install @fiddler-ai/langgraph

# LangChain JS SDK
npm install @fiddler-ai/langchain
REST API: No installation required - use any HTTP client.

💡 Common Workflows

ML Model & LLM App Monitoring Workflow

  1. Install Python Client SDK
  2. Define model schema
  3. Upload baseline dataset
  4. Publish production events
  5. Configure alerts

LLM Experiments Workflow

  1. Install Fiddler Evals SDK
  2. Create a test dataset with the Dataset API
  3. Define evaluators (built-in or custom)
  4. Run experiments and analyze results

Agent Monitoring Workflow

  1. Install the SDK for your framework — LangGraph, LangChain, Strands, or a JavaScript SDK (OTel JS, LangGraph JS, LangChain JS)
  2. Instrument your agent application
  3. Deploy to production
  4. View traces and analytics in the Fiddler platform

📖 Additional Resources