Class AggregateClient

java.lang.Object
ai.badmonkey.agentspaces.agent.capability.AggregateClient

public final class AggregateClient extends Object
The typed client for aspace:cap/aggregate (spec §8, §10.5): a thin wrapper over this group's PushSumAggregate, so application code joins an aggregation epoch and reads the converging fleet average through spaces.group("g").capability(AggregateClient.class).

Resolution, by the AggregateClient.Factory: a PushSumAggregate registered locally through GroupContext.provide(...) backs the client; otherwise one is created over the group's CapabilityPipes and peer sampler and registered as this peer's provider, since every push-sum participant both pushes and receives shares. Push-sum is symmetric, so there is no consumer-only mode to resolve.