Available on crate feature
graph only.Expand description
Prelude module for convenient imports
Macros§
- json
- Construct a
serde_json::Valuefrom a JSON literal.
Structs§
- Agent
Node - Wrapper to use an existing ADK Agent as a graph node
- Channel
- Channel definition for a state field
- Checkpoint
- Checkpoint data structure for persistence
- Compiled
Graph - A compiled graph ready for execution
- Execution
Config - Configuration passed to nodes during execution
- Function
Node - Function node - wraps an async function as a node
- Graph
Agent - GraphAgent wraps a CompiledGraph as an ADK Agent
- Graph
Agent Builder - Builder for GraphAgent
- Interrupted
Execution - Information about an interrupted execution
- Memory
Checkpointer - In-memory checkpointer for development and testing
- Node
Context - Context passed to nodes during execution
- Node
Output - Output from a node execution
- Router
- Router helper functions for common patterns
- State
Graph - Builder for constructing graphs
- State
Schema - State schema defines channels and their reducers
- State
Schema Builder - Builder for StateSchema
Enums§
- Edge
- Edge type
- Edge
Target - Target of an edge
- Graph
Error - Errors that can occur during graph operations
- Interrupt
- Interrupt request from a node or configuration
- Reducer
- Reducer determines how state updates are merged
- Stream
Event - Events emitted during streaming
- Stream
Mode - Stream mode options
- Value
- Represents any valid JSON value.
Constants§
Traits§
- Checkpointer
- Checkpointer trait for persistence
- Node
- A node in the graph
Functions§
- interrupt
- Helper to create a dynamic interrupt from within a node
- interrupt_
with_ data - Helper to create a dynamic interrupt with data