Skip to main content

Crate argentor_skills

Crate argentor_skills 

Source
Expand description

Skill system with WASM-sandboxed runtime, plugin loading, and registry.

This crate defines the skill abstraction used by Argentor agents, including dynamic loading of WASM plugins, a central registry, and markdown-based prompt skills.

§Main types

  • Skill — Trait that every executable skill implements.
  • SkillDescriptor — Metadata describing a skill’s name, parameters, and capabilities.
  • SkillRegistry — Central registry for discovering and invoking skills.
  • WasmSkillRuntime — Wasmtime-based sandbox for running untrusted skill plugins.
  • SkillLoader — Loads WASM skill plugins from configuration.
  • MarkdownSkill — A skill defined via a Markdown file with YAML frontmatter.

Re-exports§

pub use loader::SkillConfig;
pub use loader::SkillLoader;
pub use markdown_skill::LoadedMarkdownSkills;
pub use markdown_skill::MarkdownSkill;
pub use markdown_skill::MarkdownSkillLoader;
pub use marketplace::builtin_catalog_entries;
pub use marketplace::CatalogEntry;
pub use marketplace::CompatibilityResult;
pub use marketplace::InstalledSkill;
pub use marketplace::MarketplaceCatalog;
pub use marketplace::MarketplaceClient;
pub use marketplace::MarketplaceEntry;
pub use marketplace::MarketplaceManager;
pub use marketplace::MarketplaceSearch;
pub use marketplace::SearchResponse;
pub use marketplace::SkillCache;
pub use marketplace::SkillDependency;
pub use marketplace::SortBy;
pub use marketplace::UpgradeInfo;
pub use plugin::Plugin;
pub use plugin::PluginEvent;
pub use plugin::PluginManifest;
pub use plugin::PluginRegistry;
pub use registry::SkillRegistry;
pub use registry::ToolGroup;
pub use skill::Skill;
pub use skill::SkillDescriptor;
pub use tool_builder::ToolBuilder;
pub use vetting::SkillIndex;
pub use vetting::SkillManifest;
pub use vetting::SkillVetter;
pub use vetting::VettingResult;
pub use wasm_runtime::WasmSkillRuntime;

Modules§

dynamic_gen
Dynamic tool generation — agents create new tools at runtime from specs. Dynamic tool generation at runtime from declarative specifications.
loader
WASM skill loader and configuration.
markdown_skill
Markdown-based prompt and callable skills.
marketplace
Skill marketplace: catalog, search, dependency resolution, and publishing. Skill Marketplace — registry system for discovering, downloading, and publishing skills.
plugin
Plugin system with manifest and event hooks.
registry
Central skill registry and tool groups.
skill
Core skill trait and descriptor.
tool_builder
Fluent builder for defining skills without boilerplate (like @tool in Python SDKs). Fluent builder for defining skills without boilerplate.
vetting
Skill vetting, signing, and secure registry index.
wasm_runtime
Wasmtime-based WASM skill runtime.