Installation
Setup
UseReagentGraphTracer as a callback for your graph:
How it works
ReagentGraphTracer extends the LangChain callback handler with graph-specific node tracking. It captures the same events as the LangChain handler, plus awareness of which graph node is currently executing.
Example with a ReAct agent
Multi-agent pipeline
LangGraph excels at multi-agent architectures. Use separate reagent-flow sessions for each sub-agent, linked viaparent_trace_id and handoff_context: