Instrumentation ( Auto )
LangGraph
Our LangChainInstrumentor automatically captures traces for both LangGraph and LangChain. If you’ve already enabled that instrumentor, you do not need to complete the steps below.
1. Installation
First install the traceAI package and necessary LangChain packages.
2. Set Environment Variables
Set up your environment variables to authenticate with both FutureAGI and Anthropic.
3. Initialize Trace Provider
Set up the trace provider to create a new project in FutureAGI, establish telemetry data pipelines .
4. Instrument your Project
Initialize the LangChain Instrumentor to enable automatic tracing. Our LangChainInstrumentor automatically captures traces for both LangGraph and LangChain.
5. Create LangGraph Agents
Set up your LangGraph agents as you normally would. Our Instrumentor will automatically trace and send the telemetry data to our platform.
Was this page helpful?