Modeling of Cognitive Agents