Intelligent Agents at School—Child–Robot Interactions as an Educational Path

: The pervasiveness of technologies leads us to talk about a code society. From an educational point of view, coding, computational thinking, and educational robotics are an open possibility. Nevertheless, new elements such as artificial intelligence are rapidly changing educational technology perspectives. In this work, we will analyze school policies and theoretical bases in order to understand if, and under what kind of, condition coding, computational thinking, and educational robotics still represent the qualifying elements of a framework for digital literacy and digital citizenship.


Introduction
When broadly and properly underlined [1], our world has changed in the past few decades with an acceleration that has never been seen before.We are seeing what, until the last century, was the subject of science fiction-from Isaac Asimov to Philip K. Dick to the Wachowski brothers-or was the speculation of philosophers and scientists-such as Alan Turing, John Searle, and Hilary Putnam-who built a framework that had its boundaries in the limits of their contemporary technology.
Our reality has reshaped sub specie tecnologica to such an extent that multiple perspectives can coexist and intertwine in an increasingly complex framework.We are acquainted with categories such as the infosphere [1] and docusphere [2] in order to support knowledge processes in the information society [1].Currently, programming has taken on an increasingly pervasive role in our lives, and this has led us to deal with new categories such as the code society [3] and software society [4].These expressions define the software and the code with which they are written as embedded in everyday life.They are an integral part of our reality to such an extent that their presence is not perceived [4].They are transparent and opaque at the same time: they are not noticed and, in most cases, they are not understood.This can make everything around us as functional as it is unintelligible.
From the pervasiveness of this cluster of computational mechanisms encoded through algorithms [5] emerges artificial intelligence as an element that is filling the media and records.And a further category is also forming: the unconscious.This concept seems to combine different perspectives on coding and artificial intelligence in the same landscape.Accoto [4] defines software as the technological unconscious by virtue of its opacity, and Ferraris [2] analyzed the connection between writing and the construction of the unconscious, where they defined artificial intelligence as the artificial unconscious.
In order to face this complex reality and its cultural challenges, the code society can look at the increasing the relevance of coding in all educational contexts [3].Through school and education, it is possible to outline learning paths that provide students with the cultural foundations and technological skills to be aware citizens in this new reality.If understood in depth, and used not to create mere ability but to build knowledge, they can be keystones for understanding reality, including emerging issues regarding artificial intelligence.AI-based educational resources and tools for all students.It is crucial to guarantee that the integration of these technologies does not exacerbate existing educational inequalities.Instead, the use of AI in education should promote accessibility and equity, providing every student with fair opportunities to benefit from these innovative tools.Secondly, clear guidelines for the collection, use, and protection of student data in the use of AI should be developed while ensuring compliance with existing privacy laws.

Aims and Research Questions
As we have seen, in our cultural context code, software and artificial intelligence are considered fundamental for our society and coding, where computational thinking and robotics are proposed as the educational key to access this reality.Nevertheless, the guidance documents consider skills for technological and digital citizenship in such a broad sense that, though it certainly includes the competencies of the code society, it does not help us to define them.
Our aim is to outline a theoretical framework that can support future transformative [17] educational research in-field by proposing coding, computational thinking, and educational robotics as learning paths for support citizenship in the emerging society.We propose to face some of the questions beyond the rhetoric as follows: • Does the evolution of policy and skill frameworks and their application support a consistent integration of coding, computational thinking, and educational robotics at school?• Does an analysis of the theoretical themes underlying human-machine interaction provide us with elements for understanding educational robotics and design its educational use?
To answer the first question, we will consider the competency frameworks that are usually taken as a reference in education.We will take into account some of the insights provided by the literature relating to coding, computational thinking, and educational robotics as tools used in schools to support the acquisition of these skills.Then, we will consider the emerging elements through a SWOT analysis.
To consider the second question, we look at the pairing of robot/artificial intelligence from a philosophical point of view to find epistemological bases in order to characterize the so-called human-robot interaction (HRI) and its specification-the child-robot iteration (cHRI) [18].According to this premise, we will try to construct useful grounds for a pedagogical approach.Our focus is to analyze these topics in order define their impact in the contexts that, according to Marchive [19], we can call "learning situations".That is why will look at a topic that seems to have a strong impact on educational robotics: the Theory of Mind.In particular, we will investigate its declination, viz. the Theory of the Artificial Mind.
Finally, we will address one last question: • Can we find elements that lead us to enhance the paths already completed in these fields for AI education?
In educational research, the relationship between theory and practice must be narrow and continuous.Here, we are setting "tentative hypotheses" [20] that must be validated by practice.According to a transformative research model-which we have already taken as a reference model-the experience will then transform both theory and practice.
Answering these questions will not give us guarantees or findings, but it will allow us to propose advice to teachers and researchers and to have elements that can facilitate the design of future research on these themes in an educational context.

