Condukt.Agent (Condukt v1.5.1)

Copy Markdown View Source

Macro for defining Condukt agents with explicit agent options.

use Condukt.Agent is equivalent to use Condukt. Passing :runtime selects the component that owns the agent loop:

defmodule MyApp.Implementer do
  use Condukt.Agent, runtime: MyApp.CodexRuntime
end

The native runtime remains the default.