aggregate context stub using agent class