CAAF: A Cognitive Affective Agent Programming Framework

  • Frank KapteinEmail author
  • Joost Broekens
  • Koen V. Hindriks
  • Mark Neerincx
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10011)


Cognitive agent programming frameworks facilitate the development of intelligent virtual agents. By adding a computational model of emotion to such a framework, one can program agents capable of using and reasoning over emotions. Computational models of emotion are generally based on cognitive appraisal theory; however, these theories introduce a large set of appraisal processes, which are not specified in enough detail for unambiguous implementation in cognitive agent programming frameworks. We present CAAF (Cognitive Affective Agent programming Framework), a framework based on the belief-desire theory of emotions (BDTE), that enables the computation of emotions for cognitive agents (i.e., making them cognitive affective agents). In this paper we bridge the remaining gap between BDTE and cognitive agent programming frameworks. We conclude that CAAF models consistent, domain independent emotions for cognitive agent programming.


Models of emotionally communicative behavior Theoretical foundations and formal models Dimensons of intelligence cognition and behavior 



This research is done for the PAL (a Personal Assistant for a healthy Lifestyle)-project. PAL is funded by Horizon2020 grant nr. 643783-RIA.


  1. 1.
    Adam, C., Herzig, A., Longin, D.: A logical formalization of the OCC theory of emotions. Synthese 168(2), 201–248 (2009)CrossRefzbMATHGoogle Scholar
  2. 2.
    Bates, J., et al.: The role of emotion in believable agents. Commun. ACM 37(7), 122–125 (1994)CrossRefGoogle Scholar
  3. 3.
    Beale, R., Creed, C.: Affective interaction: how emotional agents affect users. Int. J. Hum.-Comput. Stud. 67(9), 755–776 (2009)CrossRefGoogle Scholar
  4. 4.
    Bordini, R.H., Hübner, J.F., Wooldridge, M.: Programming Multi-Agent Systems in AgentSpeak Using Jason, vol. 8. Wiley, New York (2007)CrossRefzbMATHGoogle Scholar
  5. 5.
    Broekens, J., Degroot, D., Kosters, W.A.: Formal models of appraisal: theory, specification, and computational model. Cogn. Syst. Res. 9(3), 173–197 (2008)CrossRefGoogle Scholar
  6. 6.
    Dias, J., Mascarenhas, S., Paiva, A.: FAtiMA modular: towards an agent architecture with a generic appraisal framework. In: Bosse, T., Broekens, J., Dias, J., Zwaan, J. (eds.) Emotion Modeling. LNCS (LNAI), vol. 8750, pp. 44–56. Springer, Heidelberg (2014). doi: 10.1007/978-3-319-12973-0_3 Google Scholar
  7. 7.
    Dias, J., Paiva, A.: Feeling and reasoning: a computational model for emotional characters. In: Bento, C., Cardoso, A., Dias, G. (eds.) EPIA 2005. LNCS (LNAI), vol. 3808, pp. 127–140. Springer, Heidelberg (2005). doi: 10.1007/11595014_13 CrossRefGoogle Scholar
  8. 8.
    El-Nasr, M.S., Yen, J., Ioerger, T.R.: Flamefuzzy logic adaptive model of emotions. Auton. Agent. Multi-agent Syst. 3(3), 219–257 (2000)CrossRefGoogle Scholar
  9. 9.
    Elliott, C.D.: The affective reasoner: a process model of emotions in a multi-agent system (1992)Google Scholar
  10. 10.
    Gratch, J., Marsella, S.: A domain-independent framework for modeling emotion. Cogn. Syst. Res. 5(4), 269–306 (2004)CrossRefGoogle Scholar
  11. 11.
    Hindriks, K.V.: ProgrammingRationalAgents in GOAL. In: Seghrouchni, A.E.F., Dix, J., Dastani, M., Bordini, R.H. (eds.) Multi-Agent Programming, pp. 119–157. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  12. 12.
    Lazarus, R.S.: Emotion and Adaptation. Oxford University Press, New York (1991)Google Scholar
  13. 13.
    Marsella, S., Gratch, J., Petta, P.: Computational models of emotion. In: Scherer, K.R., Bänziger, T., Roesch, E. (eds.) A Blueprint for Affective Computing-A Sourcebook and Manual, pp. 21–46 (2010)Google Scholar
  14. 14.
    Marsella, S.C., Gratch, J.: EMA: a process model of appraisal dynamics. Cogn. Syst. Res. 10(1), 70–90 (2009)CrossRefGoogle Scholar
  15. 15.
    Ortony, A., Clore, G.L., Collins, A.: The Cognitive Structure of Emotions. Cambridge University Press, Cambridge (1990)Google Scholar
  16. 16.
    Pokahr, A., Braubach, L., Lamersdorf, W.: Jadex: a BDI reasoning engine. In: Bordini, R.H., Dastani, M., Dix, J., Seghrouchni, A.E.F. (eds.) Multi-Agent Programming, pp. 149–174. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  17. 17.
    Popescu, A., Broekens, J., van Someren, M.: GAMYGDALA: an emotion engine for games. IEEE Trans. Affect. Comput. 5(1), 32–44 (2014)CrossRefGoogle Scholar
  18. 18.
    Reilly, W.S.: Believable social and emotional agents. Technical report, DTIC Document (1996)Google Scholar
  19. 19.
    Reisenzein, R.: Appraisal processes conceptualized from a schema-theoretic perspective: Contributions to a process analysis of emotions (2001)Google Scholar
  20. 20.
    Reisenzein, R.: Emotions as metarepresentational states of mind: naturalizing the belief-desire theory of emotion. Cogn. Syst. Res. 10(1), 6–20 (2009)CrossRefGoogle Scholar
  21. 21.
    Reisenzein, R.: What is an emotion in the belief-desire theory of emotion? (2012)Google Scholar
  22. 22.
    Reisenzein, R.: Social emotions from the perspective of the computational belief-desire theory of emotion. In: Herzig, A., Lorini, E. (eds.) The Cognitive Foundations of Group Attitudes and Social Interaction, pp. 153–176. Springer, Cham (2015)CrossRefGoogle Scholar
  23. 23.
    Rizzo, P.: Why should agents be emotional for entertaining users? A critical analysis. In: Paiva, A. (ed.) IWAI 1999. LNCS (LNAI), vol. 1814, pp. 166–181. Springer, Heidelberg (2000). doi: 10.1007/10720296_12 CrossRefGoogle Scholar
  24. 24.
    Russell, S., Norvig, P.: Artificial Intelligence: A Modern Approach, vol. 25, p. 27. Prentice-Hall, Egnlewood Cliffs (1995)zbMATHGoogle Scholar
  25. 25.
    Scherer, K.R.: Appraisal theory. In: Dalgleish, T., Power, M. (eds.) Handbook of Cognition and Emotion, pp. 637–663. Wiley, Chichester (1999)Google Scholar
  26. 26.
    Scherer, K.R.: Appraisal considered as a process of multilevel sequential checking. Appraisal Process. Emot. Theor. Methods Res. 92, 120 (2001)Google Scholar
  27. 27.
    Steunebrink, B.R., Dastani, M., Meyer, J.-J.C.: The OCC model revisited. In: Proceedings of the 4th Workshop on Emotion and Computing (2009)Google Scholar

Copyright information

© Springer International Publishing AG 2016

Authors and Affiliations

  • Frank Kaptein
    • 1
    Email author
  • Joost Broekens
    • 1
  • Koen V. Hindriks
    • 1
  • Mark Neerincx
    • 1
  1. 1.Delft University of TechnologyDelftThe Netherlands

Personalised recommendations