A utility class for agents and plugins