# `Alloy.Agent.Events`
[🔗](https://github.com/alloy-ex/alloy/blob/v0.12.4/lib/alloy/agent/events.ex#L1)

Deprecated alias for `Alloy.Events`.

> #### Renamed to `Alloy.Events` {: .warning}
>
> The v1 event envelope module has been promoted to the top-level
> namespace as `Alloy.Events`. It is part of Alloy's protocol surface
> — `Alloy.Agent.Turn` calls it directly, so it is **not** moving to
> the `alloy_agent` runtime package.
>
> This shim will be removed in Alloy 0.13.0. Update `alias` lines from
> `Alloy.Agent.Events` to `Alloy.Events`.
>
> Note: Alloy 0.12.1 incorrectly listed this module as moving to
> `AlloyAgent.Events`. That guidance was wrong and is retracted in
> 0.12.2 — see `docs/MIGRATION-alloy_agent.md` for the corrected table.

# `build_correlation_id`

> This function is deprecated. Use Alloy.Events.build_correlation_id/1 instead. Will be removed in Alloy 0.13.0..

```elixir
@spec build_correlation_id(Alloy.Agent.State.t()) :: binary()
```

# `emit`

> This function is deprecated. Use Alloy.Events.emit/3 instead. Will be removed in Alloy 0.13.0..

```elixir
@spec emit(keyword(), non_neg_integer(), term()) :: :ok
```

# `normalize_opts`

> This function is deprecated. Use Alloy.Events.normalize_opts/2 instead. Will be removed in Alloy 0.13.0..

```elixir
@spec normalize_opts(
  Alloy.Agent.State.t(),
  keyword()
) :: keyword()
```

---

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