common.protocols

Protocols shared across the agent packages.

Dependency-light on purpose: the shared layer (common) must stay importable without the ML stack, so the interfaces it defines live here, not in ml.protocols.

Classes

Named()

An object that reports its name (agents, predictors).

class common.protocols.Named[source]

Bases: ABC

An object that reports its name (agents, predictors).

abstractmethod name()[source]

Return the object’s name.

Return type:

str