Dynamic supervisor for managing agent lifecycle at runtime.
Provides functions to start and stop agent processes dynamically.
Summary
Functions
@spec start_agent(ExAgent.Agent.agent_opts()) :: DynamicSupervisor.on_start_child()
Starts a new agent under the dynamic supervisor.
Options
See ExAgent.Agent.start_link/1 for available options.
@spec stop_agent(pid()) :: :ok | {:error, :not_found}
Stops an agent process.