A custom agent built from an ADK.Agent.Config.
Wraps a user-provided run function with before/after callback hooks. If a before callback returns non-nil Content, the run function is skipped and an event with that content is emitted instead.
Summary
Functions
Creates a new custom agent from a Config.
Types
@type t() :: %ADK.Agent.CustomAgent{config: ADK.Agent.Config.t()}
Functions
@spec new(ADK.Agent.Config.t()) :: t()
Creates a new custom agent from a Config.