rust-langgraph 0.1.1

Stateful graph runtime for LLM workflows in Rust (community project; not affiliated with LangChain). Pregel-style execution: nodes, conditional edges, checkpoints, streaming. Optional adapters for Ollama, OpenAI, OpenRouter (OpenAI-compatible), and Anthropic; optional ReAct agent + tools. Crate import: rust_langgraph (underscore). Default features include in-memory checkpoints. Enable Cargo features explicitly for LLM modules (e.g. ollama, openai, openrouter, anthropic, prebuilt). See README.md on crates.io for copy-paste Cargo.toml, env vars, and common mistakes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Graph builder API and compiled graph.

pub mod state_graph;

pub use state_graph::{StateGraph, CompiledGraph};

/// Special node name for the graph entry point
pub const START: &str = "__start__";

/// Special node name for the graph exit point
pub const END: &str = "__end__";