A Competencies' Framework and Computational Thinking Strategies
In the past twenty years, at least ten different entities, including international bodies, governments, and private groups, have suggested various educational frameworks and skill sets to tackle the demands of the 21st century [21].Several research works [22][23][24] have examined a range of these frameworks to discern the progression of key themes and shared characteristics.Although there is no universally accepted method for educating the youth for today's world, a diverse set of competencies and skills has been highlighted as important.Despite variations in their complexity, each framework has its significance for the particular situation it was designed to address.Moreover, the aforementioned comparative studies highlight the lack of these key competencies and skills in the existing educational paradigms [25].
In 2010, the American Association of Colleges of Teacher Education and the Partnership for 21st Century Skills introduced a framework aimed at guiding educators in integrating 21st century skills into classroom practice to meet the challenges of the century [21].These skills include critical thinking, problem solving, communication, collaboration, creativity, and innovation.The OECD Framework [26] emphasizes the importance of tailored learning environments, proficiency in reading and arithmetic, and the development of digital and data literacy skills.The International Labour Organization (ILO) [27] highlights the need for ongoing learning to adapt to emerging occupations focused on cognitive and metacognitive domains, and this is achieved via proposing a framework based on social and emotional skills, cognitive and metacognitive skills, basic digital skills, and green job skills.In the European context, the Digital Competence Framework for Citizens (Digcomp) [23] provides a reference for digital skills in education and training, emphasizing the confident, critical, and responsible use of digital technologies.However, there is a recognized gap between the current education and necessary skills, urging reflection and revision of educational curricula to address this deficiency.
Acknowledging and integrating essential competencies into educational curricula [28][29][30][31] requires a shift toward dynamic, student-centered approaches emphasizing real-world problem solving and interdisciplinary learning.This involves redesigning learning environments, updating instructional methods, and prioritizing competencies through systemic changes.Leveraging student proficiency in digital technologies can enhance engagement and facilitate inquiry-based learning, thus ultimately preparing individuals for success in the modern era [8,25,32].
The pandemic period, in which schools were forced to find alternative solutions to face-to-face classrooms, highlighted the the shortcomings of the traditional educational method in these situations as this method was, in fact, ineffective when mediated by a screen and distance: "emergency confirmed the need for all educators to be skilled in using digital technologies effectively in their teaching and training process and to ensure that all children can participate in digital education.It has also confirmed that different pedagogical approaches are needed when teaching online.Teachers and learners also need to develop the skills and know-how for this different mode of learning" [10] (p.3).
Assuming that, therefore, the acquisition of skills such as critical thinking, problem solving, communication, collaboration, creativity, and innovation is one of the main targets of Agenda 2030, then international research is required to investigate in depth and with a wide variety of resources in order to determine what activities enable the acquisition of digital skills.

