Core plugin system architecture and lifecycle in elizaOS
Plugin
interface, which defines the structure and capabilities of a plugin. The interface includes:
name
and description
to identify the plugininit
function for setup logicactions
, providers
, evaluators
, and services
config
registerPlugin
method)init()
method if presentruntime.getSetting()
which provides a consistent interface to environment variables and character settings.
dependencies
array to specify required plugins@elizaos/core
for all plugin componentsruntime.getSetting()
for consistent configuration access