protocols
AI Agent Protocols for pluggable skill sources and invocation policies. Core SDK stays protocol-driven (see AGENTS.md §4.1). These protocols let wrappers or paid tiers plug in alternative skill storage (HTTP registry, plugin bundle, enterprise policy) without touching the core.Import
Classes
RemoteSkillSourceProtocol
A declarative remote source that syncs skills into a local cache.
SkillSourceProtocol
Abstract source of skills.
SkillInvocationPolicyProtocol
Gatekeeps whether user/model can invoke a given skill.
SkillMutatorProtocol
Agent-managed skill CRUD operations.
SkillsCatalogProtocol
Metadata listing for skills — UI catalog pages.
SkillReviewProtocol
Policy for the autonomous skill self-improvement loop.
DefaultSkillReviewPolicy
Default, conservative skill-review policy.
Functions
list_skills_for_api()
Default catalog adapter using SkillManager when available.

