Agentic.Config
(agentic v0.2.2)
Copy Markdown
Runtime config surface for agentic, loaded from
Application.get_all_env(:agentic).
Hosts configure agentic through the standard Elixir config flow:
config :agentic,
providers: [Agentic.LLM.Provider.Anthropic, ...],
catalog: [persist_path: "~/.agentic/catalog.json", ...]This module exposes typed accessors validated via nimble_options.
Summary
Functions
Catalog config key.
Returns the preferred embedding model id, or nil if not configured.
Hosts can set config :agentic, embedding_model: "text-embedding-3-small".
All providers configured at compile time.
Router config key.
Telemetry config key.
Usage config key.
Validate and return the full config map.
Functions
Catalog config key.
@spec embedding_model() :: String.t() | nil
Returns the preferred embedding model id, or nil if not configured.
Hosts can set config :agentic, embedding_model: "text-embedding-3-small".
@spec providers() :: [module()]
All providers configured at compile time.
Router config key.
Telemetry config key.
Usage config key.
@spec validate!() :: keyword()
Validate and return the full config map.