Skip to main contentCrate synaptic_graph
Source - Checkpoint
- A snapshot of graph state at a point in execution.
- CheckpointConfig
- Configuration identifying a checkpoint (thread/conversation).
- CompiledGraph
- The compiled, executable graph.
- ConditionalEdge
- A conditional edge from source node to a dynamically chosen target.
- Edge
- A fixed edge from source node to target node.
- FnNode
- Wraps an async function as a Node.
- GraphContext
- A context that nodes can use to issue graph execution commands.
- GraphEvent
- An event yielded during graph streaming.
- MemorySaver
- In-memory checkpointer (for development/testing).
- MessageState
- Built-in state containing a list of messages (most common use case).
- ReactAgentOptions
- Options for creating a ReAct agent with
create_react_agent_with_options. - Send
- A Send instruction for dynamic fan-out to multiple nodes.
- StateGraph
- Builder for constructing a state graph.
- ToolNode
- Prebuilt node that executes tool calls from the last AI message in state.
- GraphCommand
- A graph execution command that can override normal edge routing.
- StreamMode
- Controls what is yielded during graph streaming.
- END
- Sentinel name for the graph end point.
- START
- Sentinel name for the graph start point.
- Checkpointer
- Trait for persisting graph state checkpoints.
- Node
- A node in the graph that processes state.
- State
- Trait for graph state. Types implementing this can be used as graph state.
- create_react_agent
- Create a prebuilt ReAct agent graph.
- create_react_agent_with_options
- Create a prebuilt ReAct agent graph with additional configuration options.
- GraphStream
- A stream of graph events.
- RouterFn
- A routing function that inspects state and returns a target node name.