# `WardrikDaemon.Agents`

Defines the agents in `agents/`. It's the daemon's `Wardrik.Declarations`.

On each reload:

  * an agent whose file reads is defined from it.
  * an agent whose file is gone is forgotten.
  * an agent whose file doesn't read keeps its last definition, and the log says why.

The API can't forget an agent a file declares.

## Options

  * `:wardrik` - what Wardrik is reached by.
  * `:dir` - the `agents/` directory.
  * `:config` - the `WardrikDaemon.Config`.
  * `:store` - where it keeps which agents the files declare.

# `scope`

```elixir
@spec scope(keyword()) :: Wardrik.Scope.t()
```

Returns the scope agents are defined in: the deployment's own, as owner of every resource.

---

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