{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,14]],"date-time":"2026-02-14T04:34:08Z","timestamp":1771043648487,"version":"3.50.1"},"reference-count":73,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2022,3,24]],"date-time":"2022-03-24T00:00:00Z","timestamp":1648080000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"FCT - Foundation for Science and Technology","award":["UIDB\/50021\/2020 and UIDB\/04326\/2020 and SLICE PTDC\/CCI-COM\/30787\/2017"],"award-info":[{"award-number":["UIDB\/50021\/2020 and UIDB\/04326\/2020 and SLICE PTDC\/CCI-COM\/30787\/2017"]}]},{"name":"European Commission Horizon 2020 project Rage","award":["644187"],"award-info":[{"award-number":["644187"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Interact. Intell. Syst."],"published-print":{"date-parts":[[2022,3,31]]},"abstract":"<jats:p>More than a decade has passed since the development of FearNot!, an application designed to help children deal with bullying through role-playing with virtual characters. It was also the application that led to the creation of FAtiMA, an affective agent architecture for creating autonomous characters that can evoke empathic responses. In this article, we describe the FAtiMA Toolkit, a collection of open-source tools that is designed to help researchers, game developers, and roboticists incorporate a computational model of emotion and decision-making in their work. The toolkit was developed with the goal of making FAtiMA more accessible, easier to incorporate into different projects, and more flexible in its capabilities for human-agent interaction, based upon the experience gathered over the years across different virtual environments and human-robot interaction scenarios. As a result, this work makes several different contributions to the field of Agent-Based Architectures. More precisely, the FAtiMA Toolkit\u2019s library-based design allows developers to easily integrate it with other frameworks, its meta-cognitive model affords different internal reasoners and affective components, and its explicit dialogue structure gives control to the author even within highly complex scenarios. To demonstrate the use of the FAtiMA Toolkit, several different use cases where the toolkit was successfully applied are described and discussed.<\/jats:p>","DOI":"10.1145\/3510822","type":"journal-article","created":{"date-parts":[[2022,2,4]],"date-time":"2022-02-04T22:03:25Z","timestamp":1644012205000},"page":"1-30","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":17,"title":["FAtiMA Toolkit: Toward an Accessible Tool for the Development of Socio-emotional Agents"],"prefix":"10.1145","volume":"12","author":[{"given":"Samuel","family":"Mascarenhas","sequence":"first","affiliation":[{"name":"INESC-ID and Instituto Superior T\u00e9cnico, Universidade de Lisboa, Lisbon, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4538-1009","authenticated-orcid":false,"given":"Manuel","family":"Guimar\u00e3es","sequence":"additional","affiliation":[{"name":"INESC-ID and Instituto Superior T\u00e9cnico, Universidade de Lisboa, Lisbon, Portugal"}]},{"given":"Rui","family":"Prada","sequence":"additional","affiliation":[{"name":"INESC-ID and Instituto Superior T\u00e9cnico, Universidade de Lisboa, Lisbon, Portugal"}]},{"given":"Pedro A.","family":"Santos","sequence":"additional","affiliation":[{"name":"INESC-ID and Instituto Superior T\u00e9cnico, Universidade de Lisboa, Lisbon, Portugal"}]},{"given":"Jo\u00e3o","family":"Dias","sequence":"additional","affiliation":[{"name":"Faculty of Science and Technology, University of Algarve, CCMAR and INESC-ID, Faro, Portugal"}]},{"given":"Ana","family":"Paiva","sequence":"additional","affiliation":[{"name":"INESC-ID and Instituto Superior T\u00e9cnico, Universidade de Lisboa, Lisbon, Portugal"}]}],"member":"320","published-online":{"date-parts":[[2022,3,24]]},"reference":[{"key":"e_1_3_2_2_2","volume-title":"Creating an Agent-based Framework for Don\u2019t Starve Together","author":"Almeida Fabio","year":"2018","unstructured":"Fabio Almeida and Prada Rui. 2018. Creating an Agent-based Framework for Don\u2019t Starve Together. Master\u2019s Thesis. IST, University of Lisbon, Portugal."},{"key":"e_1_3_2_3_2","article-title":"Automated storytelling via causal, commonsense plot ordering","author":"Ammanabrolu Prithviraj","year":"2020","unstructured":"Prithviraj Ammanabrolu, Wesley Cheung, William Broniec, and Mark O. Riedl. 2020. Automated storytelling via causal, commonsense plot ordering. arXiv preprint arXiv:2009.00829.","journal-title":"arXiv preprint arXiv:2009.00829"},{"key":"e_1_3_2_4_2","article-title":"Bringing stories alive: Generating interactive fiction worlds","volume":"2001","author":"Ammanabrolu Prithviraj","year":"2020","unstructured":"Prithviraj Ammanabrolu, Wesley Cheung, Dan Tu, William Broniec, and Mark O. Riedl. 2020. Bringing stories alive: Generating interactive fiction worlds. CoRR abs\/2001.10161 (2020). http:\/\/arxiv.org\/abs\/2001.10161.","journal-title":"CoRR"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3472306.3478342"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-76941-7_12"},{"key":"e_1_3_2_7_2","first-page":"20","volume-title":"Proceedings of the 7th International Conference on Cognitive Modeling, Trieste","author":"Bach Joscha","year":"2006","unstructured":"Joscha Bach, Dietrich D\u00f6rner, and Ronnie Vuine. 2006. Psi and microPsi: A novel approach to modeling emotion and cognition in a cognitive architecture. In Proceedings of the 7th International Conference on Cognitive Modeling, Trieste. 20\u201325."},{"key":"e_1_3_2_8_2","volume-title":"WASABI: Affect Simulation for Agents with Believable Interactivity","author":"Becker-Asano Christian","year":"2008","unstructured":"Christian Becker-Asano. 2008. WASABI: Affect Simulation for Agents with Believable Interactivity. Ph.D. Dissertation. Faculty of Technology, University of Bielefeld. IOS Press (DISKI 319)."},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10458-009-9094-9"},{"key":"e_1_3_2_10_2","article-title":"Comet: Commonsense transformers for automatic knowledge graph construction","author":"Bosselut Antoine","year":"2019","unstructured":"Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Celikyilmaz, and Yejin Choi. 2019. Comet: Commonsense transformers for automatic knowledge graph construction. arXiv preprint arXiv:1906.05317.","journal-title":"arXiv preprint arXiv:1906.05317"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/267658.267688"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2006.08.031"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/MIS.2002.1024747"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1177\/1754073913489751"},{"key":"e_1_3_2_15_2","unstructured":"Filipa Correia Patr\u00edcia Alves-Oliveira Tiago Ribeiro Francisco Melo and Ana Paiva. 2017. A Social Robot as a Card Game Player. In Thirteenth Artificial Intelligence and Interactive Digital Entertainment Conference ."},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3171221.3171252"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1109\/AIVR46125.2019.00016"},{"key":"e_1_3_2_18_2","volume-title":"2015 AAAI Spring Symposium Series","author":"Diakidoy Irene-Anna","year":"2015","unstructured":"Irene-Anna Diakidoy, Antonis Kakas, Loizos Michael, and Rob Miller. 2015. STAR: A system of argumentation for story comprehension and beyond. In 2015 AAAI Spring Symposium Series."},{"key":"e_1_3_2_19_2","doi-asserted-by":"crossref","first-page":"44","DOI":"10.1007\/978-3-319-12973-0_3","volume-title":"Emotion Modeling","author":"Dias Joao","year":"2014","unstructured":"Joao Dias, Samuel Mascarenhas, and Ana Paiva. 2014. FAtiMA modular: Towards an agent architecture with a generic appraisal framework. In Emotion Modeling. Springer, 44\u201356."},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1007\/11595014_13"},{"key":"e_1_3_2_21_2","unstructured":"Klei Entertainment. 2016. Don\u2019t Starve Together. Klei Entertainment."},{"key":"e_1_3_2_22_2","article-title":"Affect-LM: A neural language model for customizable affective text generation","author":"Ghosh Sayan","year":"2017","unstructured":"Sayan Ghosh, Mathieu Chollet, Eugene Laksana, Louis-Philippe Morency, and Stefan Scherer. 2017. Affect-LM: A neural language model for customizable affective text generation. arXiv preprint arXiv:1704.06851.","journal-title":"arXiv preprint arXiv:1704.06851"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2020.coling-main.251"},{"key":"e_1_3_2_24_2","volume-title":"Proceedings of 2nd International Joint Conference on Autonomous Agents and Multiagent systems","author":"Gratch Jonathan","year":"2003","unstructured":"Jonathan Gratch and Stacy Marsella. 2003. Modeling coping behavior in virtual humans: Dont worry, be happy. In Proceedings of 2nd International Joint Conference on Autonomous Agents and Multiagent systems."},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.cogsys.2004.02.002"},{"key":"e_1_3_2_26_2","volume-title":"European Meeting on Cybernetics and Systems Research","author":"Gratch Jonathan","year":"2006","unstructured":"Jonathan Gratch and Stacy Marsella. 2006. EMA: A computational model of appraisal dynamics. In European Meeting on Cybernetics and Systems Research."},{"key":"e_1_3_2_27_2","unstructured":"James J. Gross and Oliver P. John. 2002. Wise emotion regulation. In The Wisdom in Feeling: Psychological Processes in Emotional Intelligence L. F. Barrett and P. Salovey (Eds.). The Guilford Press 297\u2013319."},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.5555\/3306127.3332111"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3383652.3423879"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/CIG.2017.8080425"},{"key":"e_1_3_2_31_2","doi-asserted-by":"crossref","unstructured":"John H. Flavell. 1979. Metacognition and cognitive monitoring: A new area of cognitive-developmental inquiry. American Psychologist 34 (1979) 906\u2013911.","DOI":"10.1037\/0003-066X.34.10.906"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-40415-3_33"},{"key":"e_1_3_2_33_2","volume-title":"Workshop on Knowledge Engineering for Planning and Scheduling (KEPS\u201917). The 27th International Conference on Automated Planning and Scheduling (ICAPS\u201917)","author":"Hayton Thomas","year":"2017","unstructured":"Thomas Hayton, Julie Porteous, Joao Ferreira, Alan Lindsay, and Jonathon Read. 2017. Storyframer: From input stories to output planning models. In Workshop on Knowledge Engineering for Planning and Scheduling (KEPS\u201917). The 27th International Conference on Automated Planning and Scheduling (ICAPS\u201917)."},{"key":"e_1_3_2_34_2","article-title":"Domain authoring assistant for intelligent virtual agents","author":"Janghorbani Sepehr","year":"2019","unstructured":"Sepehr Janghorbani, Ashutosh Modi, Jakob Buhmann, and Mubbasir Kapadia. 2019. Domain authoring assistant for intelligent virtual agents. arXiv preprint arXiv:1904.03266.","journal-title":"arXiv preprint arXiv:1904.03266"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/s40593-015-0065-9"},{"key":"e_1_3_2_36_2","volume-title":"Status, Power and Ritual Interaction","author":"Kemper Theodore D.","year":"2011","unstructured":"Theodore D. Kemper. 2011. Status, Power and Ritual Interaction. Ashgate. 316 pages."},{"key":"e_1_3_2_37_2","doi-asserted-by":"crossref","first-page":"205","DOI":"10.1007\/11821830_17","volume-title":"International Workshop on Intelligent Virtual Agents","author":"Kopp Stefan","year":"2006","unstructured":"Stefan Kopp, Brigitte Krenn, Stacy Marsella, Andrew N. Marshall, Catherine Pelachaud, Hannes Pirker, Kristinn R. Th\u00f3risson, and Hannes Vilhj\u00e1lmsson. 2006. Towards a common framework for multimodal generation: The behavior markup language. In International Workshop on Intelligent Virtual Agents. Springer, 205\u2013217."},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3308532.3329472"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1080\/01973533.2011.637474"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1007\/11821830_20"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.1460-2466.2006.00318.x"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10458-010-9161-2"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1609\/icaps.v27i1.13850"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10458-015-9312-6"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/CIG.2018.8490399"},{"key":"e_1_3_2_46_2","first-page":"4","volume-title":"Game Developers Conference","volume":"2","author":"Mateas Michael","year":"2003","unstructured":"Michael Mateas and Andrew Stern. 2003. Fa\u00e7ade: An experiment in building a fully-realized interactive drama. In Game Developers Conference, Vol. 2. 4\u20138."},{"key":"e_1_3_2_47_2","volume-title":"Proceedings of the 4th International Conference & Festival of the Electronic Literature Organization: Archive & Innovate","author":"McCoy Josh","year":"2010","unstructured":"Josh McCoy, Mike Treanor, Ben Samuel, Brandon Tearse, Michael Mateas, and Noah Wardrip-Fruin. 2010. Authoring game-based interactive narrative using social games and comme il faut. In Proceedings of the 4th International Conference & Festival of the Electronic Literature Organization: Archive & Innovate. Citeseer."},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF02686918"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","DOI":"10.1177\/1754073912468165"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.5555\/177931"},{"key":"e_1_3_2_51_2","volume-title":"The Cognitive Structure of Emotions","author":"Ortony Andrew","year":"1990","unstructured":"Andrew Ortony, Gerald L. Clore, and Allan Collins. 1990. The Cognitive Structure of Emotions. Cambridge University Press."},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/T-AFFC.2013.24"},{"issue":"8","key":"e_1_3_2_53_2","first-page":"9","article-title":"Language models are unsupervised multitask learners","volume":"1","author":"Radford Alec","year":"2019","unstructured":"Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI Blog 1, 8 (2019), 9.","journal-title":"OpenAI Blog"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11747-019-00710-5"},{"key":"e_1_3_2_55_2","unstructured":"Tiago Ribeiro Andre Pereira Eugenio Di Tullio and Ana Paiva. 2016. The SERA Ecosystem: Socially Expressive Robotics Architecture for Autonomous Human-Robot Interaction. In AAAI Spring Symposium Series ."},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1093\/iwc\/iwu001"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.specom.2017.07.004"},{"key":"e_1_3_2_58_2","doi-asserted-by":"crossref","unstructured":"Klaus R. Scherer. 1999. Appraisal theory. In Handbook of Cognition and Emotion T. Dalgleish and M. J. Power (Eds.). 637\u2013663.","DOI":"10.1002\/0470013494.ch30"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-33197-8_47"},{"key":"e_1_3_2_60_2","article-title":"The woman worked as a babysitter: On biases in language generation","author":"Sheng Emily","year":"2019","unstructured":"Emily Sheng, Kai-Wei Chang, Premkumar Natarajan, and Nanyun Peng. 2019. The woman worked as a babysitter: On biases in language generation. arXiv preprint arXiv:1909.01326.","journal-title":"arXiv preprint arXiv:1909.01326"},{"key":"e_1_3_2_61_2","first-page":"1","volume-title":"Proceedings of the International Conference on Recent Advances in Natural Language Processing 2011","author":"Sil Avirup","year":"2011","unstructured":"Avirup Sil and Alexander Yates. 2011. Extracting strips representations of actions and events. In Proceedings of the International Conference on Recent Advances in Natural Language Processing 2011. 1\u20138."},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1080\/02699938708408049"},{"key":"e_1_3_2_63_2","first-page":"29","volume-title":"Emotions in Humans and Artifacts","author":"Sloman Aaron","year":"2002","unstructured":"Aaron Sloman. 2002. How many separately evolved emotional beasties live within us? In Emotions in Humans and Artifacts. MIT Press, 29\u201396."},{"key":"e_1_3_2_64_2","doi-asserted-by":"publisher","DOI":"10.1080\/02699939308409189"},{"key":"e_1_3_2_65_2","first-page":"609","article-title":"Emotion and adaptation","author":"Smith Craig A.","year":"1990","unstructured":"Craig A. Smith, Richard S. Lazarus, et al. 1990. Emotion and adaptation. In Handbook of Personality: Theory and Research, 609\u2013637.","journal-title":"Handbook of Personality: Theory and Research"},{"key":"e_1_3_2_66_2","volume-title":"The Elder Scrolls v: Skyrim","author":"Studios Bethesda Game","year":"2015","unstructured":"Bethesda Game Studios. 2015. The Elder Scrolls v: Skyrim. Bethesda Game Studios."},{"key":"e_1_3_2_67_2","first-page":"79","article-title":"The CLARION cognitive architecture: Extending cognitive modeling to social simulation","author":"Sun Ron","year":"2006","unstructured":"Ron Sun. 2006. The CLARION cognitive architecture: Extending cognitive modeling to social simulation. Cognition and Multi-agent Interaction (2006), 79\u201399.","journal-title":"Cognition and Multi-agent Interaction"},{"key":"e_1_3_2_68_2","first-page":"63\u201375.","article-title":"The motivational and metacognitive control in CLARION","author":"Sun Ron","year":"2007","unstructured":"Ron Sun. 2007. The motivational and metacognitive control in CLARION. Modeling Integrated Cognitive Systems (2007), 63\u201375.","journal-title":"Modeling Integrated Cognitive Systems"},{"key":"e_1_3_2_69_2","article-title":"Controllable neural story plot generation via reinforcement learning","author":"Tambwekar Pradyumna","year":"2018","unstructured":"Pradyumna Tambwekar, Murtaza Dhuliawala, Lara J. Martin, Animesh Mehta, Brent Harrison, and Mark O. Riedl. 2018. Controllable neural story plot generation via reinforcement learning. arXiv preprint arXiv:1809.10736.","journal-title":"arXiv preprint arXiv:1809.10736"},{"key":"e_1_3_2_70_2","volume-title":"Rediscovering the Social Group: A Self-categorization Theory.","author":"Turner John C.","year":"1987","unstructured":"John C. Turner, Michael A. Hogg, Penelope J. Oakes, Stephen D. Reicher, and Margaret S. Wetherell. 1987. Rediscovering the Social Group: A Self-categorization Theory.Basil Blackwell."},{"key":"e_1_3_2_71_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11409-006-6893-0"},{"key":"e_1_3_2_72_2","doi-asserted-by":"publisher","DOI":"10.1145\/267658.267808"},{"key":"e_1_3_2_73_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10639-019-09968-2"},{"key":"e_1_3_2_74_2","article-title":"Generating animations from screenplays","author":"Zhang Yeyao","year":"2019","unstructured":"Yeyao Zhang, Eleftheria Tsipidi, Sasha Schriber, Mubbasir Kapadia, Markus Gross, and Ashutosh Modi. 2019. Generating animations from screenplays. arXiv preprint arXiv:1904.05440.","journal-title":"arXiv preprint arXiv:1904.05440"}],"container-title":["ACM Transactions on Interactive Intelligent Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3510822","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3510822","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:02:11Z","timestamp":1750186931000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3510822"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,3,24]]},"references-count":73,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2022,3,31]]}},"alternative-id":["10.1145\/3510822"],"URL":"https:\/\/doi.org\/10.1145\/3510822","relation":{},"ISSN":["2160-6455","2160-6463"],"issn-type":[{"value":"2160-6455","type":"print"},{"value":"2160-6463","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,3,24]]},"assertion":[{"value":"2020-03-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-03-24","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}