Installation
Basic Usage
RDK automatically instruments LangChain when initialized:Tool Calling with LangChain
LangChain makes tool calling easy with the@tool decorator:
Async Support
LangChain async methods are fully supported:Using with Different Providers
LangChain supports multiple LLM providers:What Gets Captured
For LangChain calls, RDK captures:Chains and Agents
RDK traces the full execution of LangChain chains:Best Practices
- One trace per request - Wrap your entry point with
@observe - Meaningful names - Use descriptive names for traces
- Add metadata - Include user_id and session_id for filtering

