Expand description
Graph-based agent orchestration.
Provides the types and engine for composing LLM calls, tool executions, routing nodes, and checkpoints into a directed processing graph.
§Quick start
ⓘ
use universal_agent_runtime::uar::runtime::graph::{AgentGraph, GraphState};
use universal_agent_runtime::uar::runtime::graph::nodes::LlmNode;
let graph = AgentGraph::builder("llm")
.add_node(LlmNode::new("llm"))
.build();
let state = graph.execute(GraphState::default(), &ctx).await;Re-exports§
pub use engine::AgentGraph;pub use engine::AgentGraphBuilder;pub use nodes::AgentNode;pub use nodes::CheckpointNode;pub use nodes::LlmNode;pub use nodes::RouterNode;pub use nodes::ToolNode;pub use types::GraphContext;pub use types::GraphEdge;pub use types::GraphNode;pub use types::GraphState;pub use types::NodeResult;
Modules§
- delegation
- Host-bound graph delegation through the same controls as native agent tools. Graph data supplies intent, never the caller, root, approval or credentials.
- engine
- Graph execution engine.
- nodes
- Built-in graph node implementations.
- tools
- Trusted graph-tool dispatch and ownership of an in-flight call. Cancelling a node waiter does not drop a request that may already have caused effects.
- types
- Core types for graph-based agent orchestration.