I guess each classroom will be a computer lab and the AI will do all the teaching. But the classroom will have to be manned by a security guard. Our youths are quite feral. Just go to a classroom at any public school today.
You've just described prison.