Skip to main content

Crate wesichain_graph

Crate wesichain_graph 

Source

Re-exports§

pub use react_subgraph::ContextCompressor;
pub use react_subgraph::ReActGraphBuilder;
pub use react_subgraph::TokenThresholdCompressor;
pub use hitl::ApprovalChannel;
pub use hitl::ApprovalDecision;
pub use hitl::ApprovalDefault;
pub use hitl::ApprovalGate;
pub use hitl::ApprovalRequest;
pub use hitl::ApprovalState;
pub use supervisor::Supervisor;
pub use supervisor::SupervisorBuilder;
pub use supervisor::WorkerRunner;
pub use supervisor::WorkerSpec;

Modules§

hitl
Human-in-the-loop (HITL) approval gates.
react_subgraph
state
supervisor
Supervisor + worker multi-agent orchestration.

Structs§

AddCounter
Append
Reducer that appends the update to the current value (for Vec).
AppendVec
Checkpoint
CheckpointMetadata
CheckpointRecord
ExecutableGraph
ExecutionConfig
ExecutionOptions
FileCheckpointer
GraphBuilder
GraphContext
GraphInterrupt
GraphProgram
GraphState
InMemoryCheckpointer
MergeMap
NodeData
Override
Overwrite
Reducer that overwrites the current value with the update (Last-Write-Wins).
ReActAgentNodeDeprecated
RetrieverNode
StateUpdate
ToolNode
Generic tool execution node for graph-based workflows.
Union
Reducer that computes the union of the current and update sets (for HashSet).

Enums§

EdgeKind
GraphError
GraphEvent
ToolFailurePolicy

Constants§

END
START

Traits§

Checkpointer
GraphNode
HasToolCalls
Trait for states that contain pending tool calls.
HistoryCheckpointer
Observer
Reducer
Trait for defining how to merge concurrent updates for a specific field.
StateReducer
StateSchema

Functions§

parallel_agents
Run all agents concurrently with the same task and return all outputs.