Computational Thinking, Coding, and Educational Robotics at School
There is a broad literature that agrees that coding and educational robotics (RE) are effective methodologies for the acquisition of digital skills, as defined by the aforementioned frameworks, especially for the computational thinking competency.Though there is no agreed definition in the literature of what CT is, the one proposed by J. Wing [33] is now well established.Computational thinking (CT) involves breaking down complex problems into smaller, more manageable parts, identifying patterns and trends, and creating algorithms to solve these problems.The discussion, which has led to the writing of the guidelines, has been relevant and finds support in the impending need to train today's future workers and students with digital skills to cope with increasingly technology-and computer-oriented activities [34,35].Even in the pedagogical academic landscape of the last century, the discussion on critical, algorithmic, or creative thinking skills has been relevant [36].
Beginning with J. Dewey and the 'learning by doing' theory [37], Vigotsky and his reality of the imagination, and adopting a viewpoint grounded in Piagetian constructivist theories, the act of grasping one's world is seen as an interplay between the individual's active cognition and their experiential encounters.
Furthermore, Papert [38] has emphasized the role of technology in the educational journey, not merely as a supplement to learning, but also as an enabler for the simulation of real-world scenarios.Papert suggests that, rather than knowledge being directly transferred in its entirety from one individual to another, each person reinterprets and reimagines knowledge in a unique manner.Consequently, technological tools such as computers, tablets, and robots serve as potent avenues for the amalgamation of theoretical understanding with practical application.Moreover, engaging with tangible technological instruments catalyzes a dynamic educational experience that prompts learners to contemplate and employ their knowledge upon the very fabric of their operational world.Papert's investigations further reveal that robotics kits, beyond imparting computing prowess, awaken a zest for knowledge and foster creative, motivated learning environments where individuals can engage with transformative concepts.Additionally, the belief in learning as an action-oriented process, one that is shaped by experiential learning and augmented by social interplay, underpins the argument for technology to enhance collaborative educational interactions, thus allowing for the discovery and utilization of novel pedagogical approaches [39].
When learners engage with educational technology, it is not only about interacting with a device, it is also an immersive experience that reshapes their approach to knowledge acquisition.The use of robotics and other digital tools in learning environments does not just pass down information from teacher to student, but also allows the direct construction of knowledge through active participation and iterative practice.
As Papert has pointed out: "the essence of learning with technology is not the acquisition of more information, but the ability to do something with it-to transform it, integrate it, and apply it in new and creative ways" [40].The presence of an interactive tool, such as a robot, acts as more than just a instructional aid, it becomes a catalyst for deeper intellectual engagement [41].By challenging students to analyze and apply what they know in a tangible context, these tools foster a sense of ownership and personal relevance in the learning process [41].
Moreover, this hands-on engagement with tech-based learning tools dovetails with the idea that understanding is bolstered not in isolation but in the company of peers.Social interaction is not just a supplement to learning; it is a vital component that enriches the experience, making comprehension more robust.In that spirit, technological innovations in the educational space should be leveraged to expand opportunities for collaborative learning, thus encouraging students and educators alike to break new ground in educational methodologies and strategies.This collaborative approach to learning underscores the importance of educational technology as a means to not just impart knowledge, but to also inspire a collective journey of discovery and intellectual growth.
While government guidelines use the word coding and programming interchangeably, it is not so obvious in the academic world: coding is not merely about learning a programming language; in fact, we can say that programming is only the last aspect and that its relevance, especially in the early educational stakes, is entirely functional to the acquisition of other competencies than developing software.Unplugged coding, which is widely used in preschool, fundamentally revolves around developing computational thinking: students learn to break down complex problems into manageable units, discern patterns, abstract from specific details to general concepts, and design algorithms to process information.
This structured way of thinking is universally applicable, extending beyond computer science to subjects such as mathematics, science, literature, and even the arts.By learning to code, students enhance their logical thinking and gain the ability to automate solutions, thus reinforcing their problem-solving capabilities and skills, which are paramount in their importance in nearly every discipline.Educational robotics transforms theoretical knowledge into tangible outcomes that engage and inspire P-12 students.Building and programming robots provide learners with a playful yet educational experience, where abstract coding concepts become concrete.These robotic systems serve as platforms where STEM concepts are not only understood, but are also seen in action, thus reinforcing learning through interactive play and experimentation [42].
The integration of educational robotics in classrooms fosters an interdisciplinary learning environment.It helps students connect the dots between various subject areas while also promoting essential 21st-century skills such as creativity, adaptability, and systems thinking [43,44], which is also Goal 5 of Agenda 2030 "Gender equality" and the fight against stereotypes [45].
The collaborative context in which coding and robotics are typically used naturally encourages students to engage in teamwork.Projects often require brainstorming, assigning roles, and collective troubleshooting, closely mimicking real-world collaborative scenarios.As teamwork and communication are key components of 21st-century skills, these collaborative experiences are invaluable.They foster a community learning atmosphere where students can exchange ideas and learn from peers, thus preparing them for the collaborative work environment of the future.The integration of coding and educational robotics into P-12 education is more than an enrichment of the learning process; it is a conduit for empowering young minds with the tools required to succeed in the 21st century.This approach nurtures not only the technical skills that are increasingly in demand in the workforce, but also the critical soft skills of problem solving, teamwork, and adaptability.As the educational landscape evolves to meet the needs of a changing world, coding and robotics education stand out as essential components of a future-ready education system that aims to harness technology for creative and collaborative learning.To equip students with the prowess to excel in this new era, educators and policymakers must prioritize the incorporation of these dynamic fields into the education of the young pioneers of tomorrow.Over the last twenty years, there have been many initiatives carried out in schools to institute a constructivist approach to their didactics by carrying out educational robotics and coding courses, and the literature is full of papers and proceedings that classify these experiences, as well as analyses their effects, their learning effects, and highlights any limits or gaps still to be filled [46][47][48][49][50][51].Most agree that the development of computational thinking is fostered by experiences related to coding and educational robotics at various age levels when considering both pure and multidisciplinary activities [42,[52][53][54][55][56][57].In students who have carried out coding or educational robotics activities, the learning benefits are greater if these activities are conducted with active teaching modes such as collaborative learning, project-based learning, and embodied learning [52]; other studies have discussed how RE and coding can be integrated into education as a curricular activity, as integrated into other disciplines, or in cross-disciplinary learning [58,59].In particular, Murat et al. expressed the need to define a curriculum for educational robotics as follows: "collaborative curriculum, where the integration of educational robotics is due to an interdisciplinary approach" (p.1287).
As the aforementioned authors have suggested that integrating robotics into education positively influences student behavior and development, it is important to recognize that simply introducing robots into classrooms does not automatically enhance learning outcomes.Extensive research has underscored various critical factors [60,61].Firstly, studies have indicated that, without appropriate pedagogical strategies, integrating robotics activities into education can even potentially hinder learning indicators.Furthermore, the beneficial effects of educational robotics are contingent upon specific conditions, including activity design, robot quality, and teacher guidance.To cultivate metacognitive skills-such as self-assessment and adaptive learning strategies-teachers must employ tailored pedagogical approaches.These approaches may involve designing activities that prompt students to evaluate their progress, monitor their learning, and adjust their strategies accordingly.
Finally, some studies have also focused on how to train teachers [62,63] as a prerequisite for the skills to then be properly elicited in students.

SWOT Analysis
To summarize, from a critical approach that includes coding and educational robotics in school, we can consider the following SWOT analysis.Figure 1.This kind of analysis can give a comprehensive overview of the opportunities and challenges related to integrating coding and educational robotics into the educational context in order to develop effective strategies to maximize benefits and mitigate threats.As the strengths, we identified five key points: from the international and national policies, it is evident that digital skills in the contemporary educational context is important, as is the growing interest and support from educational institutions and policymakers [9,[13][14][15][16]; the reflections arising from these policies has led to the availability of established frameworks and resources for teaching coding and robotics [28,29,64,65].From a learning point of view, coding and robotics have potential in enhancing student interest in science, technology, engineering, and mathematics (STEM) through the use of these technologies [56,66,67] (even in overcoming stereotypes [45,68]), as well as in developing cross-cutting skills such as problem solving, critical thinking, and collaboration [33].
The following weaknesses were found to mainly center around boundary issues when compared with the acquisition of skills and learning: the lack of adequate training for teachers on the effective use of coding and robotics in the classroom [10,63], the lack in the use of active teaching methodologies by teachers as the best support for coding and robotics activities [52], and the potential challenges in integrating coding and robotics into existing curricula without overburdening students and teachers [58,59].As pointed out by several frameworks, it is critical to address the possible exclusion of students with limited access to digital technologies and necessary resources.
As opportunities we identified the following four elements: the need for providing teacher training and technological support can lead to collaborations with companies and institutions, as well as a view to integrate them with territorial activities; the incorporation of coding and educational robotics as integral parts of the educational curricula can be the means to prepare students for the code society [6,43,44].Coding and educational robotics are an opportunity to engage students in hands-on projects and collaborative activities that stimulate creativity and innovation [39], and this is possible precisely because of their nature of reconciling creative aspects with formal learning.Coding and robotics can be used to promote inclusivity and accessibility in education.
As threats, we identified the following four categories of problems: the resistance from some teachers or parents who may consider coding and robotics as non-essential or as too complex, even when linked to the need of using the learning by doing methodology to make these activities productive [25,60,61]; the rapid technological change requiring frequent updates and ongoing investments in educational resources; the potential overreliance on digital technologies at the expense of other aspects of learning; and the concerns about student data security and privacy in the context of using digital technologies [23].

Looking for a Different Understanding of Child-Robot Interactions
As we have seen, in the emerging society, interactions with code and everything written with it will probably become increasingly more common.On the one hand, as was properly underlined, code is becoming more prevalent in everyday life; on the other hand, it risks remaining a distant reality in understanding.Four reasons [4] for this were identified: 1.
Coding requires particular skills, such as engineering and programming, from which non-specialists are excluded; 2.
It is constantly evolving and, for this reason, it is difficult to understand; 3.
It has a commercial dimension subject to market laws and logic; 4.
It is made up of a set of processes and languages that are complex, even for those who create them.This is also consistent with frameworks and policies, as emerged through the SWOT analysis and with our reflection on Theory of Mind and child-robot interactions.Naya and Varela [69] argued that coding and educational robotics can expose students to a real world, where-as Dennett showed us-algorithms do not usually work as intended.Some authors [70] have suggested using robotics for this purpose as a branch of AI that includes design thinking, mathematics, and computational thinking.Frameworks, policies, and the literature seem to indicate coding, computational thinking, and educational robotics as educational opportunities to prepare young people for the code society in which artificial intelligence is gaining a crucial role.This path requires a theoretical basis that we are going to identify.

Humans, Robots, and Artificial Intelligence: An Almost Ancient Story
Particular attention seems to be paid to the pairing of robot/artificial intelligence [71].
If we look at the history of contemporary philosophy, this is not surprising.In 1964, the American Philosophical Association dedicated a symposium to the theme "Minds and Machine".In this occasion, Hilary Putnam opened his contribution recalling science fiction literature in defining robots as "hypothetical machines that simulate human behavior, often with an at least roughly human appearance" [72] (p.668).Putnam's point was to explore whether it is possible for a robot to "have feelings, thoughts, attitudes, and character traits", and, if so, what necessary and sufficient conditions would enable this.In just a page, we faced complex themes such as the following: mind/body dualism; robot mental states and robot bodies; intentionality; and artificial intelligence and the debate between "strong" and "wake" form.These themes are fundamental and steadily connected at varying degrees in so-called human-robot interactions.
It is hard to define human-robot interaction (HRI).What we can assume about it is that the research focus is neither the human nor the robot, but rather the relationship and the interactions between them [73].Sometimes it is intended as a disciplinary complex [18], as a discipline linked to philosophy and robotics, or as a technology in general and for design [74].It is also defined as a field of intersection between engineering, psychology, and design [73].In this contribution, as a first approximation, we will assume a human-robot interaction as a field grounded on a disciplinary complex that includes philosophy and robotics.
Similarities and dissimilarities between humans and machines are one of the basic points that underlie to the topics we are analyzing.Analogy-in all its forms-be it positive, negative, or neutral [75], can also be a powerful tool in this field for knowledge building, as well as for explanations.As we will see, the reflections on similarities and dissimilarities between humans and robots concern both appearance and capabilities (or, as one could say, the body and the mind).We must consider that reflections in the mind precede the ones in the body.The possibility of a human body apparency remains in Fritz Lang movie and in Asimov novel longer than the possibility of thinking.The analogies between humans and machines, concerning the mind and the ability to think and act, come first.

"Can Machines Think?"
It is important to underline the relevance of the context in HRI studies [74].We must pay equal attention to the context in which the interaction is studied (school, work, etc.) and to the cultural context of the people involved in the interaction.In particular, regarding Alan Turing, we have a large scale of misconceptions, generated, in large part, from pop culture sources.Let us consider, for instance, the two most widespread misconceptions.The so-called "Turing machine" is an imaginary virtual machine, not a huge old computing machine, and the so-called "Turing test" is a thought experiment; neither has anything to do with the description of the code produced by Enigma, the encryption machine used by the German Army during World War II.In Computing Machinery and Intelligence [76], a paper published in 1950, Turing proposed a variant of the "imitation game".This thought experiment was set to recognize if an unknown speaker is male or female.First, the structure of the game.There are three players: an interrogator (indifferently male or female); (A) a man; and (B) a woman.The interrogator, who asks and writes questions and analyzes the written answers of A and B, must guess who the man is and who is the woman without using any other form of information or contact.The Turing proposal is to replace A with a machine.In this scenario, the original question "Can machines think?" is related with "What will happen when a machine takes the part of A in this game?" and "Will the interrogator decide wrongly as often when the game is played like this as he does when the game is played between a man and a woman?" [76] (p.434).From this new starting point, Turing set the argument to deal with several objections.We take into account Turing's consideration that these are particularly significant for the purpose of the present contribution.According to Turing, if a machine is construed to play the imitation game, it can realize something that can be defined as thinking even though it is different from human thinking.Furthermore, a digital computer can be built to perform actions that imitate those of a human computer.This perspective brings us to most discussed topic at the present time: artificial intelligence.John Searle, in his fundamental paper Minds, Brains, as Programs [77], defines defines both weak AI and strong AI.The former, which Searle endorses, is a computer that is defined as "a very powerful tool" [77] (p.235) of study, where the mind formulates and tests hypotheses with rigorous methods.A very similar position that sees computers and computer concepts as powerful tools for thinking will be presented many years later by Dennett.Searle defines strong AI as a computer that "literally has cognitive states and [. . .] the programs thereby explain human cognition" [77] (p.235) with another famous counterexample of the "Chinese room".This experiment is a variation of the imitation game.In extreme simplification, a native English speaker, despite not knowing Chinese, but thanks to instructions in English, is able to hold a conversation with a native Chinese speaker.As Dennett highlights in [78], the counterexample of the Chinese room has endured several decades.At the present time, when we can talk about AI [3] in terms of machine learning (in which an algorithm allows a machine to learn what is necessary to complete an action for which it has not been previously programmed) and deep learning (in which algorithms prepare neural networks), the discussion set up by Searle seems still open and relevant.

Anthropomorphizing Machines
In the previous paragraph, we talked about machines and computers and the possibility of their thinking.Since our focus is on robots, we will assume that the considerations made thus far are also valid for this particular category.In addition, we will delve into the aspect that specifies robots and distinguishes them from other machines: their appearance.We wondered about the similarity between the human mind and the machine; what can we say about the appearance of robots?Does being a machine with a particular appearance similar to humans have a role in HRI?This leads us to analyze a broad theme: the anthropomorphization of machines.We will treat it from several points of view: the appearance, strictly understood; the movement; and the behavior.In 1970, while the debate triggered by the imitation game proposed by Turing continued, Mori published a paper proposing the so-called concept of uncanny valley, which was renewed in English translation in 2012 [79].This is a prediction, rather than a theory.According to Mori, the more human-like a robot is in appearance, the more favorably it is perceived.When this similarity is too strong and the robot's appearance is almost indistinguishable from that of a human, it is rejected.Some authors [80,81] have broadened the concept beyond human being to nature in general and have defined the uncanny valley through the categories of aesthetics, specifically as a phenomenon whereby an inaccurate resemblance to natural beings can generate observer repulsion.As noted in [74], the uncanny valley is just a proposal, and its author presented it as such and did not support it with empirical data; nonetheless, it has often been inappropriately advanced as a justification for the human rejection of robots without an analysis of the correlations with appearance.

Stance, Explanation, and HRI
We focused on anthropomorphizing from an embodiment perspective.We will try to consider it in terms of interaction processes and underling explanations that we can assume as mentalistic or non-mentalistic [82].As noted in [83], according to some authors, human tend to anthropomorphize what they do not fully understand and to attribute human characteristics to non-human agents or to real or imaginary objects.When we lack specific knowledge, as in the case of machines and robots, we choose "human" models.From this point of view, Marchesi and colleagues argued that an intentional stance is a concept similar to, but not identical to, anthropomorphism.This bring us to consider Dennett and his studies on stance [84], which remain, to this day, the fundamental background of most of the explanation of artificial agents' behavior from a mentalistic point of view [82].
Dennett identified three kinds of stance that can be determined by explaining and predicting computer behaviors: the design stance; the physical stance; and the intentional stance.The design stance is generally used to explain mechanical objects.The design stance works when a computer and all its parts perform exactly as they are designed to function.Clearly enough, design stances are strictly related to the concept of function, they can imply proper function as base of warrant [85], and they are a peculiar form of teleology [86].From a design stance, we cannot explain any kind of breakdown or malfunction since this stance does not take into account "the physical constitution or condition of the innards of the particular object" [84] (p.88).The physical stance results from what we know about the laws of nature, and it allows us to take into account the current state of an object.Given the complexity of computers, it is rarely adopted for them, and it only usually happens in cases of breakdown.Turing in [76] believed in a possibility of machines being able to compete with humans in intellectual activity.In addition, Dennett also set an example based on a chess-playing computer.In an hypothetical chess game, a human can win only when considering the computer as an "intelligent human opponent" [84] (p.89) because it has a level of complexity such that its behavior is not explained or predicted through a knowledge of physics (physical stance) and/or of a programming (design stance).
This assumption brings us to the intentional stance, which allows us to see computer as intentional systems.
From this perspective, according to Dennett, "it is a small step to calling the information possessed the computer's beliefs, its goals and subgoals its desires" [84] (p.90), which, in our path, is "a giant leap" forward for facing the HRI.
We know that, in the HRI, the context plays a crucial role [73].This encourages us to consider not only the point of view of scientists, but also that of the people who are operating in our main context: a school with teaching and learning processes.In the code society, teachers, students, parents, and a large variety of people involved as stakeholders, can form mental models of agents as robot or AI.This is why we considered recent studies that, in taking into account non-specialist people, propose a folk-cognitivist stance related to forms of input-output regularity and to algorithms [82].

Theory of Mind and Child-Robot Interactions
A deeper compression of HRI with respect to all of the components of a school community, i.e., teachers, pupils, and parents, can help us in several aspects.Under this perspective, it is important to consider people as part of a society with different attitudes, beliefs, cultural schemes, and values, which are all factors the researcher must consider and respect when introducing robots [74].Coding, computational thinking, and educational robotics bring machines and robots forward as physical objects, as well as concepts in the classroom.In teaching and learning activities, we will also consider child-robot interactions (cHRIs), which represent a specific domain of the broader research, as shown in [18].As was properly underlined by Belpaeme and colleagues [87]: "children are not just small adults", which is why cHRIs are deeply different from the HRI (as the latter occurs for adult subjects).
What is the educational focus in cHRIs?On the one hand, we can say that robots are often produced for children with a particular attention to the educational context, where a deeper comprehension of cHRIs could help in designing robots.On the other hand, and more relevant for our purposes, a significant impact can be had in the teaching-learning process.This type of interactions can help teachers to choose language, robot, and design activities, and it can help researchers to identify content, structures, and methods for learning path proposals.
The appearance of a robot is an important element in its interaction.As noted in the reflection on the uncanny valley concept [74], the appearance marks the human expectations and the explanation of robot behavior.As recently analyzed in a learning context [88], it is particularly relevant in a pupil's construction of a robot's mental model.Nevertheless, regarding the mental aspect, recent studies [89] have highlighted the ability to attribute mental states as a basis for the construction of HRI.
This leads us to the following two topics: stances, which have already been discussed; and the Theory of Mind (ToM).Here, as a provisional definition, we will assume that having a ToM means having the ability to understand mental states, as well as to predict and explain the behavior of other human beings.In our discussion, the ToM is important from two points of view: in the analysis of cHRIs and in the pedagogical value that is given to the ToM itself and its variant, i.e., the Theory of Artificial Mind (ToAM).
Analyzing the ToM in cHRIs is relevant in a society in which we can imagine that children will increasingly interact with robots and robotic agents in every aspect of life [83,89], including at school and in education.The studies carried out in this field [87,89,90] allow us to understand if and when children use the ToM in their interaction with robots and what differences there are compared to the attribution of mental states to other human beings.These elements are fundamental for the construction of educational paths that are oriented toward the use of both educational robotics and artificial intelligence, which take a child's abilities, cognitive development, and learning needs into due consideration.
Ten years ago, Spektor and Mioduser noted [91] that although we live in a world of "behavioral artifacts", we have little knowledge regarding our perception of these and the interactions we have with them.This is particularly relevant to perception of children regarding these artifacts.In a quali-quantitative research, Spektor and Mioduser [91] found that, through programming robot activities, children develop what the researchers presented as a new theoretical scheme called the Theory of Artificial Mind (ToAM), which is distinct from their conception of the Theory of Mind (ToM).In another recent qualiquantitative research, Mioduser and Kuperman [92] noted that, through programming, children seem to perceive robots as a rule-based system.This kind of awareness became fundamental in a scenario [89] in which the children interacted with robots and robotic agents in an ever-increasing number and variety of areas and aspects in their lives.

Conclusions
In the present contribution, we underlined that the interest aroused by recent developments in artificial intelligence has brought this debate to the field of education.As always happens with emerging technologies, there is a constant push to make them the object and tool of curricula.We dedicated a deep reflection on the HRI and cHRIs because they are significant from a pedagogical point of view in facing the use of coding, computational thinking, and educational robotics at school.Starting from the results of the same SWOT, we deepened the discussion on the elements that can support the construction of coding, computational thinking, and educational robotics paths that are aimed at an adequate educational situation for eliciting the competencies necessary to operate in the code society.The SWOT analysis also revealed the value of active methodologies and laboratory approaches.This led us to an unblackboxing approach to technology as a broad concept, as well as to educational robotics and artificial intelligence.This approach, as we underlined, is already being considered in media education [3], in the maker movement, in the FabLab tradition [93], and in the philosophical approach to coding and computational thinking [7].
According to this perspective, we tried to demonstrate that understanding the dynamics of HRI and cHRIs can support the creation of educational paths if the relationship with the technological element is deepened as a dimension of the teaching and learning process, and if it is aimed at understanding the technology itself and the world of which it is a part.
If it is necessary to talk about AI literacy, the authors are convinced that coding and robotics, if handled with the awareness that cHRIs can give, can contribute to creating a broad framework of technological literacy and digital citizenship education in which AI can reasonably be inserted.