A few months ago I exported my gradebook as a CSV — three classes, a term of quiz scores, attendance flags, homework submission rates — opened a terminal, and typed: "Look at these results and tell me which students have declined since March, and whether attendance correlates with it." Thirty seconds later I had an answer, a chart, and a list of six students to speak to on Monday. The tool that did this wasn't an education product. It was a coding agent, the kind software engineers have used daily for a couple of years. It has quietly become the most useful technology in my teaching life.
Teachers haven't been slow to adopt AI, exactly. They've adopted a particular kind. Packaged tools like Magic School AI give you a friendly web page with buttons labelled "Lesson Plan" and "Rubric Generator", and they do a decent job at the tasks they expect. They also make a lot of money from the gap between what teachers need and what teachers know how to ask for. That's understandable: if you can't use the raw tools, the packaged one is worth paying for. But the packaged model has real limits. You work through a web form. You upload files one at a time. You hit rate limits just as you get going. And the tool knows nothing about you except what you paste into the box.
Terminal coding agents — Claude Code, Kimi, OpenAI's Codex, and their cousins — work differently, and the differences matter more for teachers than the industry has noticed. They were built for programmers. But a teacher's admin life is, at bottom, a programming-shaped problem: files, data, text, repetition.
What the terminal actually gives you
The biggest difference is context. A coding agent sits in a folder on your computer and can read every file in it. No uploading to a website. My working folder holds the curriculum PDFs, my scheme of work, anonymised assessment data, and my notes from the term. When I ask for next week's lessons, the agent uses all of it — the real syllabus wording, the real spread of results, the real reading list — not a generic idea of a Year 11 English lesson. Focused context gives focused output. The same model that writes mediocre lessons in a blank chat box writes usable ones when it can see the specification and last week's exit tickets.
The second difference is data. Teachers sit on piles of CSVs — results, attendance, behaviour logs — and mostly eyeball them, because pivot tables are fiddly and nobody taught us statistics. A coding agent takes plain English as the query. "Which classes have the widest spread in the last assessment?" "Flag students whose homework rate dropped below half." "Is my top set coasting?" Ten-second questions — and they change what you know about your class before parents' evening.
The third is drafting at scale. Report season used to cost me a weekend. Now I point the agent at the anonymised grades and my comment bank, and it drafts a detailed comment per student, with evidence. Then I edit hard. The agent gets the structure and the data right; I add the knowledge of the child. It's faster, but more importantly it's better — every comment cites real data instead of my fading memory of October.
Finally, there are no rate limits in the packaged sense, because these tools are built for people running heavy tasks all day. Building a syllabus from a stack of curriculum PDFs — extracting objectives, sequencing them, flagging assessment points — is a half-hour job, not an August.
A necessary caution
Two warnings, plainly. First, safeguarding and data protection come before convenience. Student data must be anonymised before it goes anywhere near an external model, and your school's policies apply. I work with initials and ID numbers, never names. Second, these tools don't replace your judgement — they remove the drudgery that crowds it out. A drafted report comment is a draft. You stay the editor, and you should.
Software engineers and lawyers rebuilt their workflows around these tools a year or two ago. Teaching will get there, because the shape of the work is the same: too much information, too little time, and a human at the end who needs your attention rather than your typing. The terminal looks unfriendly for about an hour. After that, it's simply where the leverage is.