Thursday, January 08, 2026

tools: LangGraph: AI agent with state machine, and similar

The state machine + agent pattern is powerful, and LangGraph has popularized it, but it's not unique to them.

Similar Approaches

Direct competitors with explicit graph/state concepts:

  • Autogen (Microsoft) - Uses a different model (multi-agent conversation) but has added StateFlow for explicit state machine control
  • CrewAI - More task/role-based but recently added "Flows" which provide state machine semantics
  • Rivet (Ironclad) - Visual node-based graph editor for AI workflows, compiles to JSON that can run from any language
  • Llama Index Workflows - Their newer workflow system has explicit state and conditional branching

Workflow engines adding AI capabilities:

  • Temporal - You can absolutely build agent loops with Temporal activities; it gives you durability and fault tolerance that LangGraph lacks out of the box
  • Inngest - Similar to Temporal but lighter weight, good for AI agent patterns
  • Prefect / Dagster - Data pipeline tools that can orchestrate agent-style flows

Custom - you could implement the same patterns. The core insight is just: state + transitions + conditional routing based on LLM outputs. Step Functions with a "loop until done" pattern and dynamic choice states.

LangGraph Language Support

Native SDKs:

  • Python (primary, most features)
  • JavaScript/TypeScript (solid, slightly behind Python in features)

LangGraph Platform (Cloud/Self-hosted):

  • Exposes a REST API, so you can call it from any language
  • But you still need to define your graphs in Python or JS

So if you wanted to orchestrate from, say, a .NET service, you'd either define the graph in Python and call the LangGraph API


LangGraph

Similar Tools / Competitors

AutoGen (Microsoft)

CrewAI

Rivet (Ironclad)

LlamaIndex Workflows

Workflow Engines (general-purpose, AI-capable)

Temporal

Inngest


Who's trying similar things:

ToolApproachGap vs LangGraph
CrewAI FlowsEvent-driven with @listen, @router decoratorsLess explicit graph structure, more implicit event wiring
LlamaIndex Workflows@step + events, state via ContextSimilar feel, but events rather than edges — less visual
Semantic Kernel Process FrameworkStateful processes, Dapr/Orleans for distributionMore enterprise/Microsoft stack oriented
RivetVisual graph, but agents are nodes not routersAgent doesn't decide routing — you wire it statically
TemporalYou can build it, but it's DIYNo native "LLM picks next step" primitive

No comments: