Plugin Management
Manage ElizaOS plugins within a project - list, add, remove
Plugin Command
Manage ElizaOS plugins.
Usage
Subcommands
Subcommand | Aliases | Description | Arguments | Options |
---|---|---|---|---|
list | l , ls | List available plugins to install into the project (shows v1.x plugins by default) | --all (detailed version info), --v0 (v0.x compatible only) | |
add | install | Add a plugin to the project | <plugin> (plugin name e.g., “abc”, “plugin-abc”, “elizaos/plugin-abc”) | -s, --skip-env-prompt , --skip-verification , -b, --branch , -T, --tag |
installed-plugins | List plugins found in the project dependencies | |||
remove | delete , del , rm | Remove a plugin from the project | <plugin> (plugin name e.g., “abc”, “plugin-abc”, “elizaos/plugin-abc”) | |
upgrade | Upgrade a plugin from version 0.x to 1.x using AI-powered migration | <path> (GitHub repository URL or local folder path) | --api-key , --skip-tests , --skip-validation , --quiet , --verbose , --debug , --skip-confirmation | |
generate | Generate a new plugin using AI-powered code generation | --api-key , --skip-tests , --skip-validation , --skip-prompts , --spec-file |
Usage
Subcommands
Subcommand | Aliases | Description | Arguments | Options |
---|---|---|---|---|
list | l , ls | List available plugins to install into the project (shows v1.x plugins by default) | --all (detailed version info), --v0 (v0.x compatible only) | |
add | install | Add a plugin to the project | <plugin> (plugin name e.g., “abc”, “plugin-abc”, “elizaos/plugin-abc”) | -s, --skip-env-prompt , --skip-verification , -b, --branch , -T, --tag |
installed-plugins | List plugins found in the project dependencies | |||
remove | delete , del , rm | Remove a plugin from the project | <plugin> (plugin name e.g., “abc”, “plugin-abc”, “elizaos/plugin-abc”) | |
upgrade | Upgrade a plugin from version 0.x to 1.x using AI-powered migration | <path> (GitHub repository URL or local folder path) | --api-key , --skip-tests , --skip-validation , --quiet , --verbose , --debug , --skip-confirmation | |
generate | Generate a new plugin using AI-powered code generation | --api-key , --skip-tests , --skip-validation , --skip-prompts , --spec-file |
Listing Available Plugins
Adding Plugins
After installing plugins via CLI, you must add them to your character file (.json
or .ts
) to activate them. Installing only adds the package to your project dependencies.
Activating Plugins
The SQL plugin (@elizaos/plugin-sql
) is typically included by default as it provides core database functionality. Other plugins can be loaded conditionally based on environment variables to avoid loading unnecessary dependencies.
Listing Installed Plugins
Removing Plugins
Upgrading Plugins (AI-Powered)
Generating New Plugins (AI-Powered)
Plugin Installation Formats
The add
command supports multiple plugin formats:
Package Names
GitHub Integration
Version Control
Plugin Development Workflow
1. Create a Plugin
2. Install in Your Project
3. Test Your Plugin
4. Publish Your Plugin
For detailed instructions on authentication, plugin requirements, and the full publishing process, see the publish
command documentation.
AI-Powered Plugin Development
ElizaOS includes AI-powered features to help with plugin development:
Plugin Generation
The generate
command uses AI to create a new plugin based on your specifications:
- Interactive Mode: Guides you through plugin requirements
- Code Generation: Creates complete plugin structure with actions, providers, and tests
- Validation: Ensures generated code follows ElizaOS best practices
Plugin Migration
The upgrade
command helps migrate v0.x plugins to v1.x format:
- Automated Analysis: Analyzes existing plugin structure
- Code Transformation: Updates APIs, imports, and patterns
- Test Migration: Converts tests to new format
- Validation: Ensures migrated plugin works correctly
Requirements
Both AI features require an Anthropic API key:
- Set via environment:
export ANTHROPIC_API_KEY=your-api-key
- Or pass directly:
--api-key your-api-key