AgentForge.Plugin behaviour (AgentForge v0.2.2)
View SourceBehaviour specification for AgentForge plugins.
Plugins can extend the framework with additional tools, primitives, and notification channels.
Summary
Callbacks
Called when the plugin is loaded. Use this for initialization.
Returns metadata about the plugin.
Called to register notification channels provided by this plugin.
Called to register primitives provided by this plugin.
Called to register tools provided by this plugin.
Callbacks
Called when the plugin is loaded. Use this for initialization.
@callback metadata() :: map()
Returns metadata about the plugin.
@callback register_channels() :: :ok | {:error, term()}
Called to register notification channels provided by this plugin.
@callback register_primitives() :: :ok | {:error, term()}
Called to register primitives provided by this plugin.
Called to register tools provided by this plugin.