Skip to content

Workflow intent

llm-core describes portable workflow intent; it does not execute a local workflow engine. Ordering, branching, reducers, interrupts, retries, checkpoints, and durable scheduling remain owned by the selected runtime.

ts
import type { WorkflowExecutionPlan } from "@geekist/llm-core";

declare const portableIntent: WorkflowExecutionPlan;
declare const langGraphTarget: {
  compile(plan: WorkflowExecutionPlan): Promise<unknown>;
};

const nativeGraph = await langGraphTarget.compile(portableIntent);

console.log(nativeGraph);

A target adapter may implement an exact portable-intent operation for LangGraph, Temporal, Mastra, or another engine. That operation is distinct from the engine's native graph, history, signal, checkpoint, reducer, and retry operations. Each is classified independently as supported, unsupported, or, with exact-version source evidence, not-applicable.

Portable workflow intent is not a portable checkpoint. A LangGraph checkpoint, Temporal history, and another runtime's snapshot cannot be exchanged merely because their adapters produce common events.

For controlled effects, see controlled tool execution.