# `Agentic.Telemetry.Aggregator`

GenServer that maintains running aggregates of orchestration telemetry events.

Attaches to `[:agentic, :orchestration, :turn]` and
`[:agentic, :orchestration, :tool_executed]` events and keeps
per-`(strategy, mode)` counters.

## Usage

    Aggregator.summary(:default)
    Aggregator.summary(:default, :agentic)

# `entry`

```elixir
@type entry() :: %{
  turn_count: non_neg_integer(),
  total_duration_ms: non_neg_integer(),
  tool_call_count: non_neg_integer(),
  tool_success_count: non_neg_integer(),
  error_count: non_neg_integer()
}
```

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `reset`

Reset all counters.

# `start_link`

# `summary`

```elixir
@spec summary(atom()) :: %{optional(atom()) =&gt; entry()}
```

Return aggregated stats for a strategy.

# `summary`

```elixir
@spec summary(atom(), atom()) :: entry()
```

Return aggregated stats for a strategy + mode pair.

---

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