LangGraph architecture: the copilot as a graph with memory

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
LangGraph architecture: an ERP user asks the copilot through kagent, which hosts and routes to the LangGraph agent. The agent is a graph of steps with state; a checkpoint store saves state after every step, and a human approval step pauses risky actions. The agent sends model and tool calls through agentgateway, which routes them to vLLM and the ERP MCP tools.