Knowledge sharing among ideal agents