Installation
Usage
DSPy uses LiteLLM internally, so you need to patch LiteLLM before importing DSPy:trace-dspy.py
- DSPy module executions (Predict, ChainOfThought, ReAct, etc.)
- LLM calls with detailed token counts and costs (from LiteLLM)
- Tool invocations
- Hierarchical span relationships
- Complete observability of your DSPy pipelines
Learn More
- DSPy Documentation
- LiteLLM Integration - For direct LiteLLM usage