Prefer zero setup? Use
plog run or import provenlog.auto instead. See Auto-Instrumentation.Setup
What gets captured
Everything from the LangChain integration, plus graph-specific events:| Event | Action Type | Details |
|---|---|---|
| Node start | CUSTOM | Node name, step index |
| Node end | CUSTOM | Node name, output |
| Node error | CUSTOM | Node name, error details |
| Graph state | CUSTOM | Checkpoint metadata |
How it works
The LangGraph Trail extends the LangChain callback handler with graph-node-level awareness. It tracks which node is executing at any point, so LLM calls and tool calls within a graph are attributed to their specific node.When auto-instrumentation detects LangGraph, it skips the separate LangChain patch — the LangGraph Trail captures both graph-level and chain-level events.