Expand description
Skill registry — centralized publish/discover for agent capabilities, the ADK skills-registry pattern.
A skill is a named, versioned capability: locally, an AgentConfig
this process can build and run; remotely, an A2A endpoint another
service exposes. Registries let a deployment resolve capabilities at
runtime instead of hardcoding them:
ⓘ
let registry = LocalSkillRegistry::new();
registry.publish(SkillInfo::local("triage", "1.2.0", "Route a support ticket", config)).await?;
// Later — possibly a different subsystem:
let skill = registry.resolve("triage", None).await?.expect("registered");
let config = skill.agent.unwrap();LocalSkillRegistry is the in-process reference backend, and
LocalSkillRegistry::load_dir hydrates one from a directory of agent
config files (see discover_agent_configs).
Cloud registries (a database, a service mesh, Google Cloud’s skill
registry) implement SkillRegistryBackend.
Structs§
- Local
Skill Registry - In-process skill registry: a versioned map behind an async lock.
- Skill
Filter - Filter for
SkillRegistryBackend::list. Empty filter matches all. - Skill
Info - One published skill: identity, humans-facing description, and either a locally buildable agent, a remote A2A endpoint, or both.
Enums§
- Skill
Registry Error - Registry backend failure.
Traits§
- Skill
Registry Backend - Storage backend for a skill registry. Implement this for a database or
cloud registry;
LocalSkillRegistryis the in-process reference.