Expand description
Plugin trait definitions.
Defines the 6 core plugin traits plus supporting traits:
Tool– tool execution interfaceChannelAdapter– channel message handlingPipelineStage– pipeline processing stageSkill– skill definition with tool listMemoryBackend– memory storage interfaceVoiceHandler– placeholder for voice forward-compatKeyValueStore– key-value storage for pluginsToolContext– execution context for toolsChannelAdapterHost– host services for channel adapters
All traits are Send + Sync. Async methods use #[async_trait].
Structs§
- Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
Enums§
- Pipeline
Stage Type - Types of pipeline stages.
Traits§
- Channel
Adapter - A channel adapter for connecting to external messaging platforms.
- Channel
Adapter Host - Host services exposed to channel adapters.
- KeyValue
Store - Key-value store interface exposed to plugins via
ToolContext. - Memory
Backend - A pluggable memory storage backend.
- Pipeline
Stage - A stage in the agent processing pipeline.
- Skill
- A skill is a high-level agent capability composed of tools, instructions, and configuration.
- Tool
- A tool that can be invoked by an agent or exposed via MCP.
- Tool
Context - Execution context passed to
Tool::execute()andSkill::execute_tool(). - Voice
Handler - Placeholder trait for voice/audio processing (Workstream G).