# `Condukt.Agent`
[🔗](https://github.com/tuist/condukt/blob/1.5.1/lib/condukt/agent.ex#L1)

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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
