pub struct GraphNode {
pub agent: AgentSelection,
pub definition: AgentDefinition,
pub dependencies: Vec<GraphDependency>,
pub env_id: EnvId,
pub execution: GraphExecutionProfile,
pub id: String,
pub inputs: Vec<GraphInputBinding>,
pub objective: String,
pub outputs: Vec<GraphOutput>,
pub request: TurnPrompt,
}Expand description
An agent invocation template, independent of built-in workflow roles.
Fields§
§agent: AgentSelectionCaptured model/provider, never resolved from mutable settings at dispatch.
definition: AgentDefinitionComplete captured instructions, independent of a role or catalog ID.
dependencies: Vec<GraphDependency>All gates must be satisfied before a new execution can be admitted.
env_id: EnvIdStable environment identity; paths are resolved by the host at execution.
execution: GraphExecutionProfileContext, response, effect, budget, and resource requirements.
id: StringIdentity unique within this graph and stable across its revisions.
inputs: Vec<GraphInputBinding>Named result slots resolved to exact references at attempt admission.
objective: StringDesired outcome, separate from the agent definition and attempt request.
outputs: Vec<GraphOutput>Named outputs with protocol-owned schemas, not implicit conversation replay.
request: TurnPromptCaptured initial request and workflow evidence, excluding bound results. Hosts supply result bodies explicitly; this is not a template language.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphNode
impl<'de> Deserialize<'de> for GraphNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for GraphNode
impl StructuralPartialEq for GraphNode
Auto Trait Implementations§
impl Forget for GraphNode
impl Freeze for GraphNode
impl Move for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.