Orkena
▸ Browse docs — Guides

▸ SECTION C · Guides

Import from LangGraph

Last updated: 2026-08-16

Orkena is not a LangGraph competitor — it is the substrate LangGraph graphs get deployed onto when governance becomes the requirement. The adapter imports existing workflows as first-class graphs.

What carries over

LangGraph conceptOrkena equivalent
StateGraph / nodesGraph nodes (agent, tool, transform, router, terminate)
Edges and conditional edgesEdges; conditional routing becomes router nodes
Tool nodestool nodes via MCP
Human-in-the-loop interruptsgate.hitl nodes
CheckpointerThe durable executor’s checkpoints

What doesn’t carry over

  • Custom runtime code that bypasses the executor — runs inside Orkena use the durable engine
  • Tools that are not MCP-compatible — wrap them or use the tool adapter
  • Framework-specific lifecycle hooks — replace with transform nodes

How to import

  1. Export your graph from LangGraph as JSON (or point the adapter at the source file).
  2. Import in Orkena: Graphs → Import → LangGraph.
  3. Review the mapped graph in the canvas; adjust node types where the mapping is approximate.
  4. Wrap in governance: attach the baseline-security policy pack, add gate.hitl where approvals are required, and enable ledger capture.
  5. Publish the first version and run it.

What you gain

The imported graph now runs on the durable executor with policy on every edge, a hash-chained ledger, deterministic replay, and evidence bundles — none of which require rewriting your logic.

Was this helpful?