1. A method for analyzing the costs of an agent, said method comprising: storing, in a computer memory, data relating to a previously observed behavior of at least one of an agent of interest and at least one agent that can be assumed to hold similar utilities to the agent of interest, such that an agent class is defined; deriving with a processing device and based on the stored data, a resolving utility function; observing a sequence of behavior of the agent of interest; inputting the observed behavior sequence to an analyzer; deriving with a processing device and based on the observed sequence of behavior, a set of costs that the agent of interest incurred for their observed behavior; determining at least one percept of the agent regarding the set of costs; and comparing the resolving utility function derived from stored data to the set of costs derived from the observed sequence of behavior and the at least one percept regarding the set of costs to determine anomalous behavior.