As more schools adopt AI, and students spend more time on screens, state lawmakers have questions about the technology’s impact on students’ safety, critical thinking and learning skills.