Skip to main content
LangChain

Installation

Install both the Netra SDK and LangChain:

Usage

Initialize the Netra SDK to automatically trace all LangChain operations:

Chains

Trace LangChain chains with custom workflow decorators:

Agents and Tools

Trace LangChain agents with custom span creation:

Streaming Responses

The SDK automatically captures streaming outputs from LangChain:

Selective Instrumentation

Control which integrations are enabled:

Next Steps

Last modified on March 17, 2026