Module: Agentic::Extension
- Defined in:
- lib/agentic/extension.rb,
lib/agentic/extension/domain_adapter.rb,
lib/agentic/extension/plugin_manager.rb,
lib/agentic/extension/protocol_handler.rb
Overview
The Extension module provides extensibility points for the Agentic framework. It includes three main components:
-
DomainAdapter - Adapts the framework for specific domains (e.g., healthcare, finance)
-
ProtocolHandler - Standardizes connections to external systems
-
PluginManager - Coordinates third-party extension loading and registration
These components allow users to customize and extend Agentic’s capabilities while maintaining a consistent interface.
Defined Under Namespace
Classes: DomainAdapter, PluginManager, ProtocolHandler
Class Method Summary collapse
-
.domain_adapter(domain, options = {}) ⇒ DomainAdapter
Create a domain adapter for a specific domain.
-
.plugin_manager(options = {}) ⇒ PluginManager
Get or create a plugin manager instance.
-
.protocol_handler(options = {}) ⇒ ProtocolHandler
Get or create a protocol handler instance.
Class Method Details
.domain_adapter(domain, options = {}) ⇒ DomainAdapter
Create a domain adapter for a specific domain
40 41 42 |
# File 'lib/agentic/extension.rb', line 40 def domain_adapter(domain, = {}) DomainAdapter.new(domain, ) end |
.plugin_manager(options = {}) ⇒ PluginManager
Get or create a plugin manager instance
23 24 25 |
# File 'lib/agentic/extension.rb', line 23 def plugin_manager( = {}) @plugin_manager ||= PluginManager.new() end |
.protocol_handler(options = {}) ⇒ ProtocolHandler
Get or create a protocol handler instance
31 32 33 |
# File 'lib/agentic/extension.rb', line 31 def protocol_handler( = {}) @protocol_handler ||= ProtocolHandler.new() end |