Expand description
Plugin System for A3S Code
Provides a unified interface for loading and unloading optional tool plugins.
All plugins implement the Plugin trait, which gives the system a single
consistent surface for lifecycle management.
§Architecture
SessionOptions::plugins ──► PluginManager::load_all(registry, ctx)
│
┌───────────┴────────────┐
▼ ▼
AgenticSearchPlugin AgenticParsePlugin
(registers agentic_search) (registers agentic_parse)§Usage
ⓘ
use a3s_code_core::{SessionOptions, AgenticSearchPlugin, AgenticParsePlugin};
let opts = SessionOptions::new()
.with_plugin(AgenticSearchPlugin::new())
.with_plugin(AgenticParsePlugin::new());Structs§
- Agentic
Parse Plugin - Plugin that mounts the
agentic_parsetool. - Agentic
Search Plugin - Plugin that mounts the
agentic_searchtool. - Plugin
Context - Runtime context provided to plugins when they are loaded.
- Plugin
Manager - Manages the lifecycle of all loaded plugins for a session.
- Skill
Plugin - A skill-only plugin that injects custom skills into the session’s skill registry without registering any tools.
Traits§
- Plugin
- Unified interface for all A3S Code plugins.