ai-agents-runtime 1.0.1

Runtime agent and builder for AI Agents framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ai_agents_skills::SkillDefinition;

/// Skill selected by a speculative routing branch before execution commits.
#[derive(Debug, Clone)]
pub struct SkillCandidate {
    pub skill_id: String,
    pub skill: SkillDefinition,
}

impl SkillCandidate {
    pub fn new(skill_id: impl Into<String>, skill: SkillDefinition) -> Self {
        Self {
            skill_id: skill_id.into(),
            skill,
        }
    }
}