Integrations / LangGraph

Trace LangGraph agents

To trace a LangGraph agent with Tracify, add the Tracify integration to your graph. Each node run, model call and tool call becomes a span inside a single trace for the run.

Your code

LangGraph

Tracify

One run.

  • 01One trace per graph run
  • 02Spans for nodes, model calls and tools
  • 03Loops and retries visible in order
  • 04Cost and latency per node

Setup

A few lines.

typescript
import { TracifyLangGraphHandler } from "tracify-sdk";

await graph.invoke(input, { callbacks: [new TracifyLangGraphHandler()] });

Full details in the documentation. All integrations are listed on the integrations page.

Do I have to use LangChain to trace LangGraph?
Tracify traces LangGraph through its integration; for other frameworks you can use OpenTelemetry.

Send your first trace.

Free to start.