Agents with guardrails
built into the graph.
LangGraph lets us model an agent as an explicit graph of states and transitions — which means the tool-permission boundaries and human checkpoints aren't buried in a prompt, they're structural. That's the difference between an agent that's usually careful and one that's provably scoped. It's a different shape of tool than a role-based framework like CrewAI, and we pick between them deliberately.
Serving UK and EU clients: GDPR, EU AI Act, and data residency are covered on our Trust & Safety page.
A graph, not
a prompt chain.
LangGraph models an agent's behavior as a graph: explicit nodes (units of work — call a model, call a tool, run a check), explicit edges (transitions between them), and a shared, typed state object that every node reads and writes as execution moves through the graph. Edges can be conditional, so the graph itself decides which node runs next based on what's in the state — that structure is what makes it possible to say with confidence "this agent cannot reach this action without passing through this check," instead of hoping a prompt holds up under an adversarial or just unusual input. Built-in checkpointing persists that state at each step, which is what makes pausing a graph mid-execution for human approval, then resuming it later, a supported pattern rather than something bolted on.
It's open-source, built and maintained by the LangChain team, and runs inside your own infrastructure — most of what we ship with it is self-hosted for that reason. There's also LangGraph Platform, a hosted deployment and monitoring layer for teams that don't want to operate that infrastructure themselves, but the graph-building library itself doesn't require it. It works with whatever models and tool integrations a project needs and doesn't require adopting the rest of the LangChain ecosystem (chains, retrievers, the parts built for a different kind of problem) — we'll say so plainly if a lighter custom agent loop fits a given case better than reaching for a graph framework at all.
The real distinction against CrewAI is architectural, not a matter of preference. CrewAI organizes a system around roles — a researcher, a writer, a reviewer — collaborating toward a shared goal, and the guarantees it gives you are about role separation. LangGraph organizes a system around state — explicit, inspectable, checkpointed — and the guarantee it gives you is that a specific action is structurally unreachable without passing through whatever gate sits in front of it. Both are "multi-agent" in casual conversation; they answer different questions, and we pick based on which question actually matters for a given workflow.
When a workflow genuinely splits across several specialist agents rather than one, the same graph structure extends into a multi-agent system, with per-agent permission boundaries layered on top of the state machine rather than left to each agent's own judgment.
There's a real cost to that structure worth being honest about: building and maintaining a graph is more upfront work than writing a prompt and letting a model improvise its own next step, and it only pays for itself once the agent's action space is large enough, or consequential enough, that provable guardrails matter more than development speed. For a narrow, low-stakes assistant, that overhead can be the wrong tradeoff — which is exactly why we don't reach for it as a default, and why the decision gets made deliberately rather than inherited from whatever we used on the last project.
The same guardrails,
as graph structure.
This is the same discipline behind our AI agent development work, expressed in LangGraph's state model rather than left implicit in a prompt.
Each node only has access to the tools it needs for that step — permission scope is a property of the graph itself, declared in code, not a convention described in a system prompt that we hope the model keeps following under pressure.
Branches that route to a human-approval node whenever the next action is irreversible or the model's own confidence falls outside a set threshold — the routing logic lives in the graph's edge conditions, not in whether the model remembers to ask, and it holds up the same way under adversarial input as it does under a normal one.
Because state is explicit and persisted at each step, you can see exactly where an agent is in its process and why, resume execution after a human approval without replaying earlier steps, and reconstruct exactly what happened after an incident — useful for debugging and audit, not just for building the thing in the first place.
A graph can grow branches faster than anyone's mental model of it, which is its own failure mode — more structure doesn't help if nobody can trace what reaches what anymore. We keep the state schema and the node count deliberately small, and push complexity into well-tested individual nodes rather than into a sprawling edge topology that only the original author can reason about.
Real agents,
in production.
Not a framework we reach for by default — one we use when the agent's action space genuinely needs this level of structure, and not when it doesn't. The decision to use it at all is made before any graph gets drawn, as part of the same agent-architecture work covered below, not picked by habit because it was used on the last project.
Stopping an AI agent from taking the wrong action — the problem LangGraph's structure is built to catch before it happens rather than after.
Escalation with full context, not a cold handoff — one of the conditional branches this graph pattern enables cleanly.
The broader service this sits inside — scoped tool access, evals before launch, human escalation paths.
Generate the tool/permission matrix for an agent — YAML policy, CSV, and a Trust Spec starter.
Before you
book a call.
The questions we get asked most about LangGraph — answered straight, no sales pitch.
Why use LangGraph instead of a simpler agent loop?
LangGraph models an agent as an explicit graph of states and transitions, which makes the places where a human checkpoint or a tool-permission boundary belongs visible in the structure itself — not buried in a prompt. For a single-step chatbot that's overkill. For an agent that takes multi-step action and needs guardrails, it's the right level of structure.
How is this different from CrewAI?
CrewAI organizes a system around roles collaborating toward a goal; LangGraph organizes a system around explicit, checkpointed state and conditional transitions between nodes. The practical difference is what each one guarantees — CrewAI makes role separation easy to reason about, LangGraph makes "this action is structurally unreachable without passing through this check" enforceable. They're not interchangeable, and we pick based on which guarantee the actual workflow needs, not whichever is more familiar.
Does LangGraph lock us into LangChain's ecosystem?
You can use LangGraph with the model and tool integrations of your choice; it doesn't require the rest of the LangChain stack. We'll tell you honestly if a lighter custom loop fits your case better before reaching for a framework at all.
What's a common pitfall when building with LangGraph?
Letting the graph grow more branches than anyone's mental model of it can hold. A graph with too many conditional edges becomes exactly the kind of system LangGraph was meant to prevent — one where it's genuinely unclear what can reach what without tracing through the code. We keep node count and the shared state schema deliberately small, and push complexity into well-tested individual nodes instead of into a sprawling edge topology.
What have you built with LangGraph?
Guardrailed production agents where the action space needed explicit state and permission structure — the same class of problem covered in our case study on stopping an AI agent from taking the wrong action (that case study's stack is illustrative of the pattern, not a specific project's exact tools) and our WhatsApp sales agent deployment.
Tell us what
you're trying to build.
Book a 30-minute call — we'll tell you honestly whether LangGraph is the right fit for your agent, or whether something simpler is.