LangGraph connects stateful workflow steps. Before adding a model, verify that known inputs produce the state your next step expects. This example labels an ordinary dispatch as dispatch and a missing record as review, using a compiled graph without a model.
What the isolated test checked
Treat each node as an input/output contract. Check the retained note and resulting route, including a missing-record case. This is a single-node graph: its conditional edge terminates execution. It does not establish that a larger graph selects among multiple downstream branches correctly.
The following is the recorded synthetic output, not a model benchmark.
{
"valid": {
"note": "NOTE-31",
"route": "dispatch"
},
"missing": {
"note": "MISSING",
"route": "review"
}
}
Reproduce the small task
The recorded runtime was Linux with Python 3.12. Installation requires public package downloads; execution was offline. Windows shell behavior was not tested. Use a disposable environment for the example.
python -m pip install langgraph==1.2.22
import sys,json,traceback,importlib.metadata as meta,pathlib,asyncio,subprocess,os
SLUG='langgraph'
def emit(package,checks,observations,**kw):
print(json.dumps({'checks':checks,'observations':observations},ensure_ascii=False,default=str,indent=2))
def langgraph():
from typing import TypedDict
from langgraph.graph import StateGraph,START,END
class State(TypedDict):note:str;route:str
def check(s):return {'route':'review' if s['note']=='MISSING' else 'dispatch'}
g=StateGraph(State);g.add_node('check',check);g.add_edge(START,'check');g.add_conditional_edges('check',lambda s:END);app=g.compile()
a=app.invoke({'note':'NOTE-31','route':''});b=app.invoke({'note':'MISSING','route':''})
emit('langgraph',dict(valid_dispatch=a['route']=='dispatch',missing_review=b['route']=='review'),dict(valid=a,missing=b),scope='Compiled state graph and deterministic branch; no LLM, LangSmith or hosted service.')
langgraph()
Limits and untested behavior
Real models, checkpoint persistence, interrupts, parallel nodes and LangSmith were not tested. Passing deterministic cases establishes this state wiring, not agent reliability.
Other capabilities described in the pinned official documentation below were not locally tested. Source availability alone does not establish free hosted execution or free model calls.
Sources and test record
Codex ran the synthetic task in a non-root, network-disabled container without publishing credentials or private inputs. This is not a claim that the site owner personally tested the tool.
Tested package: 1.2.22. Documentation commit: 41fb001df931. The registry package and README snapshot are separately pinned, not assumed identical. Test date: 2026-11-15.