pub struct ExecutionSpec {
pub backend: ExecutionBackend,
pub delegation: DelegationSpec,
pub required_tool_tags: Vec<String>,
pub required_skill_tags: Vec<String>,
pub steps: Vec<ExecutionStep>,
pub hard_caps: HardCaps,
}Expand description
Top-level declarative execution spec for an autonomous agent template.
A runtime that consumes this spec must:
- Provision identity + wallet + delegation per
delegation - Auto-discover tools whose tags match
required_tool_tagsfromCF_TOOLSviatenzro_searchTools - Auto-discover skills whose tags match
required_skill_tagsfromCF_SKILLSviatenzro_searchSkills - Walk
stepsin order, gating each step byIdentityRegistry::enforce_operation()againsthard_caps - Dispatch each step to the matching subsystem (
backend)
Fields§
§backend: ExecutionBackendWhich Tenzro execution backend the agent dispatches against
delegation: DelegationSpecDelegation scope to provision when spawning the agent
Tag queries used to auto-discover required tools from CF_TOOLS.
At spawn time, the agent-kit calls tenzro_searchTools for each
tag and binds the first matching Active tool.
Tag queries used to auto-discover required skills from CF_SKILLS.
At spawn time, the agent-kit calls tenzro_searchSkills for each
tag and binds the first matching active skill.
steps: Vec<ExecutionStep>Declarative list of execution steps. Walked in order at run time.
hard_caps: HardCapsHard caps enforced by the runtime in addition to the delegation scope. These guarantee that even a misbehaving step body cannot exceed the per-operation or per-day value limit.
Trait Implementations§
Source§impl Clone for ExecutionSpec
impl Clone for ExecutionSpec
Source§fn clone(&self) -> ExecutionSpec
fn clone(&self) -> ExecutionSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionSpec
impl Debug for ExecutionSpec
Source§impl<'de> Deserialize<'de> for ExecutionSpec
impl<'de> Deserialize<'de> for ExecutionSpec
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 ExecutionSpec
Source§impl PartialEq for ExecutionSpec
impl PartialEq for ExecutionSpec
Source§fn eq(&self, other: &ExecutionSpec) -> bool
fn eq(&self, other: &ExecutionSpec) -> bool
self and other values to be equal, and is used by ==.