Connect any LangGraph workflow to MeshFlow in two steps: install the adapter and wrap your compiled graph. Every node execution emits an ATR-compatible span — no graph rewrite required.
Pass MeshFlowCallbackHandler to your graph's config. It automatically emits spans for every node start, end, and error.
The handler auto-populates modelVersion, inputHash, outputHash, and causalParentId on every span using LangGraph's run metadata.
Emit a context snapshot before each LLM call to capture which sources, memory reads, and prompt versions the node received.