The involvement of artificial intelligence (AI) systems in the field of education/pedagogy is an irreversible process. The segment of general secondary education is promising for the introduction of AI services. Schools must provide students with basic skills and foster AI competence to prepare them for a high-tech future. UNESCO has developed a global regulatory framework for artificial intelligence. Some countries are already demonstrating successful initiatives to integrate new technology in schools. At the same time, the implementation of AI tools in the educational environment is a legitimate concern, because it is associated with high risks. In Ukraine, the study of various aspects of integrating AI technologies into secondary education is at an early stage. The purpose of the article is to study the advantages of implementing artificial intelligence tools in the segment of general secondary education, as well as some risks that teachers should be prepared for. The study is based on an in-depth analysis of numerous domestic and, particularly, foreign publications on the topic, and draws on the existing experience of testing various AI tools by educators and the author. Special attention is paid to the potential use of AI by students to improve learning outcomes through increased motivation, self-education and mentoring, personalized and interactive learning etc. Some challenges associated with the introduction of new technology, which is gaining momentum among students, are discussed, as well as suggestions on how to avoid the negative consequences of its incorrect use. In conclusion, it is noted that AI technology can help students develop creativity, innovation, creative abilities, providing a variety of tools and resources, as well as new opportunities for project and educational research activities. With the spread of new technology in general secondary education institutions, there is a need to change approaches to learning, including revising strategies for monitoring and correcting students' knowledge, skills, and abilities. It is timely to develop a methodology for teaching with AI in the context of various educational components of the school curriculum.