Skip to main content

Crate langgraph

Crate langgraph 

Source
Expand description

langgraph is a framework for building stateful, multi-actor applications with LLMs.

This crate is the main entry point (umbrella crate) that re-exports the core engine and optional ecosystem crates like checkpointers, prebuilt agents, tracing, and model providers.

Modules§

channels
checkpoint
config
constants
error
graph
managed
Managed values - will be implemented in Phase 4
pregel
prelude
runnable
runtime
stream
types

Macros§

conditional_edges
Simplify add_conditional_edges with automatic route map construction.
node_fn
Convenience macro to wrap a sync closure for use with add_node.
routing
Wrap a routing function for use with add_conditional_edges.

Attribute Macros§

langgraph_state
This attribute macro:
tool
Attribute macro to define a tool from a function.

Derive Macros§

StateGraph
Derive macro for StateGraph state types.
Traceable