Treatise on the States of the Agent