Module: Agentic

Defined in:
lib/agentic/structured_outputs.rb,
lib/agentic.rb,
lib/agentic/agent.rb,
lib/agentic/logger.rb,
lib/agentic/version.rb,
lib/agentic/llm_client.rb,
lib/agentic/llm_config.rb,
lib/agentic/task_planner.rb,
lib/agentic/factory_methods.rb

Overview

Defined Under Namespace

Modules: FactoryMethods, StructuredOutputs Classes: Agent, Configuration, Error, LlmClient, LlmConfig, Logger, TaskPlanner

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



28
29
30
# File 'lib/agentic.rb', line 28

def self.configuration
  @configuration ||= Configuration.new
end

.loggerObject

Returns the value of attribute logger.



11
12
13
# File 'lib/agentic.rb', line 11

def logger
  @logger
end

Class Method Details

.client(config) ⇒ Object



36
37
38
# File 'lib/agentic.rb', line 36

def self.client(config)
  LlmClient.new(config)
end

.configure {|configuration| ... } ⇒ Object

Yields:



32
33
34
# File 'lib/agentic.rb', line 32

def self.configure
  yield(configuration)
end