smooth-plugin
The Smooth plugin system
Extend Smooth with custom CLI commands, API routes, TUI views, and operator tools. One trait, one registry, zero ceremony.
smooth-plugin is the extension point for everything Smooth doesn't ship in the core binary. Build a linter, a deployer, a ticket-sync tool, a bespoke MCP bridge — implement the Plugin trait, drop it in ~/.smooth/plugins/ (global) or <repo>/.smooth/plugins/ (per-project), and it shows up as a th <name> subcommand + on the agent's tool registry + on the TUI sidebar.
Plugins merge with project-scope winning on name collisions, so you can override a team-wide plugin locally without forking.
Part of Smooth, the security-first AI-agent orchestration platform.
Key Types
Plugin— the trait:name,version, plus optionalregister_commands,register_tools,register_api_routes,register_tui_views.PluginCommand/PluginCommandBuilder— declarative clap-style subcommands mounted underth.PluginRegistry— loaded once at startup; merges global + project-scoped plugins.
Usage
use ;
;
See docs/extending.md for the full authoring guide, including MCP server bridges and dynamic plugin loading.
License
MIT