agent-fabric
Comparisons
vs LangGraph

Veridex vs LangGraph

LangGraph is LangChain's stateful graph runner. It's a real improvement over AgentExecutor for explicit control flow. We still find it short for production agents:

DimensionLangGraphVeridex
State modelUser-defined reducer over a StateGraphEvent-sourced; typed TraceEvent stream; deterministic replay
Checkpointscheckpoint_id per state snapshotDifferential checkpoints + content-hashed event log + signed bundles
Human-in-the-loopinterrupt_before/after + manual resumeFirst-class escalate verdict; ApprovalManager; workflow tiers
ToolsLangChain ToolTyped contract + safety class + sandbox
Context budgetManualStrict VeV_e, per-section budgets, compression-as-steady-state
PolicyIf/branch in graphPriority-ordered rules; pack composition; staged rollouts
Adversarial proofsExternalBuilt-in red-team suite, runs in CI
Multi-tenancyOut of scopeControl plane (opt-in)

They compose

A LangGraph graph can call a Veridex agent for a high-stakes subgraph; the rest of the graph keeps running.

import { veridexNode } from '@veridex/agents-adapters/langgraph';
 
const graph = new StateGraph(MyState)
  .addNode('research', researchNode)              // stays in LangGraph
  .addNode('treasury', veridexNode({              // governed by Veridex
    agent: treasuryAgent,
    mapState: s => s.userQuery,
    mergeResult: (s, r) => ({ ...s, paid: r.output }),
  }))
  .addEdge('research', 'treasury');

The treasury node runs under Veridex's policy + approvals + evidence bundling. The rest of the graph keeps its LangGraph semantics.

When LangGraph is enough

  • The graph state is small and well-typed.
  • HITL is rare and short.
  • Audit is informal.
  • Single-tenant deployment.

When Veridex is the right tool

  • Treasury, healthcare, compliance.
  • Hours-to-days workflows with multi-tier approvals.
  • Adversarial threat models.
  • Multi-tenant fleets with per-tenant governance.