all answers

Frameworks and tooling

LangGraph evals

LangGraph is LangChain's library for building an agent as a graph. Each node is a function, edges decide which node runs next, and one state object is passed through the whole run. That structure is what makes a LangGraph agent easier to evaluate than a loop of model calls: every step has a name, and a failure can be pinned to a node rather than to "the agent".

Three things follow from it. LangGraph saves the state after every step, keyed by a thread id, and that is what makes pause, human approval, and resume work. It also means you can rewind a failed run to a checkpoint, change the state, and run it forward again with the exact context it had at the time, which is real replay rather than a reconstruction. Because each node is a unit, a check can be scoped to one node, so "the router picked the wrong branch" is a separate finding from "the answer was wrong". And a change to the graph is a diff, so when a regression appears after a change, the set of nodes that could have caused it is short.

Tracing is where teams get stuck. LangGraph does not emit OpenTelemetry spans on its own. It traces to LangSmith, and the way to send those same spans anywhere else is LangSmith's OTLP export: set LANGSMITH_TRACING and LANGSMITH_OTEL_ENABLED, and point OTEL_EXPORTER_OTLP_ENDPOINT at your collector.

15 questions

Answered, plainly.

How do I trace a LangGraph agent?LangGraph traces through LangSmith's OTLP export, not a built-in OTel exporter: set LANGSMITH_TRACING and LANGSMITH_OTEL_ENABLED, then point at your collector.answer →How do I grade one node of a LangGraph graph?Call the node directly through the compiled graph's own nodes dict and pass it to an evaluator the same way you'd pass the full graph.answer →How do I catch a regression caused by a graph change?Run the same eval dataset against the graph before and after the change and compare the two experiments; LangSmith keys both to the same cases automatically.answer →How do I replay a failed LangGraph run?Call get_state_history on the thread to list its checkpoints, find the one before the failing node, and re-invoke the graph from that checkpoint's id.answer →What's the difference between a LangGraph workflow and a LangGraph agent?A workflow's control flow is code you wrote in advance; an agent's control flow is a decision the model makes itself at runtime, path by path.answer →What's the difference between a LangGraph agent and an AWS Strands agent?A LangGraph agent runs inside a graph you wrote; a default Strands agent has none, since AWS calls its single-agent loop 'model-driven,' though Strands also offers Graphs as an opt-in pattern.answer →What's the difference between a LangChain agent and a LangGraph agent?A LangChain agent built with create_agent already runs on LangGraph underneath; the real choice is that thin interface versus building the graph yourself.answer →How do I test a LangGraph agent that pauses for human approval?Resume the paused graph with Command(resume=...) on the same thread id and supply the approve, edit, reject, or respond value your test wants.answer →What's the difference between LangGraph and Deep Agents?LangGraph is the low-level runtime of nodes and edges; Deep Agents is a batteries-included agent built on top of it, with planning, a virtual filesystem, and subagents wired in.answer →What is a ReAct agent in LangGraph?A prebuilt graph, create_agent, that calls a model, runs whatever tools it picks, and feeds the results back in a loop until the task is done.answer →What is state in LangGraph?State is the shared data a LangGraph graph's nodes read and update. Each node returns a partial update, and a per-key reducer decides how it merges in.answer →What's the difference between a LangGraph agent and a node?A node is one step of a LangGraph graph, a function that reads state. An agent is the whole loop where the model decides what runs next. An agent can sit inside a node.answer →Does LangGraph stop the run when a tool raises an error?By default, yes, for a tool that raises while executing. LangGraph's prebuilt ToolNode re-raises it and only turns invalid arguments and unknown tool names into a message for the model.answer →Does LangGraph support MCP tools?Yes, through LangChain: its langchain.mcp adapter turns an MCP server's tools into LangChain tools that an agent built on LangGraph can call. As of November 2026 it is in beta.answer →How do I evaluate a LangGraph agent?Grade it against a fixed dataset at three levels: the final output, the path it took through the graph, and single nodes, since a right answer can come from a wrong path.answer →

Try Tessary on Cloud.

free · 10,000 traces a month · 1 GB · 30-day retention · $10 one-time credit for triage and RCA · no credit card