Langgraph
Integration that routes LangGraph spans through the Judgment pipeline.
Enables LangGraph’s built-in OpenTelemetry export and points it at the
active Judgment tracer provider. Call initialize() once at startup.
from judgeval import Tracer
from judgeval.integrations import Langgraph
Tracer.init(project_name="my-agent")
Langgraph.initialize()
initialize()
Activate LangGraph OTEL tracing through Judgment.
def initialize(otel_only=True):
Parameters
PropType
otel_only?bool
If True (default), disables the LangSmith backend so spans are only sent to Judgment.
Type
boolDefault
True