[{"data":1,"prerenderedAt":169},["ShallowReactive",2],{"compare:/compare/langgraph":3},{"id":4,"title":5,"body":6,"description":161,"extension":162,"meta":163,"navigation":164,"path":165,"seo":166,"stem":167,"__hash__":168},"compare/compare/langgraph.md","NoLag with LangGraph",{"type":7,"value":8,"toc":153},"minimark",[9,13,17,20,25,80,84,113,117,120,124],[10,11,5],"h1",{"id":12},"nolag-with-langgraph",[14,15,16],"p",{},"LangGraph is a framework for building stateful, multi-step agent workflows as graphs. It is excellent at modelling how an agent reasons and moves between steps inside your process. NoLag is complementary: it is the realtime layer that connects agents to each other, to your services, to a UI, and to a human, across processes and machines.",[14,18,19],{},"They are not competitors. LangGraph orchestrates the reasoning; NoLag moves the messages.",[21,22,24],"h2",{"id":23},"what-each-layer-does","What each layer does",[26,27,28,43],"table",{},[29,30,31],"thead",{},[32,33,34,37,40],"tr",{},[35,36],"th",{},[35,38,39],{},"LangGraph",[35,41,42],{},"NoLag",[44,45,46,58,69],"tbody",{},[32,47,48,52,55],{},[49,50,51],"td",{},"Role",[49,53,54],{},"Agent reasoning and control flow",[49,56,57],{},"Realtime transport and coordination",[32,59,60,63,66],{},[49,61,62],{},"Scope",[49,64,65],{},"Within a process or run",[49,67,68],{},"Across agents, services, humans, and UIs",[32,70,71,74,77],{},[49,72,73],{},"Gives you",[49,75,76],{},"Graph state, branching, tool steps",[49,78,79],{},"Dispatch, shared state, live observation, approval gates, presence",[21,81,83],{"id":82},"why-add-nolag-under-langgraph","Why add NoLag under LangGraph",[85,86,87,95,101,107],"ul",{},[88,89,90,94],"li",{},[91,92,93],"strong",{},"Dispatch and hand off across workers."," Route a task from one agent or process to another over topics, rather than keeping everything in a single run.",[88,96,97,100],{},[91,98,99],{},"Share state in realtime."," Publish intermediate results so other agents, dashboards, or humans see them as they happen.",[88,102,103,106],{},[91,104,105],{},"Stream decisions to a UI."," Send an agent's steps and outputs to a frontend live, without polling.",[88,108,109,112],{},[91,110,111],{},"Human-in-the-loop approval gates."," Pause an action until a person approves it, then resume.",[21,114,116],{"id":115},"how-it-fits","How it fits",[14,118,119],{},"Use the NoLag SDK from inside your LangGraph nodes. Where a node produces a result or needs a decision, publish or subscribe on a NoLag topic. The graph keeps owning the control flow; NoLag carries the realtime communication between the moving parts.",[21,121,123],{"id":122},"get-started","Get started",[14,125,126,127,132,133,137,138,142,143,147,148,152],{},"Read the ",[128,129,131],"a",{"href":130},"/docs/agents","AI agents guide"," for the coordination patterns, then the ",[128,134,136],{"href":135},"/docs/getting-started","5-minute quick start"," to connect, subscribe, and publish. SDKs for ",[128,139,141],{"href":140},"/docs/sdks/javascript","JavaScript",", ",[128,144,146],{"href":145},"/docs/sdks/python","Python",", and ",[128,149,151],{"href":150},"/docs/sdks/go","Go",".",{"title":154,"searchDepth":155,"depth":155,"links":156},"",2,[157,158,159,160],{"id":23,"depth":155,"text":24},{"id":82,"depth":155,"text":83},{"id":115,"depth":155,"text":116},{"id":122,"depth":155,"text":123},"Use NoLag as the realtime coordination layer under LangGraph. Let agents share state, hand off tasks, stream decisions to a UI, and gate actions with human approval.","md",{},true,"/compare/langgraph",{"title":5,"description":161},"compare/langgraph","6Rhenq_nE2f4-mb7wQhfYVPHfviHdXNaVocv4SL7Zvg",1788160341